From 326dfd2a8579828c4159d965c6a41883a2a90029 Mon Sep 17 00:00:00 2001 From: Jim Mussared Date: Mon, 21 Aug 2023 13:25:15 +1000 Subject: [PATCH] esp32/boards/ESP32_GENERIC_C3: Enable UART REPL. This should have been added in 4815af75bc0bc21e1e66b958fd4ee4e90c24ba10 when the variants were combined. The original non-USB variant got this implicitly, and therefore was not in mpconfigvariant.h Signed-off-by: Jim Mussared --- ports/esp32/boards/ESP32_GENERIC_C3/mpconfigboard.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ports/esp32/boards/ESP32_GENERIC_C3/mpconfigboard.h b/ports/esp32/boards/ESP32_GENERIC_C3/mpconfigboard.h index d403e70e46..42e77ecb1a 100644 --- a/ports/esp32/boards/ESP32_GENERIC_C3/mpconfigboard.h +++ b/ports/esp32/boards/ESP32_GENERIC_C3/mpconfigboard.h @@ -6,3 +6,6 @@ #define MICROPY_HW_ENABLE_SDCARD (0) #define MICROPY_PY_MACHINE_DAC (0) #define MICROPY_PY_MACHINE_I2S (0) + +// Enable UART REPL for modules that have an external USB-UART and don't use native USB. +#define MICROPY_HW_ENABLE_UART_REPL (1)