aboutsummaryrefslogtreecommitdiffstats
path: root/src/stm32/fdcan.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/stm32/fdcan.c')
-rw-r--r--src/stm32/fdcan.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/stm32/fdcan.c b/src/stm32/fdcan.c
index 8a2d1ab2..25a334af 100644
--- a/src/stm32/fdcan.c
+++ b/src/stm32/fdcan.c
@@ -55,6 +55,10 @@
DECL_CONSTANT_STR("RESERVE_PINS_CAN", "PB12,PB13");
#define GPIO_Rx GPIO('B', 12)
#define GPIO_Tx GPIO('B', 13)
+#elif CONFIG_STM32_CANBUS_PH13_PH14
+ DECL_CONSTANT_STR("RESERVE_PINS_CAN", "PH13,PH14");
+ #define GPIO_Rx GPIO('H', 14)
+ #define GPIO_Tx GPIO('H', 13)
#endif
#if !(CONFIG_STM32_CANBUS_PB0_PB1 || CONFIG_STM32_CANBUS_PC2_PC3 \