You've already forked MicroPythonOS
mirror of
https://github.com/m5stack/MicroPythonOS.git
synced 2026-05-20 11:51:27 -07:00
update README.md
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user