2024-01-29 09:13:21 +08:00
|
|
|
mainmenu "RT-Thread Project Configuration"
|
|
|
|
|
2024-06-11 12:16:39 +08:00
|
|
|
BSP_DIR := .
|
|
|
|
|
|
|
|
RTT_DIR := ../../..
|
|
|
|
|
|
|
|
PKGS_DIR := packages
|
|
|
|
|
|
|
|
source "$(RTT_DIR)/Kconfig"
|
|
|
|
osource "$PKGS_DIR/Kconfig"
|
|
|
|
rsource "board/Kconfig"
|
2024-01-29 09:13:21 +08:00
|
|
|
|
|
|
|
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
|
|
|
|
|
2024-08-18 16:24:05 +08:00
|
|
|
config BSP_PLIC_PHY_ADDR
|
2024-01-29 09:13:21 +08:00
|
|
|
hex
|
|
|
|
default 0x70000000
|
|
|
|
|
|
|
|
config IRQ_MAX_NR
|
|
|
|
int
|
2024-08-06 22:37:52 +08:00
|
|
|
default 61
|
2024-01-29 09:13:21 +08:00
|
|
|
|
2024-08-18 16:24:05 +08:00
|
|
|
config BSP_TIMER_CLK_FREQ
|
2024-01-29 09:13:21 +08:00
|
|
|
int
|
2024-03-28 23:35:54 +08:00
|
|
|
default 25000000
|
|
|
|
|
2024-08-18 16:24:05 +08:00
|
|
|
config BSP_GPIO_IRQ_BASE
|
2024-05-24 00:13:11 +08:00
|
|
|
int
|
|
|
|
default 41
|
|
|
|
|
2024-08-18 16:24:05 +08:00
|
|
|
config BSP_SYS_GPIO_IRQ_BASE
|
2024-05-24 00:13:11 +08:00
|
|
|
int
|
|
|
|
default 47
|
|
|
|
|
2024-05-22 08:19:07 +08:00
|
|
|
config SOC_TYPE_CV180X
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
|
2024-08-27 10:17:21 +08:00
|
|
|
config SOC_TYPE_SG2000
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
|
2024-05-22 08:19:07 +08:00
|
|
|
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-08-27 10:17:21 +08:00
|
|
|
config BOARD_TYPE_MILKV_DUOS
|
|
|
|
select SOC_TYPE_SG2000
|
|
|
|
bool "milkv-duos"
|
|
|
|
|
2024-03-28 23:35:54 +08:00
|
|
|
endchoice
|