Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Flash Built Binary and Start Remote Session",
"cwd": "${workspaceRoot}",
"executable": "${workspaceRoot}/firmware/build/tinymovr_fw.elf",
"request": "launch",
"type": "cortex-debug",
"servertype": "jlink",
"serverpath": "JLinkGDBServerCL",
"ipAddress": "0.0.0.0:19020",
"device": "PAC55XX",
"serverArgs": [
"-JLinkDevicesXMLPath",
"${workspaceRoot}/firmware/pac55xx_device_pack/"
// "-speed 2000"
],
"svdFile": "${workspaceRoot}/firmware/pac55xx_device_pack/PAC55XX.svd",
"runToEntryPoint": "main"
},
{
"cwd": "${workspaceRoot}",
"executable": "${workspaceRoot}/firmware/build/tinymovr_fw.elf",
"name": "Rebuild Debug and Start Session",
"request": "launch",
"type": "cortex-debug",
"servertype": "jlink",
"device": "PAC55XX",
"interface": "swd",
"preLaunchCommands": [
// Set JTAG speed in kHz
"monitor speed 1000"
],
"serverArgs": [
"-JLinkDevicesXMLPath",
"${workspaceRoot}/firmware/pac55xx_device_pack/"
// "-speed 2000"
],
"runToEntryPoint": "main",
"svdFile": "${workspaceRoot}/firmware/pac55xx_device_pack/PAC55XX.svd",
"preLaunchTask": "Clean and Build Project (Debug)",
"windows": {
// Update the path below as necessary
"serverpath": "C:\\Program Files\\SEGGER\\JLink\\JLinkGDBServerCL.exe"
},
"linux": {
// Update the path below as necessary
"serverpath": "/opt/SEGGER/JLink/JLinkGDBServer"
}
},
{
"cwd": "${workspaceRoot}",
"executable": "${workspaceRoot}/firmware/build/tinymovr_fw.elf",
"name": "Rebuild Release and Flash",
"request": "launch",
"type": "cortex-debug",
"servertype": "jlink",
"device": "PAC55XX",
"interface": "swd",
"preLaunchCommands": [
// Set JTAG speed in kHz
"monitor speed 1000"
],
"serverArgs": [
"-JLinkDevicesXMLPath",
"${workspaceRoot}/firmware/pac55xx_device_pack/"
],
"svdFile": "${workspaceRoot}/firmware/pac55xx_device_pack/PAC55XX.svd",
"preLaunchTask": "Clean and Build Project (Release)",
"windows": {
// Update the path below as necessary
"serverpath": "C:\\Program Files\\SEGGER\\JLink\\JLinkGDBServerCL.exe"
},
"linux": {
// Update the path below as necessary
"serverpath": "/opt/SEGGER/JLink/JLinkGDBServer"
}
},
{
"cwd": "${workspaceRoot}",
"executable": "${workspaceRoot}/firmware/build/tinymovr_fw.elf",
"name": "Flash Built Binary and Start Session",
"request": "launch",
"type": "cortex-debug",
"servertype": "jlink",
"device": "PAC55XX",
"interface": "swd",
"preLaunchCommands": [
// Set JTAG speed in kHz
"monitor speed 1000"
],
"serverArgs": [
"-JLinkDevicesXMLPath",
"${workspaceRoot}/firmware/pac55xx_device_pack/"
// "-speed 2000"
],
"runToEntryPoint": "main",
"svdFile": "${workspaceRoot}/firmware/pac55xx_device_pack/PAC55XX.svd",
"windows": {
// Update the path below as necessary
"serverpath": "C:\\Program Files\\SEGGER\\JLink\\JLinkGDBServerCL.exe"
},
"linux": {
// Update the path below as necessary
"serverpath": "/opt/SEGGER/JLink/JLinkGDBServer"
}
},
{
"cwd": "${workspaceRoot}",
"executable": "${workspaceRoot}/firmware/build/tinymovr_fw.elf",
"name": "Flash Built Binary",
"request": "launch",
"type": "cortex-debug",
"servertype": "jlink",
"device": "PAC55XX",
"interface": "swd",
"preLaunchCommands": [
// Set JTAG speed in kHz
"monitor speed 1000"
],
"serverArgs": [
"-JLinkDevicesXMLPath",
"${workspaceRoot}/firmware/pac55xx_device_pack/"
],
"svdFile": "${workspaceRoot}/firmware/pac55xx_device_pack/PAC55XX.svd",
"windows": {
// Update the path below as necessary
"serverpath": "C:\\Program Files\\SEGGER\\JLink\\JLinkGDBServerCL.exe"
},
"linux": {
// Update the path below as necessary
"serverpath": "/opt/SEGGER/JLink/JLinkGDBServer"
}
},
{
"cwd": "${workspaceRoot}",
"executable": "${workspaceRoot}/firmware/build/tinymovr_fw.elf",
"name": "Attach to Target",
"request": "attach",
"type": "cortex-debug",
"servertype": "jlink",
"device": "PAC55XX",
"interface": "swd",
"svdFile": "${workspaceRoot}/firmware/pac55xx_device_pack/PAC55XX.svd",
"serverArgs": [
"-JLinkDevicesXMLPath",
"${workspaceRoot}/firmware/pac55xx_device_pack/"
// "-speed 2000"
],
"windows": {
// Update the path below as necessary
"serverpath": "C:\\Program Files\\SEGGER\\JLink\\JLinkGDBServerCL.exe"
},
"linux": {
// Update the path below as necessary
"serverpath": "/opt/SEGGER/JLink/JLinkGDBServer"
}
},
// ============================================================
// ST-Link / PyOCD Configurations
// ============================================================
{
"name": "[ST-Link] Rebuild Debug and Start Session",
"cwd": "${workspaceRoot}",
"executable": "${workspaceRoot}/firmware/build/tinymovr_fw.elf",
"request": "attach",
"type": "cortex-debug",
"servertype": "external",
"gdbTarget": "localhost:3333",
"device": "pac5527",
"svdFile": "${workspaceRoot}/firmware/pac55xx_device_pack/PAC55XX.svd",
"runToEntryPoint": "main",
"preLaunchTask": "ST-Link: Build Debug and Start Server",
"postDebugTask": "Stop PyOCD Server"
},
{
"name": "[ST-Link] Rebuild Release and Flash",
"cwd": "${workspaceRoot}",
"executable": "${workspaceRoot}/firmware/build/tinymovr_fw.elf",
"request": "attach",
"type": "cortex-debug",
"servertype": "external",
"gdbTarget": "localhost:3333",
"device": "pac5527",
"svdFile": "${workspaceRoot}/firmware/pac55xx_device_pack/PAC55XX.svd",
"preLaunchTask": "ST-Link: Build Release, Flash and Start Server",
"postDebugTask": "Stop PyOCD Server"
},
{
"name": "[ST-Link] Flash Built Binary and Start Session",
"cwd": "${workspaceRoot}",
"executable": "${workspaceRoot}/firmware/build/tinymovr_fw.elf",
"request": "attach",
"type": "cortex-debug",
"servertype": "external",
"gdbTarget": "localhost:3333",
"device": "pac5527",
"svdFile": "${workspaceRoot}/firmware/pac55xx_device_pack/PAC55XX.svd",
"runToEntryPoint": "main",
"preLaunchTask": "ST-Link: Flash and Start Server",
"postDebugTask": "Stop PyOCD Server"
},
{
"name": "[ST-Link] Flash Built Binary",
"cwd": "${workspaceRoot}",
"executable": "${workspaceRoot}/firmware/build/tinymovr_fw.elf",
"request": "attach",
"type": "cortex-debug",
"servertype": "external",
"gdbTarget": "localhost:3333",
"device": "pac5527",
"svdFile": "${workspaceRoot}/firmware/pac55xx_device_pack/PAC55XX.svd",
"preLaunchTask": "ST-Link: Flash and Start Server",
"postDebugTask": "Stop PyOCD Server"
},
{
"name": "[ST-Link] Attach to Target",
"cwd": "${workspaceRoot}",
"executable": "${workspaceRoot}/firmware/build/tinymovr_fw.elf",
"request": "attach",
"type": "cortex-debug",
"servertype": "external",
"gdbTarget": "localhost:3333",
"device": "pac5527",
"svdFile": "${workspaceRoot}/firmware/pac55xx_device_pack/PAC55XX.svd",
"preLaunchTask": "Start PyOCD GDB Server",
"postDebugTask": "Stop PyOCD Server"
}
]
}
dd69bd05aThis file is pinned to the selected release. Download the original to open it in your design tool.