Flashe nur wenn Kompilierung erfolgreich war

This commit is contained in:
m13r committed 2025-05-31 16:41:31 +02:00
1 parent 1bc94159f9
commit 21ea419fd6
1 file changed
+2 -5
+2 -5
View File
@@ -1,8 +1,5 @@
#!/bin/sh
# Build
avra main.asm
# Burn
avrdude -p m328p -c arduino -b 115200 -P /dev/tty.usbserial-A50285BI -U flash:w:main.hex
# Build & Flash
avra main.asm && avrdude -p m328p -c arduino -b 115200 -P /dev/tty.usbserial-A50285BI -U flash:w:main.hex