Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ All notable version changes will be recorded in this file.
**Improve**:
- `GNU Arm Toolchain`: Support new mcpu: `cortex-m52, cortex-m55, cortex-m85`.
- `unify_builder`: Optimize builder speed.

- `File Options`: Add memory assignment feature for `AC5`, `AC6` toolchain. Thanks the contributor [Deadline039](https://github.com/Deadline039)
- `File Options GUI`: Update the translation text. Optimize layout.
- `DebugConfig Generator GUI`: Change gui element width. Sort the option result list.
Expand Down
12 changes: 12 additions & 0 deletions src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2203,6 +2203,18 @@ class ExternalDebugConfigProvider implements vscode.DebugConfigurationProvider {
if (m && m.length > 1) {
dbgCfg['probe'] = m[1];
}
// parse '--chip-description-path <path>' (support quoted path)
// examples:
// --chip-description-path /path/to/desc.yaml
// --chip-description-path "/path/with spaces/desc.yaml"
m = /--chip-description-path\s+("[^"]+"|[^\s]+)/.exec(flasherCfg.otherOptions);
if (m && m.length > 1) {
let p = m[1];
// strip surrounding quotes if present
if (p.startsWith('"') && p.endsWith('"'))
p = p.substring(1, p.length - 1);
dbgCfg['chipDescriptionPath'] = p;
}
}
result.push(dbgCfg);
result.push(newAttachDebugCfg(dbgCfg));
Expand Down