2021-09-07 20:08:26 +08:00
|
|
|
mainmenu "RT-Thread Configuration"
|
|
|
|
|
2024-06-11 12:16:39 +08:00
|
|
|
BSP_DIR := .
|
2021-09-07 20:08:26 +08:00
|
|
|
|
2024-06-11 12:16:39 +08:00
|
|
|
RTT_DIR := ../../..
|
2023-01-09 10:14:23 +08:00
|
|
|
|
2021-09-07 20:08:26 +08:00
|
|
|
# you can change the RTT_ROOT default: "rt-thread"
|
|
|
|
# example : default "F:/git_repositories/rt-thread"
|
|
|
|
|
2024-06-11 12:16:39 +08:00
|
|
|
PKGS_DIR := packages
|
2021-09-07 20:08:26 +08:00
|
|
|
|
2024-06-11 12:16:39 +08:00
|
|
|
source "$(RTT_DIR)/Kconfig"
|
|
|
|
osource "$PKGS_DIR/Kconfig"
|
2021-09-07 20:08:26 +08:00
|
|
|
|
2021-09-09 00:52:22 +08:00
|
|
|
config SOC_SERIES_V85XX
|
2021-09-07 20:08:26 +08:00
|
|
|
bool
|
|
|
|
default y
|
|
|
|
|
2021-09-09 00:52:22 +08:00
|
|
|
config SOC_V85XX
|
2021-09-07 20:08:26 +08:00
|
|
|
bool
|
|
|
|
select RT_USING_COMPONENTS_INIT
|
|
|
|
select RT_USING_USER_MAIN
|
2021-09-09 00:52:22 +08:00
|
|
|
select SOC_SERIES_V85XX
|
2021-09-07 20:08:26 +08:00
|
|
|
default y
|
|
|
|
|
|
|
|
menu "On-chip Peripheral Drivers"
|
|
|
|
menuconfig BSP_USING_UART
|
|
|
|
bool "Enable UART"
|
|
|
|
default y
|
|
|
|
select RT_USING_SERIAL
|
|
|
|
if BSP_USING_UART
|
|
|
|
config BSP_USING_UART0
|
|
|
|
bool "using uart0"
|
|
|
|
default n
|
|
|
|
config BSP_USING_UART1
|
|
|
|
bool "using uart1"
|
|
|
|
default n
|
|
|
|
config BSP_USING_UART2
|
|
|
|
bool "using uart2"
|
|
|
|
default y
|
|
|
|
config BSP_USING_UART3
|
|
|
|
bool "using uart3"
|
|
|
|
default n
|
|
|
|
config BSP_USING_UART4
|
|
|
|
bool "using uart4"
|
|
|
|
default n
|
|
|
|
endif
|
|
|
|
menuconfig BSP_USING_ADC
|
|
|
|
bool "Enable ADC"
|
|
|
|
default n
|
|
|
|
select RT_USING_ADC
|
|
|
|
if BSP_USING_ADC
|
|
|
|
config BSP_USING_ADC0
|
|
|
|
bool "using adc0"
|
|
|
|
default n
|
|
|
|
config BSP_USING_ADC1
|
|
|
|
bool "using adc1"
|
|
|
|
default n
|
|
|
|
endif
|
|
|
|
menuconfig BSP_USING_HWTIMER
|
|
|
|
bool "Enable hwtimer"
|
|
|
|
default n
|
|
|
|
select RT_USING_HWTIMER
|
|
|
|
if BSP_USING_HWTIMER
|
|
|
|
config BSP_USING_HWTIMER0
|
|
|
|
bool "using hwtimer0"
|
|
|
|
default n
|
|
|
|
config BSP_USING_HWTIMER1
|
|
|
|
bool "using hwtimer1"
|
|
|
|
default n
|
|
|
|
config BSP_USING_HWTIMER2
|
|
|
|
bool "using hwtimer2"
|
|
|
|
default n
|
|
|
|
config BSP_USING_HWTIMER3
|
|
|
|
bool "using hwtimer3"
|
|
|
|
default n
|
|
|
|
config BSP_USING_HWTIMER4
|
|
|
|
bool "using hwtimer4"
|
|
|
|
default n
|
|
|
|
config BSP_USING_HWTIMER5
|
|
|
|
bool "using hwtimer5"
|
|
|
|
default n
|
|
|
|
config BSP_USING_HWTIMER6
|
|
|
|
bool "using hwtimer6"
|
|
|
|
default n
|
|
|
|
config BSP_USING_HWTIMER7
|
|
|
|
bool "using hwtimer7"
|
|
|
|
default n
|
|
|
|
endif
|
|
|
|
config BSP_USING_WDT
|
|
|
|
bool "Enable Watchdog Timer"
|
|
|
|
select RT_USING_WDT
|
|
|
|
default n
|
|
|
|
|
|
|
|
config BSP_USING_RTC
|
|
|
|
bool "using internal rtc"
|
|
|
|
default n
|
|
|
|
select RT_USING_RTC
|
|
|
|
|
|
|
|
endmenu
|