mirror of https://github.com/ARMmbed/mbed-os.git
STM32L1 USB pins addition
parent
a54fdf7585
commit
2c03f3a61e
|
@ -74,6 +74,10 @@ typedef enum {
|
|||
PWM_11 = (int)TIM11_BASE
|
||||
} PWMName;
|
||||
|
||||
typedef enum {
|
||||
USB_FS = (int)USB_BASE,
|
||||
} USBName;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
|
|
@ -228,3 +228,11 @@ MBED_WEAK const PinMap PinMap_SPI_SSEL[] = {
|
|||
{PB_12, SPI_2, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_NOPULL, GPIO_AF5_SPI2)},
|
||||
{NC, NC, 0}
|
||||
};
|
||||
|
||||
//*** USBDEVICE ***
|
||||
|
||||
MBED_WEAK const PinMap PinMap_USB_FS[] = {
|
||||
{PA_11, USB_FS, STM_PIN_DATA(STM_MODE_INPUT, GPIO_NOPULL, GPIO_AF_NONE)}, // USB_DM
|
||||
{PA_12, USB_FS, STM_PIN_DATA(STM_MODE_INPUT, GPIO_NOPULL, GPIO_AF_NONE)}, // USB_DP
|
||||
{NC, NC, 0}
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue