2020-04-16 16:10:57 +08:00
|
|
|
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
|
2022-01-07 13:49:06 +08:00
|
|
|
bool "Enable UART 0"
|
2020-04-16 16:10:57 +08:00
|
|
|
default y
|
2021-09-22 17:57:45 +08:00
|
|
|
|
|
|
|
config RT_USING_UART1
|
2022-01-07 13:49:06 +08:00
|
|
|
bool "Enable UART 1"
|
2021-09-22 17:57:45 +08:00
|
|
|
default n
|
|
|
|
|
|
|
|
config RT_USING_UART3
|
2022-01-07 13:49:06 +08:00
|
|
|
bool "Enable UART 3"
|
2021-09-22 17:57:45 +08:00
|
|
|
default n
|
|
|
|
|
|
|
|
config RT_USING_UART4
|
2022-01-07 13:49:06 +08:00
|
|
|
bool "Enable UART 4"
|
2021-09-22 17:57:45 +08:00
|
|
|
default n
|
|
|
|
|
|
|
|
config RT_USING_UART5
|
2022-01-07 13:49:06 +08:00
|
|
|
bool "Enable UART 5"
|
2021-09-22 17:57:45 +08:00
|
|
|
default n
|
2020-04-16 16:10:57 +08:00
|
|
|
endif
|
2021-09-22 17:57:45 +08:00
|
|
|
|
2022-01-07 13:49:06 +08:00
|
|
|
config BSP_USING_GIC
|
|
|
|
bool
|
2020-04-16 16:10:57 +08:00
|
|
|
default y
|
|
|
|
|
|
|
|
config BSP_USING_PIN
|
|
|
|
bool "Using PIN"
|
|
|
|
select RT_USING_PIN
|
|
|
|
default y
|
|
|
|
|
|
|
|
config BSP_USING_CORETIMER
|
|
|
|
bool "Using core timer"
|
|
|
|
select RT_USING_CORETIMER
|
|
|
|
default y
|
|
|
|
|
|
|
|
menuconfig BSP_USING_SYSTIMER
|
|
|
|
bool "Enable SYSTIMER"
|
|
|
|
select BSP_USING_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
|
|
|
|
|
2021-09-22 17:57:45 +08:00
|
|
|
config BSP_USING_ETH
|
|
|
|
bool "Enable ETH"
|
|
|
|
default n
|
|
|
|
|
2020-04-16 16:10:57 +08:00
|
|
|
config BSP_USING_WDT
|
|
|
|
bool "Enable WDT"
|
|
|
|
select RT_USING_WDT
|
|
|
|
default n
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
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"
|
|
|
|
menuconfig BSP_USING_HDMI
|
|
|
|
bool "Enable HDMI"
|
|
|
|
default n
|
|
|
|
|
|
|
|
if BSP_USING_HDMI
|
|
|
|
config BSP_USING_HDMI_DISPLAY
|
|
|
|
bool "HDMI DISPLAY"
|
|
|
|
default n
|
|
|
|
endif
|
|
|
|
endmenu
|
|
|
|
endmenu
|