36 lines
586 B
Plaintext
36 lines
586 B
Plaintext
|
mainmenu "RT-Thread Configuration"
|
||
|
|
||
|
config BSP_DIR
|
||
|
string
|
||
|
option env="BSP_ROOT"
|
||
|
default "."
|
||
|
|
||
|
config RTT_DIR
|
||
|
string
|
||
|
option env="RTT_ROOT"
|
||
|
default "../../.."
|
||
|
|
||
|
config PKGS_DIR
|
||
|
string
|
||
|
option env="PKGS_ROOT"
|
||
|
default "packages"
|
||
|
|
||
|
config SOC_STM32F407ZG
|
||
|
bool
|
||
|
select SOC_SERIES_STM32F4
|
||
|
select RT_USING_COMPONENTS_INIT
|
||
|
select RT_USING_USER_MAIN
|
||
|
default y
|
||
|
|
||
|
config BOARD_STM32F407_SPARK
|
||
|
bool
|
||
|
default y
|
||
|
|
||
|
source "$RTT_DIR/Kconfig"
|
||
|
source "$PKGS_DIR/Kconfig"
|
||
|
source "../libraries/Kconfig"
|
||
|
|
||
|
if !RT_USING_NANO
|
||
|
source "board/Kconfig"
|
||
|
endif
|