2023-06-30 00:05:55 +08:00
|
|
|
mainmenu "RT-Thread Project Configuration"
|
|
|
|
|
|
|
|
config BSP_DIR
|
|
|
|
string
|
|
|
|
option env="BSP_ROOT"
|
|
|
|
default "."
|
|
|
|
|
|
|
|
config RTT_DIR
|
|
|
|
string
|
|
|
|
option env="RTT_ROOT"
|
2024-01-28 16:05:52 +08:00
|
|
|
default "../../.."
|
2023-06-30 00:05:55 +08:00
|
|
|
|
|
|
|
config PKGS_DIR
|
|
|
|
string
|
|
|
|
option env="PKGS_ROOT"
|
|
|
|
default "packages"
|
|
|
|
|
|
|
|
source "$RTT_DIR/Kconfig"
|
|
|
|
source "$PKGS_DIR/Kconfig"
|
2024-01-28 16:05:52 +08:00
|
|
|
source "board/Kconfig"
|
2023-06-30 00:05:55 +08:00
|
|
|
|
2024-04-03 07:37:45 +08:00
|
|
|
config BSP_USING_CV18XX
|
2023-06-30 00:05:55 +08:00
|
|
|
bool
|
|
|
|
select ARCH_RISCV64
|
2023-11-01 23:10:13 +08:00
|
|
|
select RT_USING_SYSTEM_WORKQUEUE
|
2023-06-30 00:05:55 +08:00
|
|
|
select RT_USING_COMPONENTS_INIT
|
|
|
|
select RT_USING_USER_MAIN
|
|
|
|
select RT_USING_CACHE
|
|
|
|
select ARCH_MM_MMU
|
2024-01-28 16:05:52 +08:00
|
|
|
select RT_USING_DEVICE_OPS
|
2023-06-30 00:05:55 +08:00
|
|
|
default y
|
|
|
|
|
|
|
|
config C906_PLIC_PHY_ADDR
|
|
|
|
hex
|
|
|
|
default 0x70000000
|
|
|
|
|
|
|
|
config IRQ_MAX_NR
|
|
|
|
int
|
|
|
|
default 64
|
|
|
|
|
|
|
|
config TIMER_CLK_FREQ
|
|
|
|
int
|
|
|
|
default 25000000
|
|
|
|
|
|
|
|
config __STACKSIZE__
|
|
|
|
int "stack size for interrupt"
|
|
|
|
default 4096
|
2024-03-28 23:35:54 +08:00
|
|
|
|
|
|
|
choice
|
|
|
|
prompt "Board Type"
|
2024-04-03 07:37:45 +08:00
|
|
|
default BOARD_TYPE_MILKV_DUO256M
|
2024-03-28 23:35:54 +08:00
|
|
|
|
|
|
|
config BOARD_TYPE_MILKV_DUO
|
|
|
|
bool "milkv-duo"
|
2024-04-03 07:37:45 +08:00
|
|
|
|
2024-04-09 22:48:57 +08:00
|
|
|
config BOARD_TYPE_MILKV_DUO_SPINOR
|
|
|
|
bool "milkv-duo-spinor"
|
|
|
|
|
2024-04-03 07:37:45 +08:00
|
|
|
config BOARD_TYPE_MILKV_DUO256M
|
|
|
|
bool "milkv-duo256m"
|
2024-04-09 22:48:57 +08:00
|
|
|
|
|
|
|
config BOARD_TYPE_MILKV_DUO256M_SPINOR
|
|
|
|
bool "milkv-duo256m-spinor"
|
|
|
|
|
2024-03-28 23:35:54 +08:00
|
|
|
endchoice
|