Skip to content

Commit

Permalink
CIRCUITPY_USB_DEVICE_INSTANCE should default to 0 on most Espressif b…
Browse files Browse the repository at this point in the history
…oards
  • Loading branch information
dhalbert committed Dec 15, 2024
1 parent 4c0fb4c commit 920ee2b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,6 @@

#define DEFAULT_UART_BUS_RX (&pin_GPIO38)
#define DEFAULT_UART_BUS_TX (&pin_GPIO37)

// Use the second USB device (numbered 0 and 1)
#define CIRCUITPY_USB_DEVICE_INSTANCE 1
2 changes: 0 additions & 2 deletions ports/espressif/mpconfigport.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@

#define CIRCUITPY_DIGITALIO_HAVE_INPUT_ONLY (1)

#define CIRCUITPY_USB_DEVICE_INSTANCE 1

#include "py/circuitpy_mpconfig.h"

#define MICROPY_NLR_SETJMP (1)
Expand Down

0 comments on commit 920ee2b

Please sign in to comment.