@@ -28,8 +28,10 @@ git fetch --unshallow origin 2>/dev/null # will give error if already done
2828git fetch origin ' refs/tags/*:refs/tags/*'
2929popd
3030
31- echo " Check need to add esp32-camera..."
3231idfile=" $codebasedir " /lvgl_micropython/lib/micropython/ports/esp32/main/idf_component.yml
32+ echo " Patching $idfile " ...
33+
34+ echo " Check need to add esp32-camera..."
3335if ! grep esp32-camera " $idfile " ; then
3436 echo " Adding esp32-camera to $idfile "
3537 echo " espressif/esp32-camera:
4042 echo " No need to add esp32-camera to $idfile "
4143fi
4244
45+ echo " Check need to add esp_rlottie"
46+ if ! grep esp32-camera " $idfile " ; then
47+ echo " Adding esp_rlottie to $idfile "
48+ echo " esp_rlottie:
49+ git: https://github.com/MicroPythonOS/esp_rlottie" >> " $idfile "
50+ echo " Resulting file:"
51+ cat " $idfile "
52+ else
53+ echo " No need to add esp_rlottie to $idfile "
54+ fi
55+
4356echo " Check need to add lvgl_micropython manifest to micropython-camera-API's manifest..."
4457camani=" $codebasedir " /micropython-camera-API/src/manifest.py
4558rellvglmani=lvgl_micropython/build/manifest.py
@@ -96,6 +109,7 @@ if [ "$target" == "esp32" ]; then
96109 # CONFIG_FREERTOS_VTASKLIST_INCLUDE_COREID=y
97110 # CONFIG_FREERTOS_GENERATE_RUN_TIME_STATS=y
98111 pushd " $codebasedir " /lvgl_micropython/
112+ rm -rf lib/micropython/ports/esp32/build-ESP32_GENERIC_S3-SPIRAM_OCT/
99113 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 "
100114 popd
101115elif [ " $target " == " unix" -o " $target " == " macOS" ]; then
0 commit comments