2022-11-10 22:22:48 +08:00
|
|
|
mainmenu "RT-Thread Project Configuration"
|
|
|
|
|
|
|
|
config RTT_DIR
|
|
|
|
string
|
|
|
|
option env="RTT_ROOT"
|
|
|
|
default "../../.."
|
|
|
|
|
|
|
|
config BSP_DIR
|
|
|
|
string
|
|
|
|
option env="BSP_ROOT"
|
|
|
|
default "../."
|
|
|
|
|
2023-11-21 17:42:23 +08:00
|
|
|
config SDK_DIR
|
2022-11-10 22:22:48 +08:00
|
|
|
string
|
2023-11-21 17:42:23 +08:00
|
|
|
option env="SDK_DIR"
|
|
|
|
default ".././libraries/phytium_standalone_sdk"
|
2022-11-10 22:22:48 +08:00
|
|
|
|
|
|
|
config PKGS_DIR
|
|
|
|
string
|
|
|
|
option env="PKGS_ROOT"
|
|
|
|
default "packages"
|
|
|
|
|
|
|
|
source "$RTT_DIR/Kconfig"
|
|
|
|
source "$PKGS_DIR/Kconfig"
|
|
|
|
source "$BSP_DIR/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
|
2023-11-21 17:42:23 +08:00
|
|
|
select RT_USING_CACHE
|
2022-11-10 22:22:48 +08:00
|
|
|
select TARGET_ARMV8_AARCH64
|
2023-05-11 10:25:21 +08:00
|
|
|
select ARCH_ARM_BOOTWITH_FLUSH_CACHE
|
2023-12-08 17:57:55 +08:00
|
|
|
select RT_USING_HW_ATOMIC
|
2022-11-10 22:22:48 +08:00
|
|
|
default y
|
2023-05-11 10:25:21 +08:00
|
|
|
|
|
|
|
|
|
|
|
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
|
2022-11-10 22:22:48 +08:00
|
|
|
|
2023-08-29 10:27:54 +08:00
|
|
|
if TARGET_PHYTIUMPI
|
|
|
|
config ARM_SPI_BIND_CPU_ID
|
|
|
|
int
|
|
|
|
default 2
|
|
|
|
endif
|
|
|
|
|
2023-11-21 17:42:23 +08:00
|
|
|
if RT_USING_SMP
|
|
|
|
|
|
|
|
endif
|
|
|
|
|
2022-11-10 22:22:48 +08:00
|
|
|
menu "Standalone Setting"
|
|
|
|
config TARGET_ARMV8_AARCH64
|
|
|
|
bool "Armv8 Aarch64"
|
|
|
|
default y
|
|
|
|
|
2023-11-21 17:42:23 +08:00
|
|
|
source "$SDK_DIR/soc/soc.kconfig"
|
|
|
|
source "$BSP_DIR/board/board.kconfig"
|
|
|
|
source "$SDK_DIR/common/common.kconfig"
|
2022-11-10 22:22:48 +08:00
|
|
|
|
|
|
|
endmenu
|
|
|
|
|