Skip to content

Commit

Permalink
Merge pull request #9889 from dhalbert/espressif-CIRCUITPY_USB_DEVICE…
Browse files Browse the repository at this point in the history
…_INSTANCE

CIRCUITPY_USB_DEVICE_INSTANCE should default to 0 on most Espressif boards
  • Loading branch information
tannewt authored Dec 16, 2024
2 parents 00bc184 + 920ee2b commit 79fd8b7
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 79fd8b7

Please sign in to comment.