You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

147 lines
3.6 KiB

choice
prompt "Family"
config LOSCFG_FAMILY_BVT
bool "BVT"
config LOSCFG_FAMILY_DPT
bool "DPT"
config LOSCFG_FAMILY_AIOT
bool "AIOT"
config LOSCFG_FAMILY_STB
bool "STB"
config LOSCFG_FAMILY_QEMU
bool "QEMU"
config LOSCFG_FAMILY_STM32
bool "STM32"
config LOSCFG_FAMILY_SECRET
bool "SECRET"
config LOSCFG_FAMILY_HQ
bool "HQ"
config LOSCFG_FAMILY_ENERGY
bool "ENERGY"
config LOSCFG_FAMILY_RESERVED23
bool "RESERVED23"
config LOSCFG_FAMILY_RESERVED19
bool "RESERVED19"
config LOSCFG_FAMILY_HI3751V811
bool "HI3751V811"
config LOSCFG_FAMILY_SHC
bool "SHC"
config LOSCFG_FAMILY_ASCEND
bool "ASCEND"
endchoice
config LOSCFG_FAMILY
string
default "ascend" if LOSCFG_FAMILY_ASCEND
osource "targets/Kconfig.bvt"
osource "targets/Kconfig.dpt"
osource "targets/Kconfig.aiot"
osource "targets/Kconfig.stb"
osource "targets/Kconfig.qemu"
osource "targets/Kconfig.stm32"
osource "targets/Kconfig.secret"
osource "targets/Kconfig.hq"
osource "targets/Kconfig.energy"
osource "targets/Kconfig.shc"
osource "targets/Kconfig.ascend"
osource "targets/Kconfig.reserved23"
osource "targets/Kconfig.reserved19"
osource "targets/Kconfig.hi3751v811"
config LOSCFG_PLATFORM_ASCEND
bool
select LOSCFG_ARM_GENERIC_TIMER
select LOSCFG_ARM_GIC_V3
select LOSCFG_USING_BOARD_LD
help
This is genenel setup for 64bit ARMv8 based ascend plaforms which should directly
select this option and add specific processor cores.
config LOSCFG_PLATFORM_HISI_BVT_ARM
bool
select LOSCFG_ARM_GIC_V2
select LOSCFG_ARM_GENERIC_TIMER
select LOSCFG_ARM_SP804_HRTIMER
select LOSCFG_DRIVERS_UART_ARM_PL011
select LOSCFG_DRIVERS_UART_LINUX
help
This is genenel setup for 32bit ARMv7/8 based plaforms which should directly
select this option and add specific processor cores. For example:
config LOSCFG_PLATFORM_HI35xxVxxx
bool "HI35xxVxxx"
select LOSCFG_ARCH_CORTEX_A7
select LOSCFG_PLATFORM_HISI_BVT_ARM
config LOSCFG_PLATFORM_HISI_RISCV
bool
select LOSCFG_ARCH_RISCV_RV32IMC
select LOSCFG_RISCV_HIMIDEERV200_PLIC
select LOSCFG_DRIVERS_UART_ARM_PL011
help
This is genenel setup for risc-v based hisilicon plaforms which should directly
select this option and add specific processor cores.
config LOSCFG_ARM_SP804_TIMER
bool
default y
depends on LOSCFG_PLATFORM_HISI_RISCV && !LOSCFG_RISCV32_M_TIMER
config LOSCFG_PLATFORM_LCMP
bool
select LOSCFG_ARCH_RISCV_RV32IMC
select LOSCFG_RISCV_LCMP_CLIC
select LOSCFG_ARM_SP804_TIMER
select LOSCFG_DRIVERS_UART_ARM_PL011
help
This is genenel setup for LinxCore based hisilicon plaforms which should directly
select this option and add specific processor cores.
config LOSCFG_USING_BOARD_LD
bool
config LOSCFG_USING_BOARD_RESET_VECTOR
bool
default n
help
Use board reset vector instead of arch default implementation.
config LOSCFG_PLATFORM_EXTENDED_FEATURE
string
default "normal" if LOSCFG_PLATFORM_STM32F769IDISCOVERY_N
default "safety" if LOSCFG_PLATFORM_STM32F769IDISCOVERY_S
default "safety_rom" if LOSCFG_PLATFORM_STM32F769IDISCOVERY_S_ROM
choice
prompt "Extended Feature"
depends on LOSCFG_PLATFORM_STM32F769IDISCOVERY
config LOSCFG_PLATFORM_STM32F769IDISCOVERY_N
bool "normal"
config LOSCFG_PLATFORM_STM32F769IDISCOVERY_S
bool "safety"
select LOSCFG_SAFETY_KERNEL
config LOSCFG_PLATFORM_STM32F769IDISCOVERY_S_ROM
bool "safety_rom"
select LOSCFG_SAFETY_KERNEL
select LOSCFG_MULTI_BINARIES
endchoice