Skip to content

Commit 876e310

Browse files
Adding SvdPath into the launch files for VS and VSCode (#306)
- Adds svdPath in launch.vs.json files and launch.json
1 parent d7e8a9f commit 876e310

File tree

10 files changed

+20
-14
lines changed

10 files changed

+20
-14
lines changed

MXChip/AZ3166/.vs/launch.vs.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@
3030
"text": "-interpreter-exec console \"monitor reset halt\"",
3131
"ignoreFailures": false
3232
}
33-
]
33+
],
34+
"svdPath": "${workspaceRoot}/STM32F412.svd"
3435
}
3536
]
3637
}

MXChip/AZ3166/.vscode/launch.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"device": "STM32F412RG",
1010
"runToMain": true,
1111
"executable": "${workspaceFolder}/build/app/mxchip_azure_iot.elf",
12-
"svdFile": "${workspaceFolder}/.vscode/STM32F412.svd",
12+
"svdFile": "${workspaceFolder}/STM32F412.svd",
1313
"cwd": "${workspaceRoot}",
1414
"configFiles": [
1515
"board/stm32f4discovery.cfg"
@@ -23,7 +23,7 @@
2323
"servertype": "external",
2424
"gdbTarget": "${input:device.host}",
2525
"runToMain": true,
26-
"svdFile": "${workspaceFolder}/.vscode/STM32F412.svd",
26+
"svdFile": "${workspaceFolder}/STM32F412.svd",
2727
},
2828
{
2929
"name": "Launch",
@@ -43,7 +43,8 @@
4343
"require": true,
4444
"limit": 6
4545
},
46-
"preLaunchTask": "Flash"
46+
"preLaunchTask": "Flash",
47+
"svdPath": "${workspaceFolder}/STM32F412.svd"
4748
}
4849
],
4950
"inputs": [
File renamed without changes.

NXP/MIMXRT1060-EVK/.vs/launch.vs.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@
3232
"text": "-interpreter-exec console \"monitor reset halt\"",
3333
"ignoreFailures": false
3434
}
35-
]
35+
],
36+
"svdPath": "${workspaceRoot}/MIMXRT1062.svd"
3637
}
3738
]
3839
}

NXP/MIMXRT1060-EVK/.vscode/launch.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"runToMain": true,
1010
"executable": "${workspaceFolder}/build/app/mimxrt1060_azure_iot.elf",
1111
"device": "MIMXRT1062xxx6A",
12-
"svdFile": "${workspaceFolder}/.vscode/MIMXRT1062.svd",
12+
"svdFile": "${workspaceFolder}/MIMXRT1062.svd",
1313
},
1414
{
1515
"name": "NXP: Remote",
@@ -20,7 +20,7 @@
2020
"gdbTarget": "${input:device.host}",
2121
"runToMain": true,
2222
"device": "MIMXRT1062xxx6A",
23-
"svdFile": "${workspaceFolder}/.vscode/MIMXRT1062.svd",
23+
"svdFile": "${workspaceFolder}/MIMXRT1062.svd",
2424
},
2525
{
2626
"name": "Launch",
@@ -47,7 +47,8 @@
4747
// "require": true,
4848
// "limit": 8
4949
// },
50-
"preLaunchTask": "Flash"
50+
"preLaunchTask": "Flash",
51+
"svdPath": "${workspaceFolder}/MIMXRT1062.svd"
5152
}
5253
],
5354
"inputs": [

STMicroelectronics/STM32L4_L4+/.vs/launch.vs.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@
3030
"text": "-interpreter-exec console \"monitor reset halt\"",
3131
"ignoreFailures": false
3232
}
33-
]
33+
],
34+
"svdPath": "${workspaceRoot}/STM32L4S5.svd"
3435
}
3536
]
3637
}

STMicroelectronics/STM32L4_L4+/.vscode/launch.json

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"device": "STM32L475VG",
1010
"runToMain": true,
1111
"executable": "${workspaceFolder}/build/app/stm32l475_azure_iot.elf",
12-
"svdFile": "${workspaceFolder}/.vscode/STM32L4x5.svd",
12+
"svdFile": "${workspaceFolder}/STM32L4x5.svd",
1313
"cwd": "${workspaceRoot}",
1414
"configFiles": [
1515
"board/stm32l4discovery.cfg"
@@ -23,7 +23,7 @@
2323
"device": "STM32L4S5VI",
2424
"runToMain": true,
2525
"executable": "${workspaceFolder}/build/app/stm32l4S5_azure_iot.elf",
26-
"svdFile": "${workspaceFolder}/.vscode/STM32L4x5.svd",
26+
"svdFile": "${workspaceFolder}/STM32L4x5.svd",
2727
"cwd": "${workspaceRoot}",
2828
"configFiles": [
2929
"board/stm32l4discovery.cfg"
@@ -37,7 +37,7 @@
3737
"servertype": "external",
3838
"gdbTarget": "${input:device.host}",
3939
"runToMain": true,
40-
"svdFile": "${workspaceFolder}/.vscode/STM32L4x5.svd",
40+
"svdFile": "${workspaceFolder}/STM32L4x5.svd",
4141
},
4242
{
4343
"name": "STM L4S5I: Remote",
@@ -47,7 +47,7 @@
4747
"servertype": "external",
4848
"gdbTarget": "${input:device.host}",
4949
"runToMain": true,
50-
"svdFile": "${workspaceFolder}/.vscode/STM32L4S5.svd",
50+
"svdFile": "${workspaceFolder}/STM32L4S5.svd",
5151
},
5252
{
5353
"name": "Launch",
@@ -67,7 +67,8 @@
6767
"require": true,
6868
"limit": 6
6969
},
70-
"preLaunchTask": "Flash"
70+
"preLaunchTask": "Flash",
71+
"svdPath": "${workspaceFolder}/STM32L4S5.svd"
7172
}
7273
],
7374
"inputs": [

0 commit comments

Comments
 (0)