59 lines
1.1 KiB
Plaintext
59 lines
1.1 KiB
Plaintext
mainmenu "XiUOS Project Configuration"
|
|
|
|
config BSP_DIR
|
|
string
|
|
option env="BSP_ROOT"
|
|
default "."
|
|
|
|
config KERNEL_DIR
|
|
string
|
|
option env="KERNEL_ROOT"
|
|
default "../.."
|
|
|
|
config BOARD_FE310_EVB
|
|
bool
|
|
select ARCH_RISCV
|
|
select ARCH_RISCV32
|
|
select ARCH_CPU_32BIT
|
|
default y
|
|
|
|
config KERNEL_CONSOLE_DEVICE_NAME
|
|
string
|
|
default "uart0"
|
|
|
|
|
|
source "$KERNEL_DIR/arch/Kconfig"
|
|
|
|
menu "hifive1 feature"
|
|
source "$BSP_DIR/third_party_driver/Kconfig"
|
|
|
|
menu "config default board resources"
|
|
menu "config board app name"
|
|
config BOARD_APP_NAME
|
|
string "config board app name"
|
|
default "/XiUOS_hifive1-rev-B_app.bin"
|
|
endmenu
|
|
|
|
menu "config board service table"
|
|
config SERVICE_TABLE_ADDRESS
|
|
hex "board service table address"
|
|
default 0x2007F0000
|
|
endmenu
|
|
|
|
endmenu
|
|
|
|
config __STACKSIZE__
|
|
int "stack size for interrupt"
|
|
default 4096
|
|
|
|
endmenu
|
|
|
|
|
|
menu "Hardware feature"
|
|
source "$KERNEL_DIR/resources/Kconfig"
|
|
endmenu
|
|
|
|
source "$KERNEL_DIR/Kconfig"
|
|
|
|
|