Created
June 5, 2018 10:37
-
-
Save nfbot/11aa07dd11480a23810c58f33f82f499 to your computer and use it in GitHub Desktop.
Template of launch.json for ST_NUCLEO144_F746ZG target
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"name": "Nucleo F746 nanoBooter", | |
"type": "cppdbg", | |
"request": "launch", | |
"miDebuggerPath": "E:/GNU_Tools_ARM_Embedded/7-2017-q4-major/bin/arm-none-eabi-gdb.exe", | |
"targetArchitecture": "ARM", | |
"program": "${workspaceRoot}/build/nanoBooter.elf", | |
"setupCommands": [ | |
{"text": "target extended-remote localhost:3333"}, | |
{"text": "monitor reset_config none separate"}, | |
{"text": "monitor reset halt"}, | |
{"text": "monitor flash write_image erase \"e:/GitHub/nf-interpreter/build/nanoBooter.hex\" "}, | |
{"text": "file e:/GitHub/nf-interpreter/build/nanoBooter.elf"}, | |
{"text": "monitor reset halt"} | |
], | |
"customLaunchSetupCommands": [ | |
{"text": "monitor reset_config none separate"}, | |
{"text": "monitor reset halt"} | |
], | |
"launchCompleteCommand": "exec-continue", | |
"debugServerPath": "e:/openocd-0.10.0/bin/openocd.exe", | |
"debugServerArgs": "-s \"e:/openocd-0.10.0/scripts/\" -f interface/stlink-v2-1.cfg -f board/st_nucleo_f7.cfg", | |
"serverStarted": "Info\\ :\\ [\\w\\d\\.]*:\\ hardware", | |
"filterStderr": true, | |
"externalConsole": true, | |
"cwd": "${cwd}" | |
}, | |
{ | |
"name": "Nucleo F746 nanoCLR", | |
"type": "cppdbg", | |
"request": "launch", | |
"miDebuggerPath": "E:/GNU_Tools_ARM_Embedded/7-2017-q4-major/bin/arm-none-eabi-gdb.exe", | |
"targetArchitecture": "ARM", | |
"program": "${workspaceRoot}/build/nanoCLR.elf", | |
"setupCommands": [ | |
{"text": "target extended-remote localhost:3333"}, | |
{"text": "monitor reset_config none separate"}, | |
{"text": "monitor reset halt"}, | |
{"text": "monitor flash write_image erase \"e:/GitHub/nf-interpreter/build/nanoCLR.hex\" "}, | |
{"text": "file e:/GitHub/nf-interpreter/build/nanoCLR.elf"}, | |
{"text": "monitor reset halt"} | |
], | |
"customLaunchSetupCommands": [ | |
{"text": "monitor reset_config none separate"}, | |
{"text": "monitor reset halt"} | |
], | |
"launchCompleteCommand": "exec-continue", | |
"debugServerPath": "e:/openocd-0.10.0/bin/openocd.exe", | |
"debugServerArgs": "-s \"e:/openocd-0.10.0/scripts/\" -f interface/stlink-v2-1.cfg -f board/st_nucleo_f7.cfg", | |
"serverStarted": "Info\\ :\\ [\\w\\d\\.]*:\\ hardware", | |
"filterStderr": true, | |
"externalConsole": true, | |
"cwd": "${cwd}" | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment