-
-
Notifications
You must be signed in to change notification settings - Fork 488
Closed
Labels
conclusion: resolvedIssue was resolvedIssue was resolvedtopic: codeRelated to content of the project itselfRelated to content of the project itselftopic: debuggerRelated to the integrated debuggerRelated to the integrated debuggertype: enhancementProposed improvementProposed improvement
Description
Describe the request
Hi,
Request is to be able to define the svd file to use for a variant without need to create manually a debug_custom.json
and be able to use recipe to use relative path.
Example:
debug.server.cortex-debug.svd={runtime.platform.path}/system/SVD/{build.svdfile}
Maybe related to #435
We plan to add svd files to the core to ease debug.
Describe the current behavior
Currently, to get svd file added to the generated launch.json config file, it is required to add a debug_custom.json
file with:
{
"svdFile": "C:\\Users\\<username>\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.5.0-dev\\system\\SVD\\STM32F411.svd"
}
but it requires to add it for each sketch and change it when board is changed.
Moreover it is not possible to use recipe in the json, so if the svd files are provided within the core it is not possible to use:
{build.system.path}/SVD/STM32F411.svd
Arduino IDE version
2.0.3
Operating system
N/A
Operating system version
all
Additional context
No response
Issue checklist
- I searched for previous requests in the issue tracker
- I verified the feature was still missing when using the latest nightly build
- My request contains all necessary details
Metadata
Metadata
Assignees
Labels
conclusion: resolvedIssue was resolvedIssue was resolvedtopic: codeRelated to content of the project itselfRelated to content of the project itselftopic: debuggerRelated to the integrated debuggerRelated to the integrated debuggertype: enhancementProposed improvementProposed improvement