summaryrefslogtreecommitdiff
path: root/bsp/dm365/Kconfig
blob: 29c809a1a065df259342d3ef4b68dfd1d9e2c6dd (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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
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"

source "$RTT_DIR/Kconfig"
source "$PKGS_DIR/Kconfig"

config SOC_DM365
    bool
    select RT_USING_COMPONENTS_INIT
    select RT_USING_USER_MAIN
    default y

comment "BSP configure"

config RT_USING_GPIO_DEVICE
    bool "Using GPIO"
    default y

config RT_USING_I2C_CONTROL
    bool "Using I2C control"
    select RT_USING_I2C
    default y

config RT_USING_SDIO_CONTROL
    bool "Using SDIO control"
    select RT_USING_SDIO
    default y

config RT_USING_SPI_CONTROL
    bool "Using SPI control"
    depends on RT_USING_SPI
    default y

config RT_USING_EMAC
    bool "Using EMAC control"
    depends on RT_USING_LWIP
    default y

config RT_MMU_PTE_SIZE
    int "The first page table for MMU"
    default 4096