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>
20 lines
260 B
Plaintext
20 lines
260 B
Plaintext
# Copyright (c) 2021 Yonatan Schachter
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
if BOARD_RPI_PICO
|
|
|
|
config RP2_FLASH_W25Q080
|
|
default y
|
|
|
|
if I2C_DW
|
|
|
|
config I2C_DW_CLOCK_SPEED
|
|
default 125
|
|
|
|
endif # I2C_DW
|
|
|
|
config USB_SELF_POWERED
|
|
default n
|
|
|
|
endif # BOARD_RPI_PICO
|