Skip to content

Commit 6940794

Browse files
authored
Fix enabling RTT for debugging (#255)
1 parent 55bdeee commit 6940794

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1313

1414
### Fixed
1515

16+
- `"rttEnabled": true` is now set even if `defmt` is not enabled (#255)
17+
1618
### Removed
1719

1820
## [1.0.1] - 2025-11-05

template/.vscode/launch.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@
2323
"coreIndex": 0,
2424
//REPLACE riscv32imc-unknown-none-elf rust_target
2525
"programBinary": "target/riscv32imc-unknown-none-elf/debug/${workspaceFolderBasename}",
26-
//IF option("defmt")
2726
"rttEnabled": true,
27+
//IF option("defmt")
2828
"rttChannelFormats": [
2929
{
3030
"channelNumber": 0,
@@ -47,8 +47,8 @@
4747
"coreIndex": 0,
4848
//REPLACE riscv32imc-unknown-none-elf rust_target
4949
"programBinary": "target/riscv32imc-unknown-none-elf/debug/${workspaceFolderBasename}",
50-
//IF option("defmt")
5150
"rttEnabled": true,
51+
//IF option("defmt")
5252
"rttChannelFormats": [
5353
{
5454
"channelNumber": 0,
@@ -61,4 +61,4 @@
6161
}
6262
//ENDIF
6363
]
64-
}
64+
}

0 commit comments

Comments
 (0)