aboutsummaryrefslogtreecommitdiff
path: root/hexedit/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'hexedit/Makefile')
-rw-r--r--hexedit/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/hexedit/Makefile b/hexedit/Makefile
index 95f49ae..23941da 100644
--- a/hexedit/Makefile
+++ b/hexedit/Makefile
@@ -15,3 +15,7 @@ $(objects): %.o: %.s
clean:
rm echo.elf echo.uf2 *.o
+
+flash: echo.uf2
+ [ -h /dev/disk/by-label/RPI-RP2 ] || sleep 2s
+ cat echo.uf2 > /dev/disk/by-label/RPI-RP2