完善接口配置

Signed-off-by: a1012112796 <1012112796@qq.com>
This commit is contained in:
2022-12-13 09:26:50 +08:00
parent 53c63690da
commit 65384e5c57
11 changed files with 1599 additions and 208 deletions

View File

@@ -57,6 +57,19 @@ menu "On-chip Peripheral Drivers"
depends on BSP_USING_UART3 && RT_SERIAL_USING_DMA
default n
endif
menuconfig BSP_USING_CAN
bool "Enable CAN"
default n
select RT_USING_CAN
if BSP_USING_CAN
config BSP_USING_CAN1
bool "using CAN1"
default n
config BSP_USING_CAN2
bool "using CAN2"
default n
endif
menuconfig BSP_USING_SPI
bool "Enable SPI BUS"