Skip to content

Commit 411e5dc

Browse files
committed
disable the repl on hardware uart for esp32s3 targets
1 parent 35803c0 commit 411e5dc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scripts/build_mpos.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ if [ "$target" == "esp32" -o "$target" == "esp32s3" -o "$target" == "unphone" -o
178178
# CONFIG_ADC_MIC_TASK_CORE=1 because with the default (-1) it hangs the CPU
179179
# CONFIG_SPIRAM_XIP_FROM_PSRAM: load entire firmware into RAM to reduce SD vs PSRAM contention (recommended at https://github.com/MicroPythonOS/MicroPythonOS/issues/17)
180180
set -x
181-
python3 make.py $otasupport --optimize-size --partition-size=$partition_size --flash-size=$flash_size esp32 BOARD=$BOARD BOARD_VARIANT=$BOARD_VARIANT \
181+
EXTRA_CFLAGS="-DMICROPY_HW_ENABLE_UART_REPL=0" python3 make.py $otasupport --optimize-size --partition-size=$partition_size --flash-size=$flash_size esp32 BOARD=$BOARD BOARD_VARIANT=$BOARD_VARIANT \
182182
USER_C_MODULE="$codebasedir"/secp256k1-embedded-ecdh/micropython.cmake \
183183
USER_C_MODULE="$codebasedir"/c_mpos/micropython.cmake \
184184
CONFIG_FREERTOS_USE_TRACE_FACILITY=y \

0 commit comments

Comments
 (0)