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