Skip to content

Commit ba2b0ac

Browse files
committed
boards/rpi-pico-2: rename arm pico 2 version to rpi-pico-2-arm
1 parent 86ef1f4 commit ba2b0ac

File tree

10 files changed

+10
-7
lines changed

10 files changed

+10
-7
lines changed

boards/rpi-pico-2/Kconfig renamed to boards/rpi-pico-2-arm/Kconfig

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
# SPDX-License-Identifier: LGPL-2.1-only
44

55
config BOARD
6-
default "rpi-pico-2" if BOARD_RPI_PICO_2
6+
default "rpi-pico-2-arm" if BOARD_RPI_PICO_2_ARM
77

8-
config BOARD_RPI_PICO_2
8+
config BOARD_RPI_PICO_2_ARM
99
bool
1010
default y
11-
select CPU_MODEL_RP2350_RISCV
11+
select CPU_MODEL_RP2350_ARM
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
echo "Make sure to use the Raspberry Pi OpenOCD version!"
2+
echo "For further details see Appendix A Building OpenOCD:"
3+
echo "https://datasheets.raspberrypi.com/pico/getting-started-with-pico.pdf"
24
source [find target/rp2350.cfg]
3-
set USE_CORE 0
5+
set USE_CORE SMP
46
set RESCUE 1
57
$_TARGETNAME_0 configure -rtos auto
68
adapter speed 5000
79
rp2350.dap.core1 cortex_m reset_config sysresetreq
10+
rp2350.dap.core0 cortex_m reset_config sysresetreq

boards/rpi-pico-2/doc.md renamed to boards/rpi-pico-2-arm/doc.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,21 +76,21 @@ To do this, you need to connect the board to your computer
7676
and use the following command:
7777

7878
```bash
79-
PROGRAMMER=openocd BOARD=rpi-pico-2 make flash
79+
PROGRAMMER=openocd BOARD=rpi-pico-2-arm make flash
8080
```
8181

8282
You can then debug your application using GDB with the following command:
8383

8484
```bash
85-
PROGRAMMER=openocd BOARD=rpi-pico-2 make debug
85+
PROGRAMMER=openocd BOARD=rpi-pico-2-arm make debug
8686
```
8787

8888
### Flashing using Picotool
8989

9090
Simply connect the board to your computer via USB and use the following command:
9191

9292
```bash
93-
BOARD=rpi-pico-2 make flash
93+
BOARD=rpi-pico-2-arm make flash
9494
```
9595

9696
This is the default method for flashing the Raspberry Pi Pico 2.
File renamed without changes.

0 commit comments

Comments
 (0)