Skip to content

Commit

Permalink
doc: board_porting: Fix Kconfig.defconfig example
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
57300 authored and nashif committed Jun 25, 2024
1 parent a7db1ea commit 282f728
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions doc/hardware/porting/board_porting.rst
Original file line number Diff line number Diff line change
Expand Up @@ -571,13 +571,6 @@ files for a board named ``plank``:
if BOARD_PLANK
# Always set CONFIG_BOARD here. This isn't meant to be customized,
# but is set as a "default" due to Kconfig language restrictions.
config BOARD
default "plank"
# Other options you want enabled by default go next. Examples:
config FOO
default y
Expand Down

0 comments on commit 282f728

Please sign in to comment.