Skip to content

Commit d1c936d

Browse files
committed
stm32: Expose FDCAN2 on board NUCLEO_G474RE.
This work was funded through GitHub Sponsors. Signed-off-by: Angus Gratton <angus@redyak.com.au>
1 parent a906cfb commit d1c936d

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

ports/stm32/boards/NUCLEO_G474RE/mpconfigboard.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,3 +86,9 @@
8686
#define MICROPY_HW_CAN1_NAME "FDCAN1"
8787
#define MICROPY_HW_CAN1_TX (pin_A12) // A12, B9, D1
8888
#define MICROPY_HW_CAN1_RX (pin_A11) // A11, B8, D0
89+
90+
#define MICROPY_HW_CAN2_NAME "FDCAN2"
91+
#define MICROPY_HW_CAN2_TX (pin_B13) // B13, B6
92+
#define MICROPY_HW_CAN2_RX (pin_B12) // B12, B5
93+
94+
// Note: This MCU has an FDCAN3 peripheral, but not currently supported in MicroPython

0 commit comments

Comments
 (0)