51 lines
865 B
Plaintext
Executable File
51 lines
865 B
Plaintext
Executable File
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
|
|
default 25000000
|
|
|
|
choice
|
|
prompt "Board Type"
|
|
default BOARD_TYPE_MILKV_DUO256M
|
|
|
|
config BOARD_TYPE_MILKV_DUO
|
|
bool "milkv-duo"
|
|
config BOARD_TYPE_MILKV_DUO256M
|
|
bool "milkv-duo256m"
|
|
endchoice
|