summaryrefslogtreecommitdiff
path: root/bsp/stm32/stm32f407-rt-spark/Kconfig
blob: 94919df4821397ecd96d431b909e2485d96c15e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
mainmenu "RT-Thread Configuration"

BSP_DIR := .

RTT_DIR := ../../..

PKGS_DIR := packages

config SOC_STM32F407ZG
    bool
    select SOC_SERIES_STM32F4
    select RT_USING_COMPONENTS_INIT
    select RT_USING_USER_MAIN
    select RT_USING_OFW if RT_USING_DM
    select RT_USING_BUILTIN_FDT if RT_USING_DM
    select RT_USING_PIC if RT_USING_DM
    select RT_PIC_ARM_NVIC if RT_USING_DM
    select RT_USING_PIN if RT_USING_DM
    default y

config BOARD_STM32F407_SPARK
    bool
    default y

config RT_BUILTIN_FDT_PATH
    string
    default "board/dts/stm32f407-rt-spark.dtb" if RT_USING_DM

source "$(RTT_DIR)/Kconfig"

osource "$PKGS_DIR/Kconfig"
rsource "../libraries/Kconfig"

if !RT_USING_NANO
rsource "board/Kconfig"
endif