1
0

Add RP2350

This commit is contained in:
JackCarterSmith 2025-03-24 19:40:02 +01:00
parent a4d6e13239
commit 100e45c9e2
Signed by: JackCarterSmith
GPG Key ID: 832E52F4E23F8F24
7 changed files with 21 additions and 24 deletions

28
.vscode/launch.json vendored
View File

@ -8,13 +8,13 @@
"request": "launch",
"type": "cortex-debug",
"servertype": "bmp",
"device": "RP2040",
"device": "RP2350",
// Windows for COM1-COM9 -> COM4
// Windows for COM10-XXX -> \\.\COM20
// Unix -> /dev/ttyACM0
"BMPGDBSerialPort": "\\\\.\\COM20",
//"showDevDebugOutput": "raw",
"svdFile": "${env:PICO_SDK_PATH}/src/rp2040/hardware_regs/rp2040.svd",
"svdFile": "${env:PICO_SDK_PATH}/src/rp2350/hardware_regs/RP2350.svd",
// Work around for stopping at main on restart
"runToEntryPoint": "main"
},
@ -27,12 +27,12 @@
"servertype": "openocd",
// This may need to be arm-none-eabi-gdb depending on your system
"gdbPath" : "${env:PICO_GDB}",
"device": "RP2040",
"device": "RP2350",
"openOCDLaunchCommands": [
"adapter speed 5000"
],
"configFiles": ["interface/picoprobe.cfg","target/rp2040.cfg"],
"svdFile": "${env:PICO_SDK_PATH}/src/rp2040/hardware_regs/rp2040.svd",
"configFiles": ["interface/picoprobe.cfg","target/rp2350.cfg"],
"svdFile": "${env:PICO_SDK_PATH}/src/rp2350/hardware_regs/RP2350.svd",
// Work around for stopping at main on restart
"runToEntryPoint": "main"
},
@ -44,12 +44,12 @@
"type": "cortex-debug",
"servertype": "openocd",
"gdbPath" : "${env:PICO_GDB}",
"device": "RP2040",
"device": "RP2350",
"openOCDLaunchCommands": [
"adapter speed 5000"
],
"configFiles": ["interface/cmsis-dap.cfg","target/rp2040.cfg"],
"svdFile": "${env:PICO_SDK_PATH}/src/rp2040/hardware_regs/rp2040.svd",
"configFiles": ["interface/cmsis-dap.cfg","target/rp2350.cfg"],
"svdFile": "${env:PICO_SDK_PATH}/src/rp2350/hardware_regs/RP2350.svd",
// Work around for stopping at main on restart
"runToEntryPoint": "main"
},
@ -61,13 +61,13 @@
"type": "cortex-debug",
"servertype": "openocd",
"gdbPath" : "${env:PICO_GDB}",
"device": "RP2040",
"device": "RP2350",
"openOCDLaunchCommands": [
"adapter speed 5000",
"program ${command:cmake.launchTargetFilename} verify reset exit"
],
"configFiles": ["interface/cmsis-dap.cfg","target/rp2040.cfg"],
"svdFile": "${env:PICO_SDK_PATH}/src/rp2040/hardware_regs/rp2040.svd"
"configFiles": ["interface/cmsis-dap.cfg","target/rp2350.cfg"],
"svdFile": "${env:PICO_SDK_PATH}/src/rp2350/hardware_regs/RP2350.svd"
},
{
"name": "Debug (J-Link)",
@ -75,12 +75,12 @@
"executable": "${command:cmake.launchTargetPath}",
"request": "launch",
"type": "cortex-debug",
"serverpath": "C:/Program Files/SEGGER/JLink_V782d/JLinkGDBServerCL.exe",
"serverpath": "C:/Program Files/SEGGER/JLink_V822d/JLinkGDBServerCL.exe",
"servertype": "jlink",
"gdbPath": "${env:PICO_GDB}",
"device": "RP2040_M0_0",
"device": "RP2350_M33_0",
"interface": "swd",
"svdFile": "${env:PICO_SDK_PATH}/src/rp2040/hardware_regs/rp2040.svd",
"svdFile": "${env:PICO_SDK_PATH}/src/rp2350/hardware_regs/RP2350.svd",
"runToEntryPoint": "main"
}
]

View File

@ -1,6 +1,6 @@
cmake_minimum_required(VERSION 3.12)
set(ENV{PICO_PLATFORM} "rp2040")
set(ENV{PICO_PLATFORM} "rp2350")
# Pull in SDK (must be before project)
include(pico_sdk_import.cmake)

BIN
doc/getting-started-with-pico.pdf (Stored with Git LFS)

Binary file not shown.

BIN
doc/pico-2-datasheet.pdf (Stored with Git LFS) Normal file

Binary file not shown.

BIN
doc/pico-datasheet.pdf (Stored with Git LFS)

Binary file not shown.

BIN
doc/rp2040-datasheet.pdf (Stored with Git LFS)

Binary file not shown.

BIN
doc/rp2350-datasheet.pdf (Stored with Git LFS) Normal file

Binary file not shown.