6be1b2af9b
Always source the Zephyr base soc and shield (board root) Kconfigs directly from Kconfig instead of generated Kconfig files. This has the benefit that it is no longer necessary to generate Kconfig files to source SoC root and shield (board root) when no custom roots are provided. Also this cleans up the doc/CMakeLists.txt and ensures that the doc/CMakeLists.txt is not getting out of sync with the Kconfig.cmake. Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
56 lines
1.4 KiB
Plaintext
56 lines
1.4 KiB
Plaintext
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
choice
|
|
prompt "SoC/CPU/Configuration Selection"
|
|
|
|
# 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"
|
|
|
|
endchoice
|
|
|
|
menu "Hardware Configuration"
|
|
# 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"
|
|
|
|
module = SOC
|
|
module-str = SOC
|
|
source "subsys/logging/Kconfig.template.log_config"
|
|
|
|
endmenu
|
|
|
|
# The helper symbols below are put here due to an unusual setup: The simulated
|
|
# nrf52_bsim board uses the POSIX arch, but is compatible with Nordic ARM
|
|
# boards
|
|
|
|
config SOC_COMPATIBLE_NRF
|
|
bool
|
|
|
|
config SOC_COMPATIBLE_NRF52X
|
|
bool
|
|
|
|
config SOC_COMPATIBLE_NRF52832
|
|
bool
|
|
|
|
#
|
|
# SOC_*_LD: SoC specific Linker script additions
|
|
#
|
|
|
|
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.
|
|
|
|
config SOC_HAS_TIMING_FUNCTIONS
|
|
bool
|
|
help
|
|
Should be selected if SoC provides custom method for retrieving
|
|
timestamps and cycle count.
|