Skip to content

Commit 03a9a5a

Browse files
update README.md
1 parent da83bba commit 03a9a5a

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

README.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -133,8 +133,6 @@ To do so, make sure you have the necessary dependencies:
133133
- see https://github.com/MicroPythonOS/lvgl-micropython/
134134
- sudo apt install libv4l-dev # for webcam.c
135135

136-
# Running on desktop
137-
138136
```
139137
cd ~/projects/MicroPythonOS/MicroPythonOS/
140138
@@ -148,8 +146,15 @@ or
148146
./scripts/build_lvgl_micropython.sh macOS dev
149147
```
150148
149+
# Running on desktop
150+
151+
Either build it yourself, or download the latest release, for example: MicroPythonOS_amd64_Linux_0.0.6
152+
151153
Then to run it, do:
152154
153155
```
154-
./scripts/run_desktop.sh
156+
cd internal_filesystem/
157+
/path/to/MicroPythonOS_amd64_Linux_0.0.6 -X heapsize=32M -v -i -c "$(cat boot_unix.py main.py)"
155158
```
159+
160+
Also take a look at scripts/run_on_desktop.sh for tips on how to run fullscreen or to immediately start an app, for quick development.

scripts/build_lvgl_micropython.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ if [ "$target" == "esp32" ]; then
4343
python3 make.py --ota --partition-size=4194304 --flash-size=16 esp32 BOARD=ESP32_GENERIC_S3 BOARD_VARIANT=SPIRAM_OCT DISPLAY=st7789 INDEV=cst816s USER_C_MODULE=/home/user/projects/MicroPythonOS/micropython-camera-API/src/micropython.cmake USER_C_MODULE=/home/user/projects/MicroPythonOS/secp256k1-embedded-ecdh/micropython.cmake USER_C_MODULE=/home/user/projects/MicroPythonOS/MicroPythonOS/c_mpos/micropython.cmake CONFIG_FREERTOS_USE_TRACE_FACILITY=y CONFIG_FREERTOS_VTASKLIST_INCLUDE_COREID=y CONFIG_FREERTOS_GENERATE_RUN_TIME_STATS=y "$manifest"
4444
elif [ "$target" == "unix" -o "$target" == "macos" ]; then
4545
if [ "$buildtype" == "prod" ]; then
46-
manifest="FROZEN_MANIFEST=/home/user/projects/MicroPythonOS/manifest_unix.py"
46+
manifest="FROZEN_MANIFEST=/home/user/projects/MicroPythonOS/MicroPythonOS/manifest_unix.py"
4747
fi
4848
# build for desktop
4949
#python3 make.py "$target" DISPLAY=sdl_display INDEV=sdl_pointer INDEV=sdl_keyboard "$manifest"

0 commit comments

Comments
 (0)