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 PHYTIUM_ARCH_AARCH32
|
|
|
|
bool
|
|
|
|
select ARCH_ARM_CORTEX_A
|
2023-11-21 17:42:23 +08:00
|
|
|
select RT_USING_CACHE
|
2022-11-10 22:22:48 +08:00
|
|
|
select RT_USING_COMPONENTS_INIT
|
|
|
|
select RT_USING_USER_MAIN
|
|
|
|
select RT_USING_GIC_V3
|
|
|
|
select TARGET_ARMV8_AARCH32
|
|
|
|
select USE_AARCH64_L1_TO_AARCH32
|
|
|
|
default y
|
|
|
|
|
|
|
|
menu "Standalone Setting"
|
|
|
|
config TARGET_ARMV8_AARCH32
|
|
|
|
bool "Armv8 Aarch32"
|
|
|
|
default y
|
2023-05-11 10:25:21 +08:00
|
|
|
|
2022-11-10 22:22:48 +08:00
|
|
|
config USE_AARCH64_L1_TO_AARCH32
|
|
|
|
bool
|
|
|
|
prompt "Use Aarch64 L1 to Aarch32 code"
|
|
|
|
default y
|
|
|
|
help
|
|
|
|
Use the Aarch64 to Aarch32 mode function
|
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
|
2023-11-21 17:42:23 +08:00
|
|
|
|
|
|
|
|
|
|
|
|