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.
6menu "Hardware Configuration"
7
8rsource "Kconfig.v2"
9
10# Source Zephyr Kconfig specifics from SoC roots.
11osource "$(KCONFIG_BINARY_DIR)/soc/Kconfig"
12
13# Source common Kconfig file
14osource "soc/common/Kconfig"
15
16module = SOC
17module-str = SOC
18source "subsys/logging/Kconfig.template.log_config"
19
20endmenu
21
22# The helper symbols below are put here due to an unusual setup: The simulated
23# nrf5x_bsim boards use the POSIX arch, but are compatible with Nordic ARM boards
24
25config SOC_COMPATIBLE_NRF
26	bool
27
28config SOC_COMPATIBLE_NRF52X
29	bool
30
31config SOC_COMPATIBLE_NRF53X
32	bool
33
34config SOC_COMPATIBLE_NRF54LX
35	bool
36
37config SOC_COMPATIBLE_NRF52833
38	bool
39
40config SOC_COMPATIBLE_NRF5340_CPUNET
41	bool
42
43config SOC_COMPATIBLE_NRF5340_CPUAPP
44	bool
45
46config SOC_COMPATIBLE_NRF54L15
47	bool
48
49config SOC_COMPATIBLE_NRF54L15_CPUAPP
50	bool
51
52config SOC_DEPRECATED_RELEASE
53	string
54	help
55	  This hidden option is set in the SoC configuration and indicates
56	  the Zephyr release that the SoC configuration will be removed.
57	  When set, any build for that SoC will generate a clearly visible
58	  deprecation warning.
59	  When adding this to a SOC, remember to follow the instructions in
60	  https://docs.zephyrproject.org/latest/develop/api/api_lifecycle.html#deprecated
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