71 lines
1.5 KiB
Plaintext
71 lines
1.5 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_AIIT_RISCV_EVB
|
||
|
bool
|
||
|
select ARCH_RISCV
|
||
|
select ARCH_RISCV64
|
||
|
select ARCH_CPU_64BIT
|
||
|
default y
|
||
|
|
||
|
source "$KERNEL_DIR/arch/Kconfig"
|
||
|
|
||
|
menu "aiit-riscv64-board 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_aiit-riscv64-board_app.bin"
|
||
|
endmenu
|
||
|
|
||
|
menu "config board service table"
|
||
|
config SERVICE_TABLE_ADDRESS
|
||
|
hex "board service table address"
|
||
|
default 0x80100000
|
||
|
endmenu
|
||
|
|
||
|
menu "config hardware resources for connection"
|
||
|
if CONNECTION_COMMUNICATION_ETHERNET
|
||
|
config ETHERNET_UART_NAME
|
||
|
string "ethernet uart name"
|
||
|
default "/dev/uart3_dev3"
|
||
|
endif
|
||
|
if CONNECTION_COMMUNICATION_WIFI
|
||
|
config WIFI_UART_NAME
|
||
|
string "wifi uart name"
|
||
|
default "/dev/uart3_dev3"
|
||
|
endif
|
||
|
|
||
|
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"
|
||
|
|
||
|
|