From 3c5e7e99320e0161ebd6c8a554b9b05bf23038b3 Mon Sep 17 00:00:00 2001 From: Thomas Farstrike Date: Sun, 26 Oct 2025 08:02:50 +0100 Subject: [PATCH] Add workaround to enable lvgl_micropython's manifest --- scripts/build_mpos.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/scripts/build_mpos.sh b/scripts/build_mpos.sh index 488fcefa..dfd2e31f 100755 --- a/scripts/build_mpos.sh +++ b/scripts/build_mpos.sh @@ -42,6 +42,16 @@ else echo "No need to add esp32-camera 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 +lvglmani="$codebasedir"/lvgl_micropython/build/manifest.py +if ! grep "lvgl_micropython/build/manifest.py" "$idfile"; then + echo "Adding include(\"$lvglmani\") to $camani" + echo "include(\"$lvglmani\") # workaround to prevent micropython-camera-API from overriding the lvgl_micropython manifest..." >> "$camani" +else + echo "No need to add include(\"$lvglmani\") to $camani" +fi + echo "Check need to add asyncio..." manifile="$codebasedir"/lvgl_micropython/lib/micropython/ports/unix/variants/manifest.py if ! grep asyncio "$manifile"; then