Skip to content

Commit a769d2b

Browse files
committed
add comment in peripheral pin of DISCO_L476VG so that
the user is aware of conflicts
1 parent cd15589 commit a769d2b

File tree

1 file changed

+2
-2
lines changed
  • targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L476xG/TARGET_DISCO_L476VG

1 file changed

+2
-2
lines changed

targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L476xG/TARGET_DISCO_L476VG/PeripheralPins.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -275,8 +275,8 @@ const PinMap PinMap_SPI_SSEL[] = {
275275
};
276276

277277
const PinMap PinMap_CAN_RD[] = {
278-
{PB_8 , CAN_1, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_NOPULL, GPIO_AF9_CAN1)},
279-
{PA_11, CAN_1, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_NOPULL, GPIO_AF9_CAN1)},
278+
{PB_8 , CAN_1, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_NOPULL, GPIO_AF9_CAN1)}, // warning: pin used by gyroscope
279+
{PA_11, CAN_1, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_NOPULL, GPIO_AF9_CAN1)}, // warning: pin used by USB
280280
{NC, NC, 0}
281281
};
282282

0 commit comments

Comments
 (0)