Commit 77a66b1d authored by Barcis, Michal's avatar Barcis, Michal
Browse files

exit on error from build

parent d875cc9a
#! /bin/bash #! /bin/bash
set -e
stty -F /dev/ttyACM0 1200 stty -F /dev/ttyACM0 1200
sleep 1 sleep 1
avrdude -v -patmega32u4 -cavr109 -P/dev/ttyACM0 -b57600 -D -Uflash:w:BalancerRPi/BalancerRPi.ino.arduino_leonardo.hex:i avrdude -v -patmega32u4 -cavr109 -P/dev/ttyACM0 -b57600 -D -Uflash:w:BalancerRPi/BalancerRPi.ino.arduino_leonardo.hex:i
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment