2022-11-10 22:22:48 +08:00
|
|
|
mainmenu "RT-Thread Project Configuration"
|
|
|
|
|
2024-06-11 12:16:39 +08:00
|
|
|
RTT_DIR := ../../..
|
|
|
|
|
|
|
|
SDK_DIR:= .././libraries/phytium_standalone_sdk
|
|
|
|
|
|
|
|
PKGS_DIR := packages
|
|
|
|
|
|
|
|
source "$(RTT_DIR)/Kconfig"
|
|
|
|
osource "$PKGS_DIR/Kconfig"
|
|
|
|
source "$(BSP_DIR)/../libraries/drivers/Kconfig"
|
2022-11-10 22:22:48 +08:00
|
|
|
|
|
|
|
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
|
2024-11-28 12:52:45 +08:00
|
|
|
select ARCH_USING_IRQ_CTX_LIST
|
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
|
|
|
|
|
2024-06-11 12:16:39 +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
|
|
|
|
|