1
0

Compare commits

...

1 Commits

Author SHA1 Message Date
100e45c9e2
Add RP2350 2025-03-24 19:40:02 +01:00
7 changed files with 21 additions and 24 deletions

28
.vscode/launch.json vendored
View File

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

View File

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