Skip to content

Commit 46a641f

Browse files
committed
更新 menuconfig
1 parent 4600433 commit 46a641f

2 files changed

Lines changed: 4 additions & 17 deletions

File tree

bsp/novosns/ns800/ns800rt7p65-nssinepad/.config

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ CONFIG_RT_SERIAL_RB_BUFSZ=64
237237
# CONFIG_RT_USING_SERIAL_BYPASS is not set
238238
CONFIG_RT_USING_CAN=y
239239
# CONFIG_RT_CAN_USING_HDR is not set
240-
# CONFIG_RT_CAN_USING_CANFD is not set
240+
CONFIG_RT_CAN_USING_CANFD=y
241241
CONFIG_RT_CANMSG_BOX_SZ=16
242242
CONFIG_RT_CANSND_BOX_NUM=1
243243
CONFIG_RT_CANSND_MSG_TIMEOUT=100
@@ -1444,14 +1444,6 @@ CONFIG_BSP_USING_UART1=y
14441444
# CONFIG_BSP_USING_UART3 is not set
14451445
# CONFIG_BSP_USING_UART4 is not set
14461446
CONFIG_BSP_USING_ECAP=y
1447-
CONFIG_BSP_USING_ECAP1=y
1448-
CONFIG_BSP_ECAP1_NAME="ecap1"
1449-
CONFIG_BSP_ECAP1_GPIO_NUM=16
1450-
CONFIG_BSP_ECAP1_GPIO_MUX=0
1451-
CONFIG_BSP_ECAP1_INPUT_XBAR=7
1452-
CONFIG_BSP_ECAP1_INPUT_SOURCE=16
14531447
CONFIG_BSP_USING_CAN=y
1454-
CONFIG_BSP_USING_CAN1=y
1455-
# CONFIG_BSP_USING_CANFD1 is not set
1456-
# CONFIG_BSP_USING_CANFD2 is not set
1448+
CONFIG_BSP_USING_CANFD1=y
14571449
# end of On-chip Peripheral Drivers

bsp/novosns/ns800/ns800rt7p65-nssinepad/rtconfig.h

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,7 @@
144144
#define RT_USING_SERIAL_V1
145145
#define RT_SERIAL_RB_BUFSZ 64
146146
#define RT_USING_CAN
147+
#define RT_CAN_USING_CANFD
147148
#define RT_CANMSG_BOX_SZ 16
148149
#define RT_CANSND_BOX_NUM 1
149150
#define RT_CANSND_MSG_TIMEOUT 100
@@ -415,14 +416,8 @@
415416
#define BSP_NS800_UART_TX_TIMEOUT 6000
416417
#define BSP_USING_UART1
417418
#define BSP_USING_ECAP
418-
#define BSP_USING_ECAP1
419-
#define BSP_ECAP1_NAME "ecap1"
420-
#define BSP_ECAP1_GPIO_NUM 16
421-
#define BSP_ECAP1_GPIO_MUX 0
422-
#define BSP_ECAP1_INPUT_XBAR 7
423-
#define BSP_ECAP1_INPUT_SOURCE 16
424419
#define BSP_USING_CAN
425-
#define BSP_USING_CAN1
420+
#define BSP_USING_CANFD1
426421
/* end of On-chip Peripheral Drivers */
427422

428423
#endif

0 commit comments

Comments
 (0)