boards: arm: rpi_pico: Convert to v2

Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
This commit is contained in:
Jamie McCrae
2024-01-11 10:12:55 +00:00
parent 42cff42c42
commit 8d3896caa4
17 changed files with 14 additions and 22 deletions

View File

@@ -1,10 +0,0 @@
# Copyright (c) 2021 Yonatan Schachter
# SPDX-License-Identifier: Apache-2.0
config BOARD_RPI_PICO
bool "Raspberry Pi Pico Board"
depends on SOC_RP2040
config BOARD_RPI_PICO_W
bool "Raspberry Pi Pico W Board"
depends on SOC_RP2040

View File

@@ -3,10 +3,6 @@
if BOARD_RPI_PICO || BOARD_RPI_PICO_W
config BOARD
default "rpi_pico" if BOARD_RPI_PICO
default "rpi_pico_w" if BOARD_RPI_PICO_W
config RP2_FLASH_W25Q080
default y
@@ -15,7 +11,7 @@ if I2C_DW
config I2C_DW_CLOCK_SPEED
default 125
endif #I2C_DW
endif # I2C_DW
config USB_SELF_POWERED
default n

View File

@@ -0,0 +1,5 @@
# Copyright (c) 2021 Yonatan Schachter
# SPDX-License-Identifier: Apache-2.0
config BOARD_RPI_PICO
select SOC_RP2040

View File

@@ -0,0 +1,7 @@
board:
name: rpi_pico
vendor: Raspberry Pi
socs:
- name: rp2040
variants:
- name: w

View File

Before

Width:  |  Height:  |  Size: 10 KiB

After

Width:  |  Height:  |  Size: 10 KiB

View File

Before

Width:  |  Height:  |  Size: 18 KiB

After

Width:  |  Height:  |  Size: 18 KiB

View File

@@ -1,6 +1,3 @@
CONFIG_SOC_SERIES_RP2XXX=y
CONFIG_SOC_RP2040=y
CONFIG_BOARD_RPI_PICO=y
CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC=125000000
CONFIG_SERIAL=y
CONFIG_CONSOLE=y

View File

@@ -1,4 +1,4 @@
identifier: rpi_pico_w
identifier: rpi_pico//w
name: RaspberryPi-Pico-w
type: mcu
arch: arm

View File

@@ -1,6 +1,3 @@
CONFIG_SOC_SERIES_RP2XXX=y
CONFIG_SOC_RP2040=y
CONFIG_BOARD_RPI_PICO_W=y
CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC=125000000
CONFIG_SERIAL=y
CONFIG_CONSOLE=y