1# SPDX-License-Identifier: Apache-2.0 2 3# Only v1 model has choice for SoC selection, therefore the optional source 4# Sourced here and not in Kconfig.v1 to keep current SoC/CPU selection menu 5# side-by-side with "Hardware Configuration" in the menu structure. 6orsource "Kconfig.$(HWM_SCHEME).choice" 7 8menu "Hardware Configuration" 9 10rsource "Kconfig.$(HWM_SCHEME)" 11 12# Source Zephyr Kconfig specifics from SoC roots. 13osource "$(KCONFIG_BINARY_DIR)/soc/Kconfig" 14 15# Source common Kconfig file 16osource "soc/common/Kconfig" 17 18module = SOC 19module-str = SOC 20source "subsys/logging/Kconfig.template.log_config" 21 22endmenu 23 24# The helper symbols below are put here due to an unusual setup: The simulated 25# nrf5x_bsim boards use the POSIX arch, but are compatible with Nordic ARM boards 26 27config SOC_COMPATIBLE_NRF 28 bool 29 30config SOC_COMPATIBLE_NRF52X 31 bool 32 33config SOC_COMPATIBLE_NRF53X 34 bool 35 36config SOC_COMPATIBLE_NRF54LX 37 bool 38 39config SOC_COMPATIBLE_NRF52833 40 bool 41 42config SOC_COMPATIBLE_NRF5340_CPUNET 43 bool 44 45config SOC_COMPATIBLE_NRF5340_CPUAPP 46 bool 47 48config SOC_COMPATIBLE_NRF54L15 49 bool 50 51config SOC_COMPATIBLE_NRF54L15_CPUAPP 52 bool 53 54config SOC_DEPRECATED_RELEASE 55 string 56 help 57 This hidden option is set in the SoC configuration and indicates 58 the Zephyr release that the SoC configuration will be removed. 59 When set, any build for that SoC will generate a clearly visible 60 deprecation warning. 61 62config SOC_HAS_TIMING_FUNCTIONS 63 bool 64 help 65 Should be selected if SoC provides custom method for retrieving 66 timestamps and cycle count. 67 68config SOC_HAS_RUNTIME_NUM_CPUS 69 bool 70 help 71 Should be selected if SoC handles determining the number of CPUs 72 at runtime. 73