Anas Nashif | 3ae5262 | 2019-04-06 09:08:09 -0400 | [diff] [blame] | 1 | # SPDX-License-Identifier: Apache-2.0 |
| 2 | |
Torsten Rasmussen | 8dc3f85 | 2022-09-14 22:23:15 +0200 | [diff] [blame] | 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. |
| 6 | orsource "Kconfig.$(HWM_SCHEME).choice" |
Anas Nashif | abcf2ad | 2018-09-04 08:32:07 -0500 | [diff] [blame] | 7 | |
| 8 | menu "Hardware Configuration" |
Torsten Rasmussen | 8dc3f85 | 2022-09-14 22:23:15 +0200 | [diff] [blame] | 9 | |
| 10 | rsource "Kconfig.$(HWM_SCHEME)" |
| 11 | |
Torsten Rasmussen | 8dc3f85 | 2022-09-14 22:23:15 +0200 | [diff] [blame] | 12 | # Source Zephyr Kconfig specifics from SoC roots. |
| 13 | osource "$(KCONFIG_BINARY_DIR)/soc/Kconfig" |
| 14 | |
| 15 | # Source common Kconfig file |
| 16 | osource "soc/common/Kconfig" |
Anas Nashif | 071c9dc | 2018-09-17 10:39:56 -0500 | [diff] [blame] | 17 | |
| 18 | module = SOC |
| 19 | module-str = SOC |
| 20 | source "subsys/logging/Kconfig.template.log_config" |
| 21 | |
Anas Nashif | abcf2ad | 2018-09-04 08:32:07 -0500 | [diff] [blame] | 22 | endmenu |
Alberto Escolar Piedras | eea73e1 | 2018-10-03 15:51:11 +0200 | [diff] [blame] | 23 | |
| 24 | # The helper symbols below are put here due to an unusual setup: The simulated |
Alberto Escolar Piedras | 0e8f97d | 2023-09-12 09:43:08 +0200 | [diff] [blame] | 25 | # nrf5x_bsim boards use the POSIX arch, but are compatible with Nordic ARM boards |
Alberto Escolar Piedras | eea73e1 | 2018-10-03 15:51:11 +0200 | [diff] [blame] | 26 | |
| 27 | config SOC_COMPATIBLE_NRF |
| 28 | bool |
| 29 | |
| 30 | config SOC_COMPATIBLE_NRF52X |
| 31 | bool |
| 32 | |
Alberto Escolar Piedras | 0e8f97d | 2023-09-12 09:43:08 +0200 | [diff] [blame] | 33 | config SOC_COMPATIBLE_NRF53X |
| 34 | bool |
| 35 | |
Alberto Escolar Piedras | 7ab8e39 | 2024-05-06 13:06:06 +0200 | [diff] [blame] | 36 | config SOC_COMPATIBLE_NRF54LX |
| 37 | bool |
| 38 | |
Alberto Escolar Piedras | 8a52735 | 2023-01-24 11:03:45 +0100 | [diff] [blame] | 39 | config SOC_COMPATIBLE_NRF52833 |
Alberto Escolar Piedras | eea73e1 | 2018-10-03 15:51:11 +0200 | [diff] [blame] | 40 | bool |
Daniel Leung | 1134e59 | 2018-10-19 10:15:19 -0700 | [diff] [blame] | 41 | |
Alberto Escolar Piedras | 0e8f97d | 2023-09-12 09:43:08 +0200 | [diff] [blame] | 42 | config SOC_COMPATIBLE_NRF5340_CPUNET |
| 43 | bool |
| 44 | |
| 45 | config SOC_COMPATIBLE_NRF5340_CPUAPP |
| 46 | bool |
| 47 | |
Alberto Escolar Piedras | 7ab8e39 | 2024-05-06 13:06:06 +0200 | [diff] [blame] | 48 | config SOC_COMPATIBLE_NRF54L15 |
| 49 | bool |
| 50 | |
| 51 | config SOC_COMPATIBLE_NRF54L15_CPUAPP |
| 52 | bool |
| 53 | |
Vincent Wan | 180b4df | 2020-01-08 17:10:51 -0800 | [diff] [blame] | 54 | config 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 Piedras | 50145bb | 2024-08-13 10:30:22 +0200 | [diff] [blame] | 61 | 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 Leung | 0ffcfa9 | 2020-08-05 12:57:00 -0700 | [diff] [blame] | 63 | |
| 64 | config 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 Gala | 6bdd91e | 2022-10-27 08:37:15 -0500 | [diff] [blame] | 69 | |
| 70 | config SOC_HAS_RUNTIME_NUM_CPUS |
| 71 | bool |
| 72 | help |
| 73 | Should be selected if SoC handles determining the number of CPUs |
| 74 | at runtime. |