Browse Source

kconfig: remove Kconfig BOARD_RPI_PICO_W safe guard.

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>
pull/69687/head
Torsten Rasmussen 1 year ago committed by Jamie McCrae
parent
commit
6be3d4bc80
  1. 4
      boards/v2/raspberry_pi/rpi_pico/Kconfig.defconfig

4
boards/v2/raspberry_pi/rpi_pico/Kconfig.defconfig

@ -1,7 +1,7 @@ @@ -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
@ -16,4 +16,4 @@ endif # I2C_DW @@ -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

Loading…
Cancel
Save