Commit 70fc4a3e authored by TOKITA Hiroshi's avatar TOKITA Hiroshi Committed by Benjamin Cabé
Browse files

boards: pimoroni: pico_plus2: Add Pimoroni Pico Plus2 board

Pinoroni Pico Plus2 is an RP2350B based board that has
more rich I/O, RAM, and Flash than the original Raspberry Pi Pico2.

Signed-off-by: default avatarTOKITA Hiroshi <tokita.hiroshi@gmail.com>
parent 12347201
Loading
Loading
Loading
Loading
+10 −0
Changes for boards/pimoroni/index.rst: 10 added lines, 0 removed lines.
Original line number Diff line number Diff line
.. _boards-pimoroni:

Pimoroni Ltd.
#############

.. toctree::
   :maxdepth: 1
   :glob:

   **/*
+9 −0
Changes for boards/pimoroni/pico_plus2/Kconfig.defconfig: 9 added lines, 0 removed lines.
Original line number Diff line number Diff line
# Copyright (c) 2024 TOKITA Hiroshi
# SPDX-License-Identifier: Apache-2.0

if BOARD_PICO_PLUS2

config USB_SELF_POWERED
	default n

endif # BOARD_PICO_PLUS2
+5 −0
Changes for boards/pimoroni/pico_plus2/Kconfig.pico_plus2: 5 added lines, 0 removed lines.
Original line number Diff line number Diff line
# Copyright (c) 2024 TOKITA Hiroshi
# SPDX-License-Identifier: Apache-2.0

config BOARD_PICO_PLUS2
	select SOC_RP2350B_M33 if BOARD_PICO_PLUS2_RP2350B_M33
+14 −0
Changes for boards/pimoroni/pico_plus2/board.cmake: 14 added lines, 0 removed lines.
Original line number Diff line number Diff line
# SPDX-License-Identifier: Apache-2.0

board_runner_args(openocd --cmd-pre-init "source [find interface/cmsis-dap.cfg]")
board_runner_args(openocd --cmd-pre-init "source [find target/rp2350.cfg]")

# The adapter speed is expected to be set by interface configuration.
# The Raspberry Pi's OpenOCD fork doesn't, so match their documentation at
# https://www.raspberrypi.com/documentation/microcontrollers/debug-probe.html#debugging-with-swd
board_runner_args(openocd --cmd-pre-init "set_adapter_speed_if_not_set 5000")

board_runner_args(uf2 "--board-id=RP2350")

include(${ZEPHYR_BASE}/boards/common/openocd.board.cmake)
include(${ZEPHYR_BASE}/boards/common/uf2.board.cmake)
+6 −0
Changes for boards/pimoroni/pico_plus2/board.yml: 6 added lines, 0 removed lines.
Original line number Diff line number Diff line
board:
  name: pico_plus2
  full_name: Pimoroni Pico Plus2
  vendor: pimoroni
  socs:
  - name: rp2350b
Loading