diff options
| author | Ha Thach <[email protected]> | 2023-07-24 22:08:53 +0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-07-24 22:08:53 +0700 |
| commit | 9554283b03cb4af00119ccd5a38e539749b32d53 (patch) | |
| tree | 93c878d68b05feae51aa672f5021005297997e30 /hw/bsp | |
| parent | 0b38941362b6ff2fe3fb7aba1507e82798cd9c16 (diff) | |
| parent | fda92fd34a8fe0d08e5c51fab4ea38f6849051e8 (diff) | |
Merge pull request #2175 from hathach/hcd-abort-xfer
Add HCD abort xfer API
Diffstat (limited to 'hw/bsp')
| -rw-r--r-- | hw/bsp/rp2040/board.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/hw/bsp/rp2040/board.h b/hw/bsp/rp2040/board.h index 934e1c7ae..063c9580e 100644 --- a/hw/bsp/rp2040/board.h +++ b/hw/bsp/rp2040/board.h @@ -54,19 +54,19 @@ // default to pin on Adafruit Feather rp2040 USB Host or Tester if defined //--------------------------------------------------------------------+ -// #define USE_ADAFRUIT_RP2040_TESTER -#ifdef USE_ADAFRUIT_RP2040_TESTER -#define PICO_DEFAULT_PIO_USB_DP_PIN 20 -#define PICO_DEFAULT_PIO_USB_VBUSEN_PIN 22 +// #define USE_ADAFRUIT_FEATHER_RP2040_USBHOST +#ifdef USE_ADAFRUIT_FEATHER_RP2040_USBHOST +#define PICO_DEFAULT_PIO_USB_DP_PIN 16 +#define PICO_DEFAULT_PIO_USB_VBUSEN_PIN 18 #endif #ifndef PICO_DEFAULT_PIO_USB_DP_PIN -#define PICO_DEFAULT_PIO_USB_DP_PIN 16 +#define PICO_DEFAULT_PIO_USB_DP_PIN 20 #endif // VBUS enable pin and its active state #ifndef PICO_DEFAULT_PIO_USB_VBUSEN_PIN -#define PICO_DEFAULT_PIO_USB_VBUSEN_PIN 18 +#define PICO_DEFAULT_PIO_USB_VBUSEN_PIN 22 #endif // VBUS enable state |
