File tree Expand file tree Collapse file tree 2 files changed +6
-10
lines changed
bsp/gd32/arm/gd32450z-eval Expand file tree Collapse file tree 2 files changed +6
-10
lines changed Original file line number Diff line number Diff line change 11peripheral.can0 :
22 kconfig :
33 - CONFIG_BSP_USING_CAN=y
4- - CONFIG_BSP_USING_CAN0=y
5- - CONFIG_BSP_USING_CAN0=y
6- - CONFIG_BSP_USING_CAN0=y
7- - CONFIG_BSP_CAN0_TX_PD1=y
8- - CONFIG_BSP_CAN0_RX_PD0=y
4+ - CONFIG_BSP_USING_CAN0=y
Original file line number Diff line number Diff line change @@ -387,27 +387,27 @@ menu "On-chip Peripheral Drivers"
387387 if BSP_USING_CAN0
388388 choice
389389 prompt "Select CAN0 TX source"
390- default BSP_CAN0_TX_D1
390+ default BSP_CAN0_TX_PD1
391391
392392 config BSP_CAN0_TX_PA12
393393 bool "GPIOA pin 12"
394394 config BSP_CAN0_TX_PB9
395395 bool "GPIOB pin 9"
396- config BSP_CAN0_TX_D1
396+ config BSP_CAN0_TX_PD1
397397 bool "GPIOD pin 1"
398398 config BSP_CAN0_TX_PH13
399399 bool "GPIOH pin 13"
400400 endchoice
401401
402402 choice
403403 prompt "Select CAN0 RX source"
404- default BSP_CAN0_RX_D0
404+ default BSP_CAN0_RX_PD0
405405
406406 config BSP_CAN0_RX_PA11
407407 bool "GPIOA pin 11"
408408 config BSP_CAN0_RX_PB8
409409 bool "GPIOB pin 8"
410- config BSP_CAN0_RX_D0
410+ config BSP_CAN0_RX_PD0
411411 bool "GPIOD pin 0"
412412 config BSP_CAN0_RX_PI9
413413 bool "GPIOI pin 9"
@@ -431,7 +431,7 @@ menu "On-chip Peripheral Drivers"
431431
432432 choice
433433 prompt "Select CAN1 RX source"
434- default BSP_CAN1_RX_PA11
434+ default BSP_CAN1_RX_PB5
435435
436436 config BSP_CAN1_RX_PB5
437437 bool "GPIOB pin 5"
You can’t perform that action at this time.
0 commit comments