Skip to content

Commit

Permalink
kconfig: remove Kconfig BOARD_RPI_PICO_W safe guard.
Browse files Browse the repository at this point in the history
Boards are defining two Kconfigs, `BOARD_<board_name>` and
`BOARD_<board_name>_<identifier>`.

For the raspberry pi pico, this is then BOARD_RPI_PICO and
BOARD_RPI_PICO_RP2040 / BOARD_RPI_PICO_RP2040_W.

Thus there is no BOARD_RPI_PICO_W.
As all occurences with BOARD_RPI_PICO_W, is done as:
BOARD_RPI_PICO || BOARD_RPI_PICO_W, then simply remove BOARD_RPI_PICO_W.

Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
  • Loading branch information
tejlmand authored and nordicjm committed Jan 25, 2024
1 parent 14f6d33 commit 6587a81
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions boards/v2/raspberry_pi/rpi_pico/Kconfig.defconfig
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Copyright (c) 2021 Yonatan Schachter
# SPDX-License-Identifier: Apache-2.0

if BOARD_RPI_PICO || BOARD_RPI_PICO_W
if BOARD_RPI_PICO

config RP2_FLASH_W25Q080
default y
Expand All @@ -16,4 +16,4 @@ endif # I2C_DW
config USB_SELF_POWERED
default n

endif # BOARD_RPI_PICO || BOARD_RPI_PICO_W
endif # BOARD_RPI_PICO

0 comments on commit 6587a81

Please sign in to comment.