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"
|
|
|
|
|
2020-07-06 18:53:39 +08:00
|
|
|
source "$(KCONFIG_BINARY_DIR)/Kconfig.soc"
|
2018-09-04 21:32:07 +08:00
|
|
|
|
|
|
|
endchoice
|
|
|
|
|
|
|
|
menu "Hardware Configuration"
|
2020-07-06 18:53:39 +08:00
|
|
|
source "$(KCONFIG_BINARY_DIR)/Kconfig.soc.arch"
|
2018-09-04 21:32:07 +08:00
|
|
|
|
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.
|