Skip to content

Commit 3c5e7e9

Browse files
Add workaround to enable lvgl_micropython's manifest
1 parent 4142fa5 commit 3c5e7e9

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

scripts/build_mpos.sh

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,16 @@ else
4242
echo "No need to add esp32-camera to $idfile"
4343
fi
4444

45+
echo "Check need to add lvgl_micropython manifest to micropython-camera-API's manifest..."
46+
camani="$codebasedir"/micropython-camera-API/src/manifest.py
47+
lvglmani="$codebasedir"/lvgl_micropython/build/manifest.py
48+
if ! grep "lvgl_micropython/build/manifest.py" "$idfile"; then
49+
echo "Adding include(\"$lvglmani\") to $camani"
50+
echo "include(\"$lvglmani\") # workaround to prevent micropython-camera-API from overriding the lvgl_micropython manifest..." >> "$camani"
51+
else
52+
echo "No need to add include(\"$lvglmani\") to $camani"
53+
fi
54+
4555
echo "Check need to add asyncio..."
4656
manifile="$codebasedir"/lvgl_micropython/lib/micropython/ports/unix/variants/manifest.py
4757
if ! grep asyncio "$manifile"; then

0 commit comments

Comments
 (0)