Update README.md
This commit is contained in:
parent
2ddd58ce44
commit
ed36cea5cd
18
README.md
18
README.md
@ -42,23 +42,7 @@ For more details please refer to [Micropython ESP32 README](https://github.com/m
|
||||
|
||||
### For JavaScript port
|
||||
|
||||
You need Emscripten installed and working. There are lots of guides about that on the web, but here's the [official one](https://emscripten.org/docs/getting_started/index.html).
|
||||
|
||||
Once you have Emscripten working, you also need to install the `clang` package:
|
||||
1. `cd <path to emsdk>`
|
||||
2. `./emsdk install clang-e<sdk version>-64bit # for example: clang-e1.30.0-64bit`
|
||||
3. `./emsdk activate clang-e<sdk version>-64bit`
|
||||
|
||||
Now you can build the JavaScript port.
|
||||
|
||||
1. `cd <path to lv_micropython>`
|
||||
2. `. ./emsdk_env.sh`
|
||||
3. `git checkout lvgl_javascript`
|
||||
4. `git submodule update --init --recursive` (*can be very important!*)
|
||||
5. `cd ports/javascript`
|
||||
6. `make`
|
||||
7. Run an HTTP server that serves files from the current directory.
|
||||
8. Browse to `/lvgl_editor.html` on the HTTP Server.
|
||||
Refer to the README of the `lvgl_javascript` branch: https://github.com/lvgl/lv_micropython/tree/lvgl_javascript#for-javascript-port
|
||||
|
||||
## Super Simple Example
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user