Skip to content

Commit 639165b

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

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

scripts/build_mpos.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,8 @@ if [ "$target" == "esp32" -o "$target" == "esp32s3" -o "$target" == "unphone" -o
150150
extra_configs="CONFIG_MBEDTLS_HARDWARE_AES=n CONFIG_MBEDTLS_HARDWARE_SHA=n CONFIG_MBEDTLS_HARDWARE_MPI=n"
151151
# --py-freertos: add MicroPython FreeRTOS module to expose internals
152152
extra_configs="$extra_configs --py-freertos"
153+
# --enable-uart-repl={y/n}: This allows you to turn on and off the UART based REPL. You will wany to set this of you use USB-CDC or JTAG for the REPL output
154+
extra_configs="$extra_configs --enable-uart-repl=n"
153155
fi
154156

155157
if [ "$BOARD_VARIANT" == "SPIRAM" -o "$BOARD_VARIANT" == "SPIRAM_OCT" ]; then

0 commit comments

Comments
 (0)