80 lines
1.4 KiB
Plaintext
80 lines
1.4 KiB
Plaintext
mainmenu "RT-Thread Project Configuration"
|
|
|
|
config RTT_DIR
|
|
string
|
|
option env="RTT_ROOT"
|
|
default "../../.."
|
|
|
|
config BSP_DIR
|
|
string
|
|
option env="BSP_ROOT"
|
|
default "../."
|
|
|
|
config SDK_DIR
|
|
string
|
|
option env="SDK_DIR"
|
|
default ".././libraries/phytium_standalone_sdk"
|
|
|
|
config PKGS_DIR
|
|
string
|
|
option env="PKGS_ROOT"
|
|
default "packages"
|
|
|
|
source "$RTT_DIR/Kconfig"
|
|
source "$PKGS_DIR/Kconfig"
|
|
source "$BSP_ROOT/libraries/drivers/Kconfig"
|
|
|
|
config BSP_USING_GIC
|
|
bool
|
|
default y
|
|
config BSP_USING_GICV3
|
|
bool
|
|
default y
|
|
|
|
config PHYTIUM_ARCH_AARCH64
|
|
bool
|
|
select ARCH_ARMV8
|
|
select RT_USING_COMPONENTS_INIT
|
|
select RT_USING_USER_MAIN
|
|
select ARCH_CPU_64BIT
|
|
select RT_USING_CACHE
|
|
select TARGET_ARMV8_AARCH64
|
|
select ARCH_ARM_BOOTWITH_FLUSH_CACHE
|
|
select RT_USING_HW_ATOMIC
|
|
default y
|
|
|
|
|
|
if TARGET_E2000Q
|
|
config ARM_SPI_BIND_CPU_ID
|
|
int
|
|
default 2
|
|
endif
|
|
|
|
if TARGET_E2000D
|
|
config ARM_SPI_BIND_CPU_ID
|
|
int
|
|
default 0
|
|
endif
|
|
|
|
if TARGET_PHYTIUMPI
|
|
config ARM_SPI_BIND_CPU_ID
|
|
int
|
|
default 2
|
|
endif
|
|
|
|
if RT_USING_SMP
|
|
|
|
endif
|
|
|
|
menu "Standalone Setting"
|
|
config TARGET_ARMV8_AARCH64
|
|
bool "Armv8 Aarch64"
|
|
default y
|
|
|
|
source "$SDK_DIR/soc/soc.kconfig"
|
|
source "$BSP_ROOT/board/board.kconfig"
|
|
source "$SDK_DIR/common/common.kconfig"
|
|
|
|
endmenu
|
|
|