Skip to content

Commit

Permalink
Fix instructions for merging bin / qemu
Browse files Browse the repository at this point in the history
  • Loading branch information
torkleyy authored and SergioGasquez committed Apr 30, 2024
1 parent f28fb7f commit 5e55ac6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/tooling/simulating/qemu.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@ If you prefer to use [`espflash`][espflash], you can achieve the same result by

```shell
cargo build --release
espflash save-image --chip ESP32 --merge target/xtensa-esp32-espidf/release/<NAME> <OUTFILE>
espflash save-image --chip esp32 --merge target/xtensa-esp32-espidf/release/<NAME> <OUTFILE>
```

Now, run the image in QEMU:

```shell
/path/to/qemu-system-xtensa -nographic -machine esp32 -drive file=<OUTFILE>,if=mtd,format=raw
/path/to/qemu-system-xtensa -nographic -machine esp32 -drive file=<OUTFILE>,if=mtd,format=raw -m 4M
```

[cargo-espflash]: https://github.com/esp-rs/espflash/tree/main/cargo-espflash
Expand Down

0 comments on commit 5e55ac6

Please sign in to comment.