Skip to content

Commit

Permalink
Update flake inputs / update espflash command line
Browse files Browse the repository at this point in the history
  • Loading branch information
SFrijters committed May 26, 2024
1 parent ab39620 commit 56eb20f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
18 changes: 9 additions & 9 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
# Some sanity checks
file -b "${elf-binary}/bin/${name}" | grep "ELF 32-bit LSB executable.*UCB RISC-V.*soft-float ABI.*statically linked"
# Create an image for qemu
espflash save-image --chip esp32c3 --merge --format esp-bootloader ${elf-binary}/bin/${name} ${name}.bin
espflash save-image --chip esp32c3 --merge ${elf-binary}/bin/${name} ${name}.bin
# Get stats
esptool.py image_info --version 2 ${name}.bin
# Start qemu in the background, open a tcp port to interact with it
Expand Down

0 comments on commit 56eb20f

Please sign in to comment.