Skip to content

Commit e42c0f4

Browse files
Pandafeng-HHUMuChenger
authored andcommitted
[bsp/stm32h7]: Add STM32H7 fdcan driver. RT-Thread#10767
1 parent f13877b commit e42c0f4

File tree

3 files changed

+753
-1
lines changed

3 files changed

+753
-1
lines changed

bsp/stm32/libraries/HAL_Drivers/drivers/SConscript

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,10 @@ if GetDepend(['RT_USING_DAC']):
5050
src += ['drv_dac.c']
5151

5252
if GetDepend(['RT_USING_CAN']):
53-
src += ['drv_can.c']
53+
if GetDepend(['SOC_SERIES_STM32H7']):
54+
src += ['drv_fdcan.c']
55+
else:
56+
src += ['drv_can.c']
5457

5558
if GetDepend(['RT_USING_PM']):
5659
src += ['drv_pm.c']

0 commit comments

Comments
 (0)