2024-04-16 09:49:41 +08:00
|
|
|
mainmenu "RT-Thread Project Configuration"
|
|
|
|
|
2024-06-11 12:16:39 +08:00
|
|
|
BSP_DIR := .
|
2024-04-16 09:49:41 +08:00
|
|
|
|
2024-06-11 12:16:39 +08:00
|
|
|
RTT_DIR := ../../..
|
2024-04-16 09:49:41 +08:00
|
|
|
|
2024-06-11 12:16:39 +08:00
|
|
|
PKGS_DIR := packages
|
2024-04-16 09:49:41 +08:00
|
|
|
|
2024-06-11 12:16:39 +08:00
|
|
|
source "$(RTT_DIR)/Kconfig"
|
|
|
|
osource "$PKGS_DIR/Kconfig"
|
2024-04-16 09:49:41 +08:00
|
|
|
|
|
|
|
config SOC_CV18XX_AARCH64
|
|
|
|
bool
|
|
|
|
select ARCH_ARMV8
|
|
|
|
select ARCH_CPU_64BIT
|
|
|
|
select ARCH_ARM_MMU
|
|
|
|
select RT_USING_CACHE
|
|
|
|
select RT_USING_COMPONENTS_INIT
|
|
|
|
select RT_USING_USER_MAIN
|
|
|
|
select RT_USING_GIC
|
|
|
|
select BSP_USING_GIC
|
|
|
|
select ARCH_MM_MMU
|
|
|
|
default y
|
|
|
|
|
2024-08-18 16:24:05 +08:00
|
|
|
config BSP_GPIO_IRQ_BASE
|
2024-07-20 17:28:27 +08:00
|
|
|
int
|
|
|
|
default 76
|
|
|
|
|
2024-08-18 16:24:05 +08:00
|
|
|
config BSP_SYS_GPIO_IRQ_BASE
|
2024-07-20 17:28:27 +08:00
|
|
|
int
|
|
|
|
default 86
|
|
|
|
|
2024-07-24 19:29:46 +08:00
|
|
|
config SOC_TYPE_SG2002
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
|
2024-04-16 09:49:41 +08:00
|
|
|
choice
|
|
|
|
prompt "Board Type"
|
|
|
|
default BOARD_TYPE_MILKV_DUO256M
|
|
|
|
|
|
|
|
config BOARD_TYPE_MILKV_DUO256M
|
2024-07-24 19:29:46 +08:00
|
|
|
select SOC_TYPE_SG2002
|
2024-04-16 09:49:41 +08:00
|
|
|
bool "milkv-duo256m"
|
|
|
|
|
|
|
|
config BOARD_TYPE_MILKV_DUO256M_SPINOR
|
2024-07-24 19:29:46 +08:00
|
|
|
select SOC_TYPE_SG2002
|
2024-04-16 09:49:41 +08:00
|
|
|
bool "milkv-duo256m-spinor"
|
|
|
|
|
|
|
|
endchoice
|
|
|
|
|
2024-06-11 12:16:39 +08:00
|
|
|
source "$(BSP_DIR)/board/Kconfig"
|