File tree Expand file tree Collapse file tree 2 files changed +14
-1
lines changed
Expand file tree Collapse file tree 2 files changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -260,6 +260,16 @@ menu "On-chip Peripheral"
260260 bool "Enable DCMI"
261261 default n
262262
263+ menuconfig BSP_USING_FDCAN
264+ bool "Enable FDCAN"
265+ default n
266+ select RT_USING_CAN
267+ if BSP_USING_FDCAN
268+ config BSP_USING_FDCAN1
269+ bool "USING FDCAN1"
270+ default n
271+ endif
272+
263273 config BSP_USING_USBD
264274 bool "Enable USB Device"
265275 select RT_USING_USB_DEVICE
Original file line number Diff line number Diff line change @@ -45,7 +45,10 @@ if GetDepend(['BSP_USING_USBD']):
4545
4646if GetDepend (['BSP_USING_USBH' ]):
4747 src += ['drv_usbh.c' ]
48-
48+
49+ if GetDepend (['RT_USING_CAN' ]):
50+ src += ['drv_fdcan.c' ]
51+
4952path = [cwd ]
5053path += [cwd + '/include' ]
5154path += [cwd + '/include/config' ]
You can’t perform that action at this time.
0 commit comments