File tree Expand file tree Collapse file tree 2 files changed +0
-13
lines changed
ports/esp32/boards/ARDUINO_NANO_ESP32 Expand file tree Collapse file tree 2 files changed +0
-13
lines changed Original file line number Diff line number Diff line change 3535#include "double_tap.h"
3636#include "usb.h"
3737
38- #include "tinyusb.h"
39- #include "tusb_cdc_acm.h"
40-
4138#define LED_RED GPIO_NUM_46
4239#define LED_GREEN GPIO_NUM_0
4340#define LED_BLUE GPIO_NUM_45
@@ -87,11 +84,6 @@ void NANO_ESP32_enter_bootloader(void) {
8784 esp_restart ();
8885}
8986
90- void NANO_ESP32_usb_callback_line_state_changed (int itf , void * event_in ) {
91- cdcacm_event_t * event = event_in ;
92- mp_usbd_line_state_cb (itf , event -> line_state_changed_data .dtr , event -> line_state_changed_data .rts );
93- }
94-
9587void NANO_ESP32_board_startup (void ) {
9688 boardctrl_startup ();
9789
Original file line number Diff line number Diff line change 1919#define MICROPY_HW_SPI2_SCK (18)
2020
2121#define MICROPY_HW_ENABLE_USBDEV (1)
22- #define MICROPY_EXCLUDE_SHARED_TINYUSB_USBD_CDC (1)
23- #define MICROPY_HW_USB_EXTERNAL_TINYUSB (1)
2422#define MICROPY_HW_USB_CDC_1200BPS_TOUCH (1)
2523#define MICROPY_SCHEDULER_STATIC_NODES (1)
2624
27- #define MICROPY_HW_USB_CUSTOM_LINE_STATE_CB NANO_ESP32_usb_callback_line_state_changed
28- void NANO_ESP32_usb_callback_line_state_changed (int itf , void * event );
29-
3025#define MICROPY_BOARD_STARTUP NANO_ESP32_board_startup
3126void NANO_ESP32_board_startup (void );
3227
You can’t perform that action at this time.
0 commit comments