8000 esp32: Fix ARDUINO_NANO_ESP32 build configuration. · cuatrobits/micropython@a6c35ae · GitHub
[go: up one dir, main page]

Skip to content

Commit a6c35ae

Browse files
committed
esp32: Fix ARDUINO_NANO_ESP32 build configuration.
Regression introduced by 5e692d0 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>
1 parent 5e692d0 commit a6c35ae

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ports/esp32/boards/ARDUINO_NANO_ESP32/mpconfigboard.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
#define MICROPY_HW_SPI2_SCK (18)
2020

2121
#define MICROPY_HW_ENABLE_USBDEV (1)
22+
#define MICROPY_EXCLUDE_SHARED_TINYUSB_USBD_CDC (1)
2223
#define MICROPY_HW_USB_EXTERNAL_TINYUSB (1)
2324
#define MICROPY_HW_USB_CDC_1200BPS_TOUCH (1)
2425
#define MICROPY_SCHEDULER_STATIC_NODES (1)

0 commit comments

Comments
 (0)
0