update README.md

This commit is contained in:
Thomas Farstrike
2025-06-17 19:05:42 +02:00
parent da83bbadf1
commit 03a9a5a833
2 changed files with 9 additions and 4 deletions
+8 -3
View File
@@ -133,8 +133,6 @@ To do so, make sure you have the necessary dependencies:
- see https://github.com/MicroPythonOS/lvgl-micropython/
- sudo apt install libv4l-dev # for webcam.c
# Running on desktop
```
cd ~/projects/MicroPythonOS/MicroPythonOS/
@@ -148,8 +146,15 @@ or
./scripts/build_lvgl_micropython.sh macOS dev
```
# Running on desktop
Either build it yourself, or download the latest release, for example: MicroPythonOS_amd64_Linux_0.0.6
Then to run it, do:
```
./scripts/run_desktop.sh
cd internal_filesystem/
/path/to/MicroPythonOS_amd64_Linux_0.0.6 -X heapsize=32M -v -i -c "$(cat boot_unix.py main.py)"
```
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.
+1 -1
View File
@@ -43,7 +43,7 @@ if [ "$target" == "esp32" ]; then
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"
elif [ "$target" == "unix" -o "$target" == "macos" ]; then
if [ "$buildtype" == "prod" ]; then
manifest="FROZEN_MANIFEST=/home/user/projects/MicroPythonOS/manifest_unix.py"
manifest="FROZEN_MANIFEST=/home/user/projects/MicroPythonOS/MicroPythonOS/manifest_unix.py"
fi
# build for desktop
#python3 make.py "$target" DISPLAY=sdl_display INDEV=sdl_pointer INDEV=sdl_keyboard "$manifest"