Skip to content

Commit 282f728

Browse files
57300nashif
authored andcommitted
doc: board_porting: Fix Kconfig.defconfig example
The part that says "Always set CONFIG_BOARD here" is outdated. In HWMv2, CONFIG_BOARD is set by the build system, and we don't want to encourage users to set it manually. Signed-off-by: Grzegorz Swiderski <grzegorz.swiderski@nordicsemi.no>
1 parent a7db1ea commit 282f728

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

doc/hardware/porting/board_porting.rst

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -571,13 +571,6 @@ files for a board named ``plank``:
571571
572572
if BOARD_PLANK
573573
574-
# Always set CONFIG_BOARD here. This isn't meant to be customized,
575-
# but is set as a "default" due to Kconfig language restrictions.
576-
config BOARD
577-
default "plank"
578-
579-
# Other options you want enabled by default go next. Examples:
580-
581574
config FOO
582575
default y
583576

0 commit comments

Comments
 (0)