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:
@@ -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
|
||||
@@ -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
|
||||
5
boards/v2/raspberry_pi/rpi_pico/Kconfig.rpi_pico
Normal file
5
boards/v2/raspberry_pi/rpi_pico/Kconfig.rpi_pico
Normal file
@@ -0,0 +1,5 @@
|
||||
# Copyright (c) 2021 Yonatan Schachter
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
config BOARD_RPI_PICO
|
||||
select SOC_RP2040
|
||||
7
boards/v2/raspberry_pi/rpi_pico/board.yml
Normal file
7
boards/v2/raspberry_pi/rpi_pico/board.yml
Normal file
@@ -0,0 +1,7 @@
|
||||
board:
|
||||
name: rpi_pico
|
||||
vendor: Raspberry Pi
|
||||
socs:
|
||||
- name: rp2040
|
||||
variants:
|
||||
- name: w
|
||||
|
Before Width: | Height: | Size: 10 KiB After Width: | Height: | Size: 10 KiB |
|
Before Width: | Height: | Size: 18 KiB After Width: | Height: | Size: 18 KiB |
@@ -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
|
||||
@@ -1,4 +1,4 @@
|
||||
identifier: rpi_pico_w
|
||||
identifier: rpi_pico//w
|
||||
name: RaspberryPi-Pico-w
|
||||
type: mcu
|
||||
arch: arm
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user