mirror of https://github.com/ARMmbed/mbed-os.git
STM32F1 USB pins addition
parent
66dea7b5da
commit
6e3dc7b173
|
|
@ -68,6 +68,10 @@ typedef enum {
|
|||
CAN_1 = (int)CAN1_BASE
|
||||
} CANName;
|
||||
|
||||
typedef enum {
|
||||
USB_FS = (int)USB_BASE,
|
||||
} USBName;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -207,3 +207,11 @@ MBED_WEAK const PinMap PinMap_CAN_TD[] = {
|
|||
{PB_9, CAN_1, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_NOPULL, 10)}, // Remap CAN_TX to PB_9
|
||||
{NC, NC, 0}
|
||||
};
|
||||
|
||||
//*** USBDEVICE ***
|
||||
|
||||
MBED_WEAK const PinMap PinMap_USB_FS[] = {
|
||||
{PA_11, USB_FS, STM_PIN_DATA(STM_MODE_INPUT, GPIO_NOPULL, 0)}, // USB_DM
|
||||
{PA_12, USB_FS, STM_PIN_DATA(STM_MODE_INPUT, GPIO_NOPULL, 0)}, // USB_DP
|
||||
{NC, NC, 0}
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in New Issue