1# Copyright (c) 2021-2023 Nordic Semiconductor
2#
3# SPDX-License-Identifier: Apache-2.0
4
5config BOARD
6	string
7	default "$(BOARD)"
8	help
9	  This option holds the name of the board and is used to locate the files
10	  related to the board in the source tree (under boards/).
11	  The Board is the first location where we search for a linker.ld file,
12	  if not found we look for the linker file in
13	  soc/<arch>/<family>/<series>
14
15config BOARD_REVISION
16	def_string "$(BOARD_REVISION)"
17	help
18	  If the BOARD has a revision field set, this is the revision.
19	  Otherwise, it is the empty string. For example, if BOARD is
20	  "plank@foo", this option will be "foo". If BOARD is "plank",
21	  this option will be the empty string.
22
23config BOARD_DEPRECATED_RELEASE
24	string
25	help
26	  This hidden option is set in the board configuration and indicates
27	  the Zephyr release that the board configuration will be removed.
28	  When set, any build for that board will generate a clearly visible
29	  deprecation warning.
30
31source "boards/Kconfig.v2"
32source "soc/Kconfig.v2"
33
34comment "Sysbuild image configuration"
35
36osource "$(KCONFIG_BOARD_DIR)/Kconfig.sysbuild"
37osource "$(KCONFIG_BINARY_DIR)/soc/Kconfig.sysbuild"
38
39menu "Modules"
40
41source "modules/Kconfig.sysbuild"
42
43endmenu
44
45config EXPERIMENTAL
46	bool
47	help
48	  Symbol that must be selected by a feature if it is considered to be
49	  at an experimental implementation stage.
50
51config WARN_EXPERIMENTAL
52	bool
53	prompt "Warn on experimental usage"
54	help
55	  Print a warning when the Kconfig tree is parsed if any experimental
56	  features are enabled.
57
58config DEPRECATED
59	bool
60	help
61	  Symbol that must be selected by a feature or module if it is
62	  considered to be deprecated.
63
64config WARN_DEPRECATED
65	bool
66	default y
67	prompt "Warn on deprecated usage"
68	help
69	  Print a warning when the Kconfig tree is parsed if any deprecated
70	  features are enabled.
71
72rsource "images/Kconfig"
73
74menu "Build options"
75
76rsource "build/Kconfig"
77
78endmenu
79