2024-01-29 09:13:21 +08:00
|
|
|
mainmenu "RT-Thread Project 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"
|
|
|
|
source "board/Kconfig"
|
|
|
|
|
|
|
|
config BSP_USING_C906_LITTLE
|
|
|
|
bool
|
|
|
|
select ARCH_RISCV64
|
|
|
|
select ARCH_RISCV_FPU_D
|
|
|
|
select RT_USING_COMPONENTS_INIT
|
|
|
|
select RT_USING_USER_MAIN
|
|
|
|
default y
|
|
|
|
|
|
|
|
config PLIC_PHY_ADDR
|
|
|
|
hex
|
|
|
|
default 0x70000000
|
|
|
|
|
|
|
|
config IRQ_MAX_NR
|
|
|
|
int
|
|
|
|
default 128
|
|
|
|
|
|
|
|
config TIMER_CLK_FREQ
|
|
|
|
int
|
2024-03-28 23:35:54 +08:00
|
|
|
default 25000000
|
|
|
|
|
2024-05-22 08:19:07 +08:00
|
|
|
config SOC_TYPE_CV180X
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
|
|
|
|
config SOC_TYPE_SG2002
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
|
2024-03-28 23:35:54 +08:00
|
|
|
choice
|
|
|
|
prompt "Board Type"
|
|
|
|
default BOARD_TYPE_MILKV_DUO256M
|
|
|
|
|
|
|
|
config BOARD_TYPE_MILKV_DUO
|
2024-05-22 08:19:07 +08:00
|
|
|
select SOC_TYPE_CV180X
|
2024-03-28 23:35:54 +08:00
|
|
|
bool "milkv-duo"
|
2024-04-09 22:48:57 +08:00
|
|
|
|
|
|
|
config BOARD_TYPE_MILKV_DUO_SPINOR
|
2024-05-22 08:19:07 +08:00
|
|
|
select SOC_TYPE_CV180X
|
2024-04-09 22:48:57 +08:00
|
|
|
bool "milkv-duo-spinor"
|
|
|
|
|
2024-03-28 23:35:54 +08:00
|
|
|
config BOARD_TYPE_MILKV_DUO256M
|
2024-05-22 08:19:07 +08:00
|
|
|
select SOC_TYPE_SG2002
|
2024-03-28 23:35:54 +08:00
|
|
|
bool "milkv-duo256m"
|
2024-04-09 22:48:57 +08:00
|
|
|
|
|
|
|
config BOARD_TYPE_MILKV_DUO256M_SPINOR
|
2024-05-22 08:19:07 +08:00
|
|
|
select SOC_TYPE_SG2002
|
2024-04-09 22:48:57 +08:00
|
|
|
bool "milkv-duo256m-spinor"
|
|
|
|
|
2024-03-28 23:35:54 +08:00
|
|
|
endchoice
|