|
| 1 | +{ |
| 2 | + "version": "0.2.0", |
| 3 | + "configurations": [ |
| 4 | + { |
| 5 | + "name": "RA6M3 HMI Debug (pyOCD CMSIS-DAP)", |
| 6 | + "type": "cortex-debug", |
| 7 | + "request": "launch", |
| 8 | + "servertype": "external", |
| 9 | + "cwd": "${workspaceFolder}", |
| 10 | + "executable": "${workspaceFolder}/rtthread.elf", |
| 11 | + "armToolchainPath": "/usr/bin", |
| 12 | + "toolchainPrefix": "arm-none-eabi", |
| 13 | + "gdbPath": "/usr/bin/arm-none-eabi-gdb", |
| 14 | + "objdumpPath": "/usr/bin/arm-none-eabi-objdump", |
| 15 | + "nmPath": "/usr/bin/arm-none-eabi-nm", |
| 16 | + "gdbTarget": "localhost:50000", |
| 17 | + "runToEntryPoint": "main", |
| 18 | + "preLaunchTask": "debug:prepare", |
| 19 | + "postDebugTask": "pyocd:stop", |
| 20 | + "showDevDebugOutput": "raw", |
| 21 | + "postRestartCommands": [ |
| 22 | + "monitor reset halt" |
| 23 | + ] |
| 24 | + }, |
| 25 | + { |
| 26 | + "name": "RA6M3 HMI Attach (pyOCD CMSIS-DAP)", |
| 27 | + "type": "cortex-debug", |
| 28 | + "request": "attach", |
| 29 | + "servertype": "pyocd", |
| 30 | + "serverpath": "/usr/bin/pyocd", |
| 31 | + "cwd": "${workspaceFolder}", |
| 32 | + "executable": "${workspaceFolder}/rtthread.elf", |
| 33 | + "armToolchainPath": "/usr/bin", |
| 34 | + "toolchainPrefix": "arm-none-eabi", |
| 35 | + "gdbPath": "/usr/bin/arm-none-eabi-gdb", |
| 36 | + "objdumpPath": "/usr/bin/arm-none-eabi-objdump", |
| 37 | + "nmPath": "/usr/bin/arm-none-eabi-nm", |
| 38 | + "targetId": "r7fa6m3ah", |
| 39 | + "showDevDebugOutput": "raw", |
| 40 | + "serverArgs": [ |
| 41 | + "--frequency", |
| 42 | + "4000000" |
| 43 | + ] |
| 44 | + }, |
| 45 | + { |
| 46 | + "name": "RA6M3 HMI Attach (external pyOCD :50000)", |
| 47 | + "type": "cortex-debug", |
| 48 | + "request": "attach", |
| 49 | + "servertype": "external", |
| 50 | + "cwd": "${workspaceFolder}", |
| 51 | + "executable": "${workspaceFolder}/rtthread.elf", |
| 52 | + "armToolchainPath": "/usr/bin", |
| 53 | + "toolchainPrefix": "arm-none-eabi", |
| 54 | + "gdbPath": "/usr/bin/arm-none-eabi-gdb", |
| 55 | + "objdumpPath": "/usr/bin/arm-none-eabi-objdump", |
| 56 | + "nmPath": "/usr/bin/arm-none-eabi-nm", |
| 57 | + "gdbTarget": "localhost:50000", |
| 58 | + "preLaunchTask": "pyocd:start", |
| 59 | + "postDebugTask": "pyocd:stop", |
| 60 | + "showDevDebugOutput": "raw" |
| 61 | + } |
| 62 | + ] |
| 63 | +} |
0 commit comments