Skip to content

Commit 89ad54b

Browse files
build_mpos.sh: disable workaround for I2C on 1.26.1
1 parent 3d98383 commit 89ad54b

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

scripts/build_mpos.sh

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,9 @@ echo "Symlinking secp256k1-embedded-ecdh for unix and macOS builds..."
7070
ln -sf ../../secp256k1-embedded-ecdh "$codebasedir"/lvgl_micropython/ext_mod/secp256k1-embedded-ecdh
7171
echo "Symlinking c_mpos for unix and macOS builds..."
7272
ln -sf ../../c_mpos "$codebasedir"/lvgl_micropython/ext_mod/c_mpos
73-
echo "Applying lvgl_micropython i2c patch..."
74-
patch -p0 --forward < "$codebasedir"/patches/i2c_ng.patch
73+
# Only for MicroPython 1.26.1 workaround:
74+
#echo "Applying lvgl_micropython i2c patch..."
75+
#patch -p0 --forward < "$codebasedir"/patches/i2c_ng.patch
7576

7677
echo "Refreshing freezefs..."
7778
"$codebasedir"/scripts/freezefs_mount_builtin.sh
@@ -95,7 +96,7 @@ if [ "$target" == "esp32" ]; then
9596
# CONFIG_FREERTOS_VTASKLIST_INCLUDE_COREID=y
9697
# CONFIG_FREERTOS_GENERATE_RUN_TIME_STATS=y
9798
pushd "$codebasedir"/lvgl_micropython/
98-
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"
99+
python3 make.py --ota --partition-size=4194304 --flash-size=16 esp32 clean 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"
99100
popd
100101
elif [ "$target" == "unix" -o "$target" == "macOS" ]; then
101102
manifest=$(readlink -f "$codebasedir"/manifests/manifest.py)

0 commit comments

Comments
 (0)