Skip to content

Commit 5a8c12d

Browse files
committed
GD32: add CAN driver for GD32F4xx
1 parent 97850b5 commit 5a8c12d

File tree

3 files changed

+1059
-0
lines changed

3 files changed

+1059
-0
lines changed

bsp/gd32/arm/libraries/gd32_drivers/SConscript

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,10 @@ if GetDepend('RT_USING_SDIO'):
5656
if GetDepend('RT_USING_PWM'):
5757
src += ['drv_pwm.c']
5858

59+
# add can drivers.
60+
if GetDepend('RT_USING_CAN'):
61+
src += ['drv_can.c']
62+
5963
# add sdram drivers.
6064
if GetDepend('BSP_USING_SDRAM'):
6165
src += ['drv_sdram.c']

0 commit comments

Comments
 (0)