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
|
|
|
|
# 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
|
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.
|