mirror of https://github.com/ARMmbed/mbed-os.git
STM32WB USB pins addition
parent
03dd8d3e22
commit
0e1a04b64a
|
@ -54,6 +54,10 @@ typedef enum {
|
|||
QSPI_1 = (int)QUADSPI_R_BASE
|
||||
} QSPIName;
|
||||
|
||||
typedef enum {
|
||||
USB_FS = (int)USB_BASE,
|
||||
} USBName;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
|
|
@ -251,3 +251,12 @@ MBED_WEAK const PinMap PinMap_QSPI_SSEL[] = {
|
|||
{PB_11, QSPI_1, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF10_QUADSPI)}, // QUADSPI_BK1_NCS
|
||||
{NC, NC, 0}
|
||||
};
|
||||
|
||||
//*** USBDEVICE ***
|
||||
|
||||
MBED_WEAK const PinMap PinMap_USB_FS[] = {
|
||||
{PA_11, USB_FS, STM_PIN_DATA(STM_MODE_INPUT, GPIO_NOPULL, GPIO_AF10_USB)}, // USB_DM // Connected to USB_DM
|
||||
{PA_12, USB_FS, STM_PIN_DATA(STM_MODE_INPUT, GPIO_NOPULL, GPIO_AF10_USB)}, // USB_DP // Connected to USB_DP
|
||||
// {PA_13, USB_FS, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF10_USB)}, // USB_NOE // Connected to JTMS
|
||||
{NC, NC, 0}
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue