File tree 2 files changed +0
-13
lines changed
ports/esp32/boards/ARDUINO_NANO_ESP32
2 files changed +0
-13
lines changed Original file line number Diff line number Diff line change 35
35
#include "double_tap.h"
36
36
#include "usb.h"
37
37
38
- #include "tinyusb.h"
39
- #include "tusb_cdc_acm.h"
40
-
41
38
#define LED_RED GPIO_NUM_46
42
39
#define LED_GREEN GPIO_NUM_0
43
40
#define LED_BLUE GPIO_NUM_45
@@ -87,11 +84,6 @@ void NANO_ESP32_enter_bootloader(void) {
87
84
esp_restart ();
88
85
}
89
86
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
-
95
87
void NANO_ESP32_board_startup (void ) {
96
88
boardctrl_startup ();
97
89
Original file line number Diff line number Diff line change 19
19
#define MICROPY_HW_SPI2_SCK (18)
20
20
21
21
#define MICROPY_HW_ENABLE_USBDEV (1)
22
- #define MICROPY_EXCLUDE_SHARED_TINYUSB_USBD_CDC (1)
23
- #define MICROPY_HW_USB_EXTERNAL_TINYUSB (1)
24
22
#define MICROPY_HW_USB_CDC_1200BPS_TOUCH (1)
25
23
#define MICROPY_SCHEDULER_STATIC_NODES (1)
26
24
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
-
30
25
#define MICROPY_BOARD_STARTUP NANO_ESP32_board_startup
31
26
void NANO_ESP32_board_startup (void );
32
27
You can’t perform that action at this time.
0 commit comments