2020-05-25 17:30:05 +08:00
|
|
|
|
|
|
|
config BSP_SUPPORT_FPU
|
|
|
|
bool "Using Float"
|
|
|
|
default n
|
|
|
|
|
|
|
|
menu "Hardware Drivers Config"
|
|
|
|
menu "BCM Peripheral Drivers"
|
|
|
|
menuconfig BSP_USING_UART
|
|
|
|
bool "Using UART"
|
|
|
|
select RT_USING_SERIAL
|
|
|
|
default y
|
|
|
|
|
|
|
|
if BSP_USING_UART
|
|
|
|
config RT_USING_UART0
|
|
|
|
bool "Enabel UART 0"
|
|
|
|
default y
|
2020-05-26 13:34:02 +08:00
|
|
|
|
|
|
|
config RT_USING_UART1
|
|
|
|
bool "Enabel UART 1"
|
|
|
|
default n
|
|
|
|
|
|
|
|
config RT_USING_UART3
|
|
|
|
bool "Enabel UART 3"
|
|
|
|
default n
|
|
|
|
|
|
|
|
config RT_USING_UART4
|
|
|
|
bool "Enabel UART 4"
|
|
|
|
default n
|
|
|
|
|
|
|
|
config RT_USING_UART5
|
|
|
|
bool "Enabel UART 5"
|
|
|
|
default n
|
2020-05-25 17:30:05 +08:00
|
|
|
endif
|
2023-01-09 10:14:23 +08:00
|
|
|
|
2020-05-25 17:30:05 +08:00
|
|
|
menuconfig BSP_USING_GIC
|
|
|
|
bool "Enable GIC"
|
|
|
|
select RT_USING_GIC
|
|
|
|
default y
|
|
|
|
if BSP_USING_GIC
|
|
|
|
config BSP_USING_GIC400
|
|
|
|
bool "Enable GIC400"
|
|
|
|
default y
|
|
|
|
config BSP_USING_GIC500
|
|
|
|
bool "Enable GIC500"
|
|
|
|
default n
|
|
|
|
endif
|
|
|
|
|
|
|
|
config BSP_USING_PIN
|
|
|
|
bool "Using PIN"
|
|
|
|
select RT_USING_PIN
|
|
|
|
default y
|
|
|
|
|
2020-11-28 18:27:24 +08:00
|
|
|
menuconfig BSP_USING_SPI
|
2020-07-04 22:32:02 +08:00
|
|
|
bool "Enable SPI"
|
|
|
|
select RT_USING_SPI
|
|
|
|
default n
|
2023-01-09 10:14:23 +08:00
|
|
|
|
|
|
|
if BSP_USING_SPI
|
2020-07-04 22:32:02 +08:00
|
|
|
config BSP_USING_SPI0_BUS
|
|
|
|
bool "Enable SPI0 BUS"
|
|
|
|
default n
|
|
|
|
config BSP_USING_SPI0_DEVICE0
|
|
|
|
bool "Enable SPI0 DEVICE0"
|
|
|
|
select BSP_USING_SPI0_BUS
|
|
|
|
default n
|
|
|
|
config BSP_USING_SPI0_DEVICE1
|
|
|
|
bool "Enable SPI0 DEVICE1"
|
|
|
|
select BSP_USING_SPI0_BUS
|
|
|
|
default n
|
|
|
|
endif
|
|
|
|
|
2020-11-28 18:27:24 +08:00
|
|
|
menuconfig BSP_USING_I2C
|
|
|
|
bool "Enable I2C"
|
|
|
|
select RT_USING_I2C
|
|
|
|
default n
|
|
|
|
|
2023-01-09 10:14:23 +08:00
|
|
|
if BSP_USING_I2C
|
2020-11-28 18:27:24 +08:00
|
|
|
config BSP_USING_I2C0
|
|
|
|
bool "Enable I2C0 BUS"
|
|
|
|
default n
|
|
|
|
config BSP_USING_I2C1
|
|
|
|
bool "Enable I2C1 BUS"
|
|
|
|
default n
|
|
|
|
config BSP_USING_I2C3
|
|
|
|
bool "Enable I2C3 BUS"
|
|
|
|
default n
|
|
|
|
config BSP_USING_I2C4
|
|
|
|
bool "Enable I2C4 BUS"
|
|
|
|
default n
|
|
|
|
config BSP_USING_I2C5
|
|
|
|
bool "Enable I2C5 BUS"
|
|
|
|
default n
|
|
|
|
config BSP_USING_I2C6
|
|
|
|
bool "Enable I2C6 BUS"
|
|
|
|
default n
|
|
|
|
endif
|
|
|
|
|
2020-05-25 17:30:05 +08:00
|
|
|
config BSP_USING_CORETIMER
|
|
|
|
bool "Using core timer"
|
|
|
|
select RT_USING_CORETIMER
|
|
|
|
default y
|
|
|
|
|
|
|
|
menuconfig BSP_USING_SYSTIMER
|
|
|
|
bool "Enable SYSTIMER"
|
|
|
|
default n
|
|
|
|
|
|
|
|
if BSP_USING_SYSTIMER
|
|
|
|
config RT_USING_SYSTIMER1
|
|
|
|
bool "Enable sys timer1"
|
|
|
|
default n
|
|
|
|
config RT_USING_SYSTIMER3
|
|
|
|
bool "Enable sys timer3"
|
|
|
|
default n
|
|
|
|
endif
|
|
|
|
|
|
|
|
config BSP_USING_WDT
|
|
|
|
bool "Enable WDT"
|
|
|
|
select RT_USING_WDT
|
|
|
|
default n
|
|
|
|
|
2020-11-27 14:30:25 +08:00
|
|
|
config BSP_USING_ETH
|
|
|
|
bool "Enable ETH"
|
|
|
|
default n
|
|
|
|
|
2020-11-29 17:31:51 +08:00
|
|
|
config BSP_USING_BULETOOTH
|
|
|
|
bool "Enable BULETOOTH"
|
|
|
|
default n
|
|
|
|
|
2020-05-25 17:30:05 +08:00
|
|
|
menuconfig BSP_USING_RTC
|
|
|
|
bool "Enable RTC"
|
|
|
|
select RT_USING_RTC
|
|
|
|
default n
|
|
|
|
|
|
|
|
if BSP_USING_RTC
|
|
|
|
config BSP_USING_ALARM
|
|
|
|
bool "Enable Alarm"
|
|
|
|
select RT_USING_ALARM
|
|
|
|
default n
|
|
|
|
endif
|
2023-01-09 10:14:23 +08:00
|
|
|
|
2020-05-25 17:30:05 +08:00
|
|
|
menuconfig BSP_USING_SDIO
|
|
|
|
bool "Enable SDIO"
|
|
|
|
select RT_USING_SDIO
|
|
|
|
default n
|
|
|
|
|
|
|
|
if BSP_USING_SDIO
|
|
|
|
config BSP_USING_SDIO0
|
|
|
|
bool "Enable SDIO0"
|
|
|
|
select RT_USING_SDIO
|
|
|
|
default n
|
|
|
|
endif
|
|
|
|
endmenu
|
|
|
|
|
|
|
|
menu "Board Peripheral Drivers"
|
2020-11-27 14:30:25 +08:00
|
|
|
menuconfig BSP_USING_LCD
|
|
|
|
bool "Enable LCD"
|
2020-05-25 17:30:05 +08:00
|
|
|
default n
|
|
|
|
|
2020-11-27 14:30:25 +08:00
|
|
|
if BSP_USING_LCD
|
2020-05-25 17:30:05 +08:00
|
|
|
config BSP_USING_HDMI_DISPLAY
|
|
|
|
bool "HDMI DISPLAY"
|
|
|
|
default n
|
2020-11-27 14:30:25 +08:00
|
|
|
config BSP_USING_DSI_DISPLAY
|
|
|
|
bool "DSI DISPLAY"
|
|
|
|
default n
|
|
|
|
config BSP_USING_ILI9486
|
|
|
|
bool "ILI9486 DISPLAY"
|
|
|
|
default n
|
|
|
|
endif
|
|
|
|
|
|
|
|
menuconfig BSP_USING_TOUCH
|
|
|
|
bool "Enable Touch"
|
|
|
|
default n
|
|
|
|
|
|
|
|
if BSP_USING_TOUCH
|
|
|
|
config BSP_USING_DSI_TOUCH_DEV
|
|
|
|
bool "DSI TOUCH"
|
|
|
|
default n
|
|
|
|
config BSP_USING_XPT_TOUCH_DEV
|
|
|
|
bool "XPT TOUCH"
|
|
|
|
default n
|
2020-05-25 17:30:05 +08:00
|
|
|
endif
|
2020-11-27 14:30:25 +08:00
|
|
|
|
|
|
|
config USING_LCD_CONSOLE
|
|
|
|
bool "LCD CONSOLE"
|
|
|
|
default n
|
2020-05-25 17:30:05 +08:00
|
|
|
endmenu
|
|
|
|
endmenu
|