@@ -75,6 +75,8 @@ if [ "$target" == "esp32" ]; then
7575else
7676manifest=" manifest.py"
7777fi
78+ manifest=$( readlink -f" $codebasedir " /manifests/" $manifest " )
79+ frozenmanifest=" FROZEN_MANIFEST=$manifest "
7880else
7981echo " Note that you can also prevent the builtin filesystem from being mounted by umounting it and creating a builtin/ folder."
8082fi
@@ -91,19 +93,18 @@ if [ "$target" == "esp32" ]; then
9193# CONFIG_FREERTOS_USE_TRACE_FACILITY=y
9294# CONFIG_FREERTOS_VTASKLIST_INCLUDE_COREID=y
9395# CONFIG_FREERTOS_GENERATE_RUN_TIME_STATS=y
94- [! -z " $manifest " ]&& frozenmanifest=" FROZEN_MANIFEST=" $( readlink -f" $manifest " )
9596pushd " $codebasedir " /lvgl_micropython/
9697python3 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 "
9798popd
9899elif [" $target " == " unix" -o " $target " == " macOS" ]; then
99100if [" $buildtype " == " prod" ]; then
100- manifest=" manifest_unix.py"
101+ manifest=$( readlink -f" $codebasedir " /manifests/manifest_unix.py)
102+ frozenmanifest=" FROZEN_MANIFEST=$manifest "
101103fi
102104# build for desktop
103105# python3 make.py "$target" DISPLAY=sdl_display INDEV=sdl_pointer INDEV=sdl_keyboard "$manifest"
104106# LV_CFLAGS are passed to USER_C_MODULES
105107# STRIP= makes it so that debug symbols are kept
106- [! -z " $manifest " ]&& frozenmanifest=" FROZEN_MANIFEST=" $( readlink -f" $manifest " )
107108pushd " $codebasedir " /lvgl_micropython/
108109# USER_C_MODULE doesn't seem to work properly so there are symlinks in lvgl_micropython/extmod/
109110python3 make.py" $target " LV_CFLAGS=" -g -O0 -ggdb -ljpeg" STRIP= DISPLAY=sdl_display INDEV=sdl_pointer INDEV=sdl_keyboard" $manifest "