@@ -129,18 +129,17 @@ if [ "$target" == "esp32" -o "$target" == "esp32s3" -o "$target" == "unphone" -o
129129 flash_size=" 4"
130130 otasupport=" " # too small for 2 OTA partitions + internal storage
131131 else # esp32s3 or unphone
132- if [ " $target " == " unphone" ]; then
133- partition_size=" 3900000"
134- flash_size=" 8"
135- otasupport=" " # too small for 2 OTA partitions + internal storage
136- fi
137- BOARD=ESP32_GENERIC_S3
138- BOARD_VARIANT=SPIRAM_OCT
139- # These options disable hardware AES, SHA and MPI because they give warnings in QEMU: [AES] Error reading from GDMA buffer
140- # There's a 25% https download speed penalty for this, but that's usually not the bottleneck.
141- extra_configs=" CONFIG_MBEDTLS_HARDWARE_AES=n CONFIG_MBEDTLS_HARDWARE_SHA=n CONFIG_MBEDTLS_HARDWARE_MPI=n"
142- # --py-freertos: add MicroPython FreeRTOS module to expose internals
143- extra_configs=" $extra_configs --py-freertos"
132+ if [ " $target " == " unphone" ]; then
133+ flash_size=" 8"
134+ otasupport=" " # too small for 2 OTA partitions + internal storage
135+ fi
136+ BOARD=ESP32_GENERIC_S3
137+ BOARD_VARIANT=SPIRAM_OCT
138+ # These options disable hardware AES, SHA and MPI because they give warnings in QEMU: [AES] Error reading from GDMA buffer
139+ # There's a 25% https download speed penalty for this, but that's usually not the bottleneck.
140+ extra_configs=" CONFIG_MBEDTLS_HARDWARE_AES=n CONFIG_MBEDTLS_HARDWARE_SHA=n CONFIG_MBEDTLS_HARDWARE_MPI=n"
141+ # --py-freertos: add MicroPython FreeRTOS module to expose internals
142+ extra_configs=" $extra_configs --py-freertos"
144143 fi
145144
146145 if [ " $BOARD_VARIANT " == " SPIRAM" -o " $BOARD_VARIANT " == " SPIRAM_OCT" ]; then
0 commit comments