From 61673dbceb22eb8b7eee101c1f71e33c7aff9192 Mon Sep 17 00:00:00 2001 From: Thomas Farstrike Date: Wed, 7 Jan 2026 14:40:59 +0100 Subject: [PATCH] Add rlottie --- scripts/build_mpos.sh | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/scripts/build_mpos.sh b/scripts/build_mpos.sh index 5f0903e9..27d8047d 100755 --- a/scripts/build_mpos.sh +++ b/scripts/build_mpos.sh @@ -28,8 +28,10 @@ git fetch --unshallow origin 2>/dev/null # will give error if already done git fetch origin 'refs/tags/*:refs/tags/*' popd -echo "Check need to add esp32-camera..." idfile="$codebasedir"/lvgl_micropython/lib/micropython/ports/esp32/main/idf_component.yml +echo "Patching $idfile"... + +echo "Check need to add esp32-camera..." if ! grep esp32-camera "$idfile"; then echo "Adding esp32-camera to $idfile" echo " espressif/esp32-camera: @@ -40,6 +42,17 @@ else echo "No need to add esp32-camera to $idfile" fi +echo "Check need to add esp_rlottie" +if ! grep esp32-camera "$idfile"; then + echo "Adding esp_rlottie to $idfile" + echo " esp_rlottie: + git: https://github.com/MicroPythonOS/esp_rlottie" >> "$idfile" + echo "Resulting file:" + cat "$idfile" +else + echo "No need to add esp_rlottie to $idfile" +fi + echo "Check need to add lvgl_micropython manifest to micropython-camera-API's manifest..." camani="$codebasedir"/micropython-camera-API/src/manifest.py rellvglmani=lvgl_micropython/build/manifest.py @@ -96,6 +109,7 @@ if [ "$target" == "esp32" ]; then # CONFIG_FREERTOS_VTASKLIST_INCLUDE_COREID=y # CONFIG_FREERTOS_GENERATE_RUN_TIME_STATS=y pushd "$codebasedir"/lvgl_micropython/ + rm -rf lib/micropython/ports/esp32/build-ESP32_GENERIC_S3-SPIRAM_OCT/ 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="$codebasedir"/micropython-camera-API/src/micropython.cmake USER_C_MODULE="$codebasedir"/secp256k1-embedded-ecdh/micropython.cmake USER_C_MODULE="$codebasedir"/c_mpos/micropython.cmake CONFIG_FREERTOS_USE_TRACE_FACILITY=y CONFIG_FREERTOS_VTASKLIST_INCLUDE_COREID=y CONFIG_FREERTOS_GENERATE_RUN_TIME_STATS=y "$frozenmanifest" popd elif [ "$target" == "unix" -o "$target" == "macOS" ]; then