2019-04-06 21:08:09 +08:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
2018-09-04 21:32:07 +08:00
|
|
|
choice
|
|
|
|
prompt "SoC/CPU/Configuration Selection"
|
|
|
|
|
2021-06-02 14:47:21 +08:00
|
|
|
# This loads custom SoC root Kconfig (only available if custom SoC root are defined)
|
|
|
|
osource "$(KCONFIG_BINARY_DIR)/Kconfig.soc"
|
|
|
|
# This loads Zephyr base SoC root Kconfig
|
|
|
|
osource "soc/$(ARCH)/*/Kconfig.soc"
|
2018-09-04 21:32:07 +08:00
|
|
|
|
|
|
|
endchoice
|
|
|
|
|
|
|
|
menu "Hardware Configuration"
|
2021-06-02 14:47:21 +08:00
|
|
|
# This loads custom SoC root Kconfig (only available if custom SoC root are defined)
|
|
|
|
osource "$(KCONFIG_BINARY_DIR)/Kconfig.soc.arch"
|
|
|
|
# This loads Zephyr base SoC Kconfigs
|
|
|
|
osource "soc/$(ARCH)/Kconfig"
|
|
|
|
osource "soc/$(ARCH)/*/Kconfig"
|
2018-09-17 23:39:56 +08:00
|
|
|
|
|
|
|
module = SOC
|
|
|
|
module-str = SOC
|
|
|
|
source "subsys/logging/Kconfig.template.log_config"
|
|
|
|
|
2018-09-04 21:32:07 +08:00
|
|
|
endmenu
|
2018-10-03 21:51:11 +08:00
|
|
|
|
|
|
|
# The helper symbols below are put here due to an unusual setup: The simulated
|
2023-09-12 15:43:08 +08:00
|
|
|
# nrf5x_bsim boards use the POSIX arch, but are compatible with Nordic ARM boards
|
2018-10-03 21:51:11 +08:00
|
|
|
|
|
|
|
config SOC_COMPATIBLE_NRF
|
|
|
|
bool
|
|
|
|
|
|
|
|
config SOC_COMPATIBLE_NRF52X
|
|
|
|
bool
|
|
|
|
|
2023-09-12 15:43:08 +08:00
|
|
|
config SOC_COMPATIBLE_NRF53X
|
|
|
|
bool
|
|
|
|
|
2023-01-24 18:03:45 +08:00
|
|
|
config SOC_COMPATIBLE_NRF52833
|
2018-10-03 21:51:11 +08:00
|
|
|
bool
|
2018-10-20 01:15:19 +08:00
|
|
|
|
2023-09-12 15:43:08 +08:00
|
|
|
config SOC_COMPATIBLE_NRF5340_CPUNET
|
|
|
|
bool
|
|
|
|
|
|
|
|
config SOC_COMPATIBLE_NRF5340_CPUAPP
|
|
|
|
bool
|
|
|
|
|
2018-10-20 01:15:19 +08:00
|
|
|
#
|
|
|
|
# SOC_*_LD: SoC specific Linker script additions
|
|
|
|
#
|
2019-03-18 23:08:42 +08:00
|
|
|
|
2020-01-09 09:10:51 +08:00
|
|
|
config SOC_DEPRECATED_RELEASE
|
|
|
|
string
|
|
|
|
help
|
|
|
|
This hidden option is set in the SoC configuration and indicates
|
|
|
|
the Zephyr release that the SoC configuration will be removed.
|
|
|
|
When set, any build for that SoC will generate a clearly visible
|
|
|
|
deprecation warning.
|
2020-08-06 03:57:00 +08:00
|
|
|
|
|
|
|
config SOC_HAS_TIMING_FUNCTIONS
|
|
|
|
bool
|
|
|
|
help
|
|
|
|
Should be selected if SoC provides custom method for retrieving
|
|
|
|
timestamps and cycle count.
|
2022-10-27 21:37:15 +08:00
|
|
|
|
|
|
|
config SOC_HAS_RUNTIME_NUM_CPUS
|
|
|
|
bool
|
|
|
|
help
|
|
|
|
Should be selected if SoC handles determining the number of CPUs
|
|
|
|
at runtime.
|