Compare commits
No commits in common. "sdk2.1.1-rp2350" and "rp2040" have entirely different histories.
sdk2.1.1-r
...
rp2040
28
.vscode/launch.json
vendored
28
.vscode/launch.json
vendored
@ -8,13 +8,13 @@
|
|||||||
"request": "launch",
|
"request": "launch",
|
||||||
"type": "cortex-debug",
|
"type": "cortex-debug",
|
||||||
"servertype": "bmp",
|
"servertype": "bmp",
|
||||||
"device": "RP2350",
|
"device": "RP2040",
|
||||||
// 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/rp2350/hardware_regs/RP2350.svd",
|
"svdFile": "${env:PICO_SDK_PATH}/src/rp2040/hardware_regs/rp2040.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": "RP2350",
|
"device": "RP2040",
|
||||||
"openOCDLaunchCommands": [
|
"openOCDLaunchCommands": [
|
||||||
"adapter speed 5000"
|
"adapter speed 5000"
|
||||||
],
|
],
|
||||||
"configFiles": ["interface/picoprobe.cfg","target/rp2350.cfg"],
|
"configFiles": ["interface/picoprobe.cfg","target/rp2040.cfg"],
|
||||||
"svdFile": "${env:PICO_SDK_PATH}/src/rp2350/hardware_regs/RP2350.svd",
|
"svdFile": "${env:PICO_SDK_PATH}/src/rp2040/hardware_regs/rp2040.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": "RP2350",
|
"device": "RP2040",
|
||||||
"openOCDLaunchCommands": [
|
"openOCDLaunchCommands": [
|
||||||
"adapter speed 5000"
|
"adapter speed 5000"
|
||||||
],
|
],
|
||||||
"configFiles": ["interface/cmsis-dap.cfg","target/rp2350.cfg"],
|
"configFiles": ["interface/cmsis-dap.cfg","target/rp2040.cfg"],
|
||||||
"svdFile": "${env:PICO_SDK_PATH}/src/rp2350/hardware_regs/RP2350.svd",
|
"svdFile": "${env:PICO_SDK_PATH}/src/rp2040/hardware_regs/rp2040.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": "RP2350",
|
"device": "RP2040",
|
||||||
"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/rp2350.cfg"],
|
"configFiles": ["interface/cmsis-dap.cfg","target/rp2040.cfg"],
|
||||||
"svdFile": "${env:PICO_SDK_PATH}/src/rp2350/hardware_regs/RP2350.svd"
|
"svdFile": "${env:PICO_SDK_PATH}/src/rp2040/hardware_regs/rp2040.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_V822d/JLinkGDBServerCL.exe",
|
"serverpath": "C:/Program Files/SEGGER/JLink_V782d/JLinkGDBServerCL.exe",
|
||||||
"servertype": "jlink",
|
"servertype": "jlink",
|
||||||
"gdbPath": "${env:PICO_GDB}",
|
"gdbPath": "${env:PICO_GDB}",
|
||||||
"device": "RP2350_M33_0",
|
"device": "RP2040_M0_0",
|
||||||
"interface": "swd",
|
"interface": "swd",
|
||||||
"svdFile": "${env:PICO_SDK_PATH}/src/rp2350/hardware_regs/RP2350.svd",
|
"svdFile": "${env:PICO_SDK_PATH}/src/rp2040/hardware_regs/rp2040.svd",
|
||||||
"runToEntryPoint": "main"
|
"runToEntryPoint": "main"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
cmake_minimum_required(VERSION 3.12)
|
cmake_minimum_required(VERSION 3.12)
|
||||||
|
|
||||||
set(ENV{PICO_PLATFORM} "rp2350")
|
set(ENV{PICO_PLATFORM} "rp2040")
|
||||||
|
|
||||||
# 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)
Normal file
BIN
doc/getting-started-with-pico.pdf
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
doc/pico-2-datasheet.pdf
(Stored with Git LFS)
BIN
doc/pico-2-datasheet.pdf
(Stored with Git LFS)
Binary file not shown.
BIN
doc/pico-datasheet.pdf
(Stored with Git LFS)
Normal file
BIN
doc/pico-datasheet.pdf
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
doc/rp2040-datasheet.pdf
(Stored with Git LFS)
Normal file
BIN
doc/rp2040-datasheet.pdf
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
doc/rp2350-datasheet.pdf
(Stored with Git LFS)
BIN
doc/rp2350-datasheet.pdf
(Stored with Git LFS)
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user