blob: af32c5c5cf321c0c1f98a9a1c81018ba010b7073 [file] [log] [blame]
Anas Nashif3ae52622019-04-06 09:08:09 -04001# SPDX-License-Identifier: Apache-2.0
2
Torsten Rasmussen8dc3f852022-09-14 22:23:15 +02003# 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"
Anas Nashifabcf2ad2018-09-04 08:32:07 -05007
8menu "Hardware Configuration"
Torsten Rasmussen8dc3f852022-09-14 22:23:15 +02009
10rsource "Kconfig.$(HWM_SCHEME)"
11
Torsten Rasmussen8dc3f852022-09-14 22:23:15 +020012# Source Zephyr Kconfig specifics from SoC roots.
13osource "$(KCONFIG_BINARY_DIR)/soc/Kconfig"
14
15# Source common Kconfig file
16osource "soc/common/Kconfig"
Anas Nashif071c9dc2018-09-17 10:39:56 -050017
18module = SOC
19module-str = SOC
20source "subsys/logging/Kconfig.template.log_config"
21
Anas Nashifabcf2ad2018-09-04 08:32:07 -050022endmenu
Alberto Escolar Piedraseea73e12018-10-03 15:51:11 +020023
24# The helper symbols below are put here due to an unusual setup: The simulated
Alberto Escolar Piedras0e8f97d2023-09-12 09:43:08 +020025# nrf5x_bsim boards use the POSIX arch, but are compatible with Nordic ARM boards
Alberto Escolar Piedraseea73e12018-10-03 15:51:11 +020026
27config SOC_COMPATIBLE_NRF
28 bool
29
30config SOC_COMPATIBLE_NRF52X
31 bool
32
Alberto Escolar Piedras0e8f97d2023-09-12 09:43:08 +020033config SOC_COMPATIBLE_NRF53X
34 bool
35
Alberto Escolar Piedras7ab8e392024-05-06 13:06:06 +020036config SOC_COMPATIBLE_NRF54LX
37 bool
38
Alberto Escolar Piedras8a527352023-01-24 11:03:45 +010039config SOC_COMPATIBLE_NRF52833
Alberto Escolar Piedraseea73e12018-10-03 15:51:11 +020040 bool
Daniel Leung1134e592018-10-19 10:15:19 -070041
Alberto Escolar Piedras0e8f97d2023-09-12 09:43:08 +020042config SOC_COMPATIBLE_NRF5340_CPUNET
43 bool
44
45config SOC_COMPATIBLE_NRF5340_CPUAPP
46 bool
47
Alberto Escolar Piedras7ab8e392024-05-06 13:06:06 +020048config SOC_COMPATIBLE_NRF54L15
49 bool
50
51config SOC_COMPATIBLE_NRF54L15_CPUAPP
52 bool
53
Vincent Wan180b4df2020-01-08 17:10:51 -080054config 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.
Alberto Escolar Piedras50145bb2024-08-13 10:30:22 +020061 When adding this to a SOC, remember to follow the instructions in
62 https://docs.zephyrproject.org/latest/develop/api/api_lifecycle.html#deprecated
Daniel Leung0ffcfa92020-08-05 12:57:00 -070063
64config SOC_HAS_TIMING_FUNCTIONS
65 bool
66 help
67 Should be selected if SoC provides custom method for retrieving
68 timestamps and cycle count.
Kumar Gala6bdd91e2022-10-27 08:37:15 -050069
70config SOC_HAS_RUNTIME_NUM_CPUS
71 bool
72 help
73 Should be selected if SoC handles determining the number of CPUs
74 at runtime.