8000 Merge e9c45ce374b1612107187f3aaaf53426ae3dd5a8 into lvgl_javascript · lvgl/lv_micropython@6821617 · GitHub
[go: up one dir, main page]

Skip to content

Commit 6821617

Browse files
Merge e9c45ce into lvgl_javascript
2 parents df1de6d + e9c45ce commit 6821617

File tree

2 files changed

+14
-14
lines changed

2 files changed

+14
-14
lines changed

.gitmodules

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
url = https://github.com/NordicSemiconductor/nrfx.git
2121
[submodule "lib/lv_bindings"]
2222
path = lib/lv_bindings
23-
url = https://github.com/littlevgl/lv_bindings.git
23+
url = https://github.com/lvgl/lv_binding_micropython.git
2424
[submodule "lib/mbedtls"]
2525
path = lib/mbedtls
2626
url = https://github.com/ARMmbed/mbedtls.git

README.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
![Build lv_micropython unix port](https://github.com/lvgl/lv_micropython/workflows/Build%20lv_micropython%20unix%20port/badge.svg)
44
![Build lv_micropython stm32 port](https://github.com/lvgl/lv_micropython/workflows/Build%20lv_micropython%20stm32%20port/badge.svg)
55

6-
**For information abound Micropython lvgl bindings please refrer to [lv_bindings/README.md](https://github.com/littlevgl/lv_bindings/blob/master/README.md)**
6+
**For information abound Micropython lvgl bindings please refrer to [lv_bindings/README.md](https://github.com/lvgl/lv_bindings/blob/master/README.md)**
77

8-
See also [Micropython + LittlevGL](https://blog.littlevgl.com/2019-02-20/micropython-bindings) blog post.
8+
See also [Micropython + LittlevGL](https://blog.lvgl.io/2019-02-20/micropython-bindings) blog post. (LittlevGL is LVGL's previous name.)
99
For questions and discussions - please use the forum: https://forum.lvgl.io/c/micropython
1010

1111
Original micropython README: https://github.com/micropython/micropython/blob/master/README.md
@@ -14,7 +14,7 @@ Original micropython README: https://github.com/micropython/micropython/blob/mas
1414

1515
1. `sudo apt-get install build-essential libreadline-dev libffi-dev git pkg-config libsdl2-2.0-0 libsdl2-dev python3.8`
1616
Python 3 is required, but you can install some other version of python3 instead of 3.8, if needed.
17-
2. `git clone --recurse-submodules https://github.com/littlevgl/lv_micropython.git`
17+
2. `git clone --recurse-submodules https://github.com/lvgl/lv_micropython.git`
1818
3. `cd lv_micropython`
1919
4. `make -C mpy-cross`
2020
5. `make -C ports/unix/`
@@ -24,10 +24,10 @@ Python 3 is required, but you can install some other version of python3 instead
2424

2525
Please set `ESPIDF` parameter for the esp-idf install dir.
2626
It needs to match Micropython expected esp-idf, otherwise a warning will be displayed (and build will probably fail)
27-
For more details refer to [Setting up the toolchain and ESP-IDF](https://github.com/littlevgl/lv_micropython/blob/master/ports/esp32/README.md#setting-up-the-toolchain-and-esp-idf)
27+
For more details refer to [Setting up the toolchain and ESP-IDF](https://github.com/lvgl/lv_micropython/blob/master/ports/esp32/README.md#setting-up-the-toolchain-and-esp-idf)
2828

2929
When using IL9341 driver, the color depth and swap mode need to be set to match ILI9341. This can be done from the command line.
30-
Here is the command to build ESP32 + LittlevGL which is compatible with ILI9341 driver:
30+
Here is the command to build ESP32 + LVGL which is compatible with ILI9341 driver:
3131

3232
```
3333
make -C mpy-cross
@@ -37,7 +37,7 @@ make -C ports/esp32 LV_CFLAGS="-DLV_COLOR_DEPTH=16 -DLV_COLOR_16_SWAP=1" BOARD=G
3737
Explanation about the paramters:
3838
- `LV_CFLAGS` are used to override color depth and swap mode, for ILI9341 compatibility.
3939
- `LV_COLOR_DEPTH=16` is needed if you plan to use the ILI9341 driver.
40-
- `LV_COLOR_16_SWAP=1` is needed if you plan to use the [Pure Micropython Display Driver](https://blog.littlevgl.com/2019-08-05/micropython-pure-display-driver).
40+
- `LV_COLOR_16_SWAP=1` is needed if you plan to use the [Pure Micropython Display Driver](https://blog.lvgl.io/2019-08-05/micropython-pure-display-driver).
4141
- `BOARD` - I use WROVER board with SPIRAM. You can choose other boards from `ports/esp32/boards/` directory.
4242
- `deploy` - make command will create ESP32 port of Micropython, and will try to deploy it through USB-UART bridge.
4343

@@ -67,15 +67,15 @@ Now you can build the JavaScript port.
6767

6868
## Super Simple Example
6969

70-
First, LittlevGL needs to be imported and initialized
70+
First, LVGL needs to be imported and initialized
7171

7272
```python
7373
import lvgl as lv
7474
lv.init()
7575
```
7676

7777
Then display driver and input driver needs to be registered.
78-
Refer to [Porting the library](https://docs.littlevgl.com/#Porting) for more information.
78+
Refer to [Porting the library](https://docs.lvgl.io/8.0/porting/index.html) for more information.
7979
Here is an example of registering SDL drivers on Micropython unix port:
8080

8181
```python
@@ -149,14 +149,14 @@ lv.scr_load(scr)
149149

150150
## More information
151151

152-
More info about LittlevGL:
153-
- Website https://littlevgl.com
154-
- GitHub: https://github.com/littlevgl/lvgl
152+
More info about LVGL:
153+
- Website https://lvgl.io
154+
- GitHub: https://github.com/lvgl/lvgl
155155

156156
More info about lvgl Micropython bindings:
157-
- https://github.com/littlevgl/lv_bindings/blob/master/README.md
157+
- https://github.com/lvgl/lv_bindings/blob/master/README.md
158158

159-
Discussions about the Microptyhon binding: https://github.com/littlevgl/lvgl/issues/557
159+
Discussions about the Microptyhon binding: https://github.com/lvgl/lvgl/issues/557
160160

161161
More info about the unix port: https://github.com/micropython/micropython/wiki/Getting-Started#debian-ubuntu-mint-and-variants
162162

0 commit comments

Comments
 (0)
0