Skip to content

Commit 23222d5

Browse files
authored
Allow specifying a rom-elf (#963)
* Allow specifying a `rom-elf` * Clippy * CHANGELOG.md * Clippy * Have and use built-in ROM-elfs
1 parent ed5dc97 commit 23222d5

19 files changed

+175
-88
lines changed

CHANGELOG.md

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

1010
### Added
1111

12+
- A new CLI argument `rom-elf` was added which will be used for backtraces (#963)
13+
1214
### Changed
1315

1416
### Fixed

cargo-espflash/src/main.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -413,9 +413,11 @@ fn flash(args: FlashArgs, config: &Config) -> Result<()> {
413413

414414
monitor_args.elf = Some(build_ctx.artifact_path);
415415

416+
let elfs = vec![elf_data.as_ref()];
417+
416418
monitor(
417419
flasher.into(),
418-
Some(&elf_data),
420+
elfs,
419421
pid,
420422
monitor_args,
421423
args.connect_args.non_interactive,
826 KB
Binary file not shown.
837 KB
Binary file not shown.
810 KB
Binary file not shown.
534 KB
Binary file not shown.
546 KB
Binary file not shown.
543 KB
Binary file not shown.
478 KB
Binary file not shown.
218 KB
Binary file not shown.

0 commit comments

Comments
 (0)