summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAngus Gratton <angus@redyak.com.au>2024-09-04 11:06:21 +1000
committerAngus Gratton <angus@redyak.com.au>2024-09-04 11:06:21 +1000
commita6c35aeee873953bd9016cf63feb1a6772bdd6af (patch)
tree9efc3d060dd14c1ef4401f16e04e5ef016efa177
parent5e692d0460a2af8225534bf7c70f56007641e96e (diff)
esp32: Fix ARDUINO_NANO_ESP32 build configuration.
Regression introduced by 5e692d04 now at MICROPY_HW_USB_CDC is set. The ARDUINO_NANO_ESP32 specifically builds shared/tinyusb/mp_usb_cdc.c for the 1200bps reset behaviour. However MicroPython esp32 doesn't yet use the rest of the shared/tinyusb functionality. Signed-off-by: Angus Gratton <angus@redyak.com.au>
-rw-r--r--ports/esp32/boards/ARDUINO_NANO_ESP32/mpconfigboard.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ports/esp32/boards/ARDUINO_NANO_ESP32/mpconfigboard.h b/ports/esp32/boards/ARDUINO_NANO_ESP32/mpconfigboard.h
index 873838352..8c2aa88e9 100644
--- a/ports/esp32/boards/ARDUINO_NANO_ESP32/mpconfigboard.h
+++ b/ports/esp32/boards/ARDUINO_NANO_ESP32/mpconfigboard.h
@@ -19,6 +19,7 @@
#define MICROPY_HW_SPI2_SCK (18)
#define MICROPY_HW_ENABLE_USBDEV (1)
+#define MICROPY_EXCLUDE_SHARED_TINYUSB_USBD_CDC (1)
#define MICROPY_HW_USB_EXTERNAL_TINYUSB (1)
#define MICROPY_HW_USB_CDC_1200BPS_TOUCH (1)
#define MICROPY_SCHEDULER_STATIC_NODES (1)