2018-09-06 14:12:28 +08:00
|
|
|
mainmenu "RT-Thread Configuration"
|
|
|
|
|
2019-01-16 23:23:38 +08:00
|
|
|
config BSP_DIR
|
2018-09-06 14:12:28 +08:00
|
|
|
string
|
|
|
|
option env="BSP_ROOT"
|
|
|
|
default "."
|
|
|
|
|
2019-01-16 23:23:38 +08:00
|
|
|
config RTT_DIR
|
2018-09-06 14:12:28 +08:00
|
|
|
string
|
|
|
|
option env="RTT_ROOT"
|
|
|
|
default "../.."
|
|
|
|
|
2019-01-16 23:23:38 +08:00
|
|
|
config PKGS_DIR
|
2018-09-06 14:12:28 +08:00
|
|
|
string
|
|
|
|
option env="PKGS_ROOT"
|
|
|
|
default "packages"
|
|
|
|
|
|
|
|
source "$RTT_DIR/Kconfig"
|
|
|
|
source "$PKGS_DIR/Kconfig"
|
|
|
|
|
2019-09-11 12:06:43 +08:00
|
|
|
config SOC_DM365
|
2023-01-09 10:14:23 +08:00
|
|
|
bool
|
2019-09-11 12:06:43 +08:00
|
|
|
select RT_USING_COMPONENTS_INIT
|
|
|
|
select RT_USING_USER_MAIN
|
|
|
|
default y
|
|
|
|
|
2018-09-06 14:16:02 +08:00
|
|
|
comment "BSP configure"
|
2018-09-06 14:12:28 +08:00
|
|
|
|
|
|
|
config RT_USING_GPIO_DEVICE
|
|
|
|
bool "Using GPIO"
|
2023-01-09 10:14:23 +08:00
|
|
|
default y
|
2018-09-06 14:12:28 +08:00
|
|
|
|
|
|
|
config RT_USING_I2C_CONTROL
|
|
|
|
bool "Using I2C control"
|
|
|
|
select RT_USING_I2C
|
|
|
|
default y
|
2023-01-09 10:14:23 +08:00
|
|
|
|
2018-09-06 14:12:28 +08:00
|
|
|
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
|
2023-01-09 10:14:23 +08:00
|
|
|
default y
|
2018-09-06 14:12:28 +08:00
|
|
|
|
|
|
|
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
|
|
|
|
|