From 56eb20f61129f1193bb885e86500910ef56fed58 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 26 May 2024 20:06:34 +0200 Subject: [PATCH] Update flake inputs / update espflash command line --- flake.lock | 18 +++++++++--------- flake.nix | 2 +- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/flake.lock b/flake.lock index e550256..8a4ea52 100644 --- a/flake.lock +++ b/flake.lock @@ -5,11 +5,11 @@ "systems": "systems" }, "locked": { - "lastModified": 1705309234, - "narHash": "sha256-uNRRNRKmJyCRC/8y1RqBkqWBLM034y4qN7EprSdmgyA=", + "lastModified": 1710146030, + "narHash": "sha256-SZ5L6eA7HJ/nmkzGG7/ISclqe6oZdOZTNoesiInkXPQ=", "owner": "numtide", "repo": "flake-utils", - "rev": "1ef2e671c3b0c19053962c07dbda38332dcebf26", + "rev": "b1d9ab70662946ef0850d488da1c9019f3a9752a", "type": "github" }, "original": { @@ -20,11 +20,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1706310778, - "narHash": "sha256-CUlatsr9/wG7fo0IYLr9q2Pq2d5PrlkfR16iHhk0EtA=", + "lastModified": 1716718440, + "narHash": "sha256-8OOA+FwP2FmbI7NdeIEeJ0wYE3JtQit0e0zo307K88s=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "9c8d5c68cc55053749f36ee937ea70c3fe397a80", + "rev": "3f99d04a16741a02001167b429b9a31b3f506dfa", "type": "github" }, "original": { @@ -39,11 +39,11 @@ "nixpkgs": "nixpkgs" }, "locked": { - "lastModified": 1716717484, - "narHash": "sha256-EIBZp6RThaLuFqeFyXqXo/Ja2EmEIaWyyr+PGxEDcxY=", + "lastModified": 1716742023, + "narHash": "sha256-3IZliP0kq92bFdaEI816RK60CCxSHyId/YZYvdlFnXU=", "owner": "SFrijters", "repo": "nix-qemu-espressif", - "rev": "1f2df2aa85529ee136910fbc39f2347ce2bf050f", + "rev": "bbcd2cf986b88aaf19f11eb936eff737d057a1d6", "type": "github" }, "original": { diff --git a/flake.nix b/flake.nix index bd58c3d..56c1f2e 100644 --- a/flake.nix +++ b/flake.nix @@ -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