Flashe nur wenn Kompilierung erfolgreich war

This commit is contained in:
2025-05-31 16:41:31 +02:00
parent 1bc94159f9
commit 21ea419fd6

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