Skip to content

Commit 91debcf

Browse files
Merge pull request #7 from QuasiKili/patch-1
Fixed macOS casing because make.py expects macOS instead of macos
2 parents 02289c0 + 3d10feb commit 91debcf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/build_lvgl_micropython.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ subtarget="$3"
1111

1212
if [ -z "$target" -o -z "$buildtype" ]; then
1313
echo "Usage: $0 target buildtype [optional subtarget]"
14-
echo "Usage: $0 <esp32 or unix or macos> <dev or prod> [<waveshare-esp32-s3-touch-lcd-2 or fri3d-2024>]"
14+
echo "Usage: $0 <esp32 or unix or macOS> <dev or prod> [<waveshare-esp32-s3-touch-lcd-2 or fri3d-2024>]"
1515
echo "Example: $0 unix dev"
1616
echo "Example: $0 esp32 dev fri3d-2024"
1717
echo "Example: $0 esp32 prod fri3d-2024"
@@ -58,7 +58,7 @@ if [ "$target" == "esp32" ]; then
5858
pushd "$twoup"/lvgl_micropython
5959
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="$twoup"/micropython-camera-API/src/micropython.cmake USER_C_MODULE="$twoup"/secp256k1-embedded-ecdh/micropython.cmake USER_C_MODULE="$oneup"/c_mpos/micropython.cmake CONFIG_FREERTOS_USE_TRACE_FACILITY=y CONFIG_FREERTOS_VTASKLIST_INCLUDE_COREID=y CONFIG_FREERTOS_GENERATE_RUN_TIME_STATS=y "$frozenmanifest"
6060
popd
61-
elif [ "$target" == "unix" -o "$target" == "macos" ]; then
61+
elif [ "$target" == "unix" -o "$target" == "macOS" ]; then
6262
if [ "$buildtype" == "prod" ]; then
6363
manifest="manifest_unix.py"
6464
fi

0 commit comments

Comments
 (0)