Skip to content

Instantly share code, notes, and snippets.

@nfbot
Last active May 1, 2020 10:33
Show Gist options
  • Save nfbot/1c088f66b19fb20d45f0aa0656131239 to your computer and use it in GitHub Desktop.
Save nfbot/1c088f66b19fb20d45f0aa0656131239 to your computer and use it in GitHub Desktop.
Template of launch.json for TI_CC3220SF_LAUNCHXL target
{
"version": "0.2.0",
"configurations": [
{
"name": "TI_CC3220SF_LAUNCHXL nanoCLR",
"type": "cppdbg",
"request": "launch",
"miDebuggerPath": "f:/GNU_Tools_ARM_Embedded/8-2019-q3-update/bin/arm-none-eabi-gdb.exe",
"targetArchitecture": "ARM",
"program": "${workspaceRoot}/build/nanoCLR.elf",
"setupCommands": [
{ "text": "-target-select remote localhost:3333" },
{ "text": "-file-exec-and-symbols f:/GitHub/nf-interpreter/build/nanoCLR.elf" },
{ "text": "-interpreter-exec console \"monitor endian little\"" },
{ "text": "-interpreter-exec console \"monitor reset\"" },
{ "text": "-interpreter-exec console \"monitor halt\"" },
{ "text": "-interpreter-exec console \"monitor arm semihosting enable\"" },
{ "text": "-target-download" }
],
"debugServerPath": "f:/openocd-v0.10.0-20200422/bin/openocd.exe",
"debugServerArgs": "-s \"f:/openocd-v0.10.0-20200422/share/openocd/scripts/\" -f board/ti_cc3220sf_launchpad.cfg",
"serverStarted": "Listening on port 3333 for gdb connections",
"filterStderr": true,
"externalConsole": false,
"stopAtEntry": true,
"cwd": "${cwd}"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment