diff options
author | Damien George <damien.p.george@gmail.com> | 2019-02-07 16:26:46 +1100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2019-02-07 16:26:46 +1100 |
commit | be1b1835c339bf67b177f64aab7479c07c2d3418 (patch) | |
tree | 3bf37993775d69ba3c43a502854c93b1a898761a | |
parent | b26046aca2f2abb357f454974f69bc4fa8e4afab (diff) |
stm32/boards/STM32F769DISC: Support the use of USB HS with external PHY.
-rw-r--r-- | ports/stm32/boards/STM32F769DISC/mpconfigboard.h | 7 | ||||
-rw-r--r-- | ports/stm32/boards/STM32F769DISC/pins.csv | 12 |
2 files changed, 14 insertions, 5 deletions
diff --git a/ports/stm32/boards/STM32F769DISC/mpconfigboard.h b/ports/stm32/boards/STM32F769DISC/mpconfigboard.h index d31a22b0c..4f41a81f9 100644 --- a/ports/stm32/boards/STM32F769DISC/mpconfigboard.h +++ b/ports/stm32/boards/STM32F769DISC/mpconfigboard.h @@ -73,11 +73,8 @@ #define MICROPY_HW_SDCARD_DETECT_PULL (GPIO_PULLUP) #define MICROPY_HW_SDCARD_DETECT_PRESENT (GPIO_PIN_RESET) -// USB config (CN13 - USB OTG FS) -#define MICROPY_HW_USB_HS (1) -#define MICROPY_HW_USB_HS_IN_FS (1) -/*#define MICROPY_HW_USB_VBUS_DETECT_PIN (pin_J12)*/ -#define MICROPY_HW_USB_OTG_ID_PIN (pin_J12) +// USB config (CN15 - USB OTG HS with external PHY) +#define MICROPY_HW_USB_HS (1) #if 0 // Optional SDRAM configuration; requires SYSCLK <= 200MHz diff --git a/ports/stm32/boards/STM32F769DISC/pins.csv b/ports/stm32/boards/STM32F769DISC/pins.csv index 6b6308c9a..f587d44c1 100644 --- a/ports/stm32/boards/STM32F769DISC/pins.csv +++ b/ports/stm32/boards/STM32F769DISC/pins.csv @@ -51,6 +51,18 @@ USB_VBUS,PJ12 USB_ID,PA8 USB_DM,PA11 USB_DP,PA12 +USB_HS_CLK,PA5 +USB_HS_STP,PC0 +USB_HS_NXT,PH4 +USB_HS_DIR,PI11 +USB_HS_D0,PA3 +USB_HS_D1,PB0 +USB_HS_D2,PB1 +USB_HS_D3,PB5 +USB_HS_D4,PB10 +USB_HS_D5,PB11 +USB_HS_D6,PB12 +USB_HS_D7,PB13 UART1_TX,PA9 UART1_RX,PA10 UART5_TX,PC12 |