You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
86 lines
1.5 KiB
86 lines
1.5 KiB
5 months ago
|
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_CV18XX
|
||
|
bool
|
||
|
select ARCH_RISCV64
|
||
|
select RT_USING_SYSTEM_WORKQUEUE
|
||
|
select RT_USING_COMPONENTS_INIT
|
||
|
select RT_USING_USER_MAIN
|
||
|
select RT_USING_CACHE
|
||
|
select ARCH_MM_MMU
|
||
|
select RT_USING_DEVICE_OPS
|
||
|
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 GPIO_IRQ_BASE
|
||
|
int
|
||
|
default 60
|
||
|
|
||
|
config SYS_GPIO_IRQ_BASE
|
||
|
int
|
||
|
default 70
|
||
|
|
||
|
config __STACKSIZE__
|
||
|
int "stack size for interrupt"
|
||
|
default 4096
|
||
|
|
||
|
config SOC_TYPE_CV180X
|
||
|
bool
|
||
|
default n
|
||
|
|
||
|
config SOC_TYPE_SG2002
|
||
|
bool
|
||
|
default n
|
||
|
|
||
|
choice
|
||
|
prompt "Board Type"
|
||
|
default BOARD_TYPE_MILKV_DUO256M
|
||
|
|
||
|
config BOARD_TYPE_MILKV_DUO
|
||
|
select SOC_TYPE_CV180X
|
||
|
bool "milkv-duo"
|
||
|
|
||
|
config BOARD_TYPE_MILKV_DUO_SPINOR
|
||
|
select SOC_TYPE_CV180X
|
||
|
bool "milkv-duo-spinor"
|
||
|
|
||
|
config BOARD_TYPE_MILKV_DUO256M
|
||
|
select SOC_TYPE_SG2002
|
||
|
bool "milkv-duo256m"
|
||
|
|
||
|
config BOARD_TYPE_MILKV_DUO256M_SPINOR
|
||
|
select SOC_TYPE_SG2002
|
||
|
bool "milkv-duo256m-spinor"
|
||
|
|
||
|
endchoice
|