Commit fe305cc1 authored by Oleg Nikulin's avatar Oleg Nikulin

cli утилита для прошивки arduino

parent 744435f0
File added
#!/bin/sh
echo "Compiling..."
if ./arduino-cli compile --fqbn arduino:avr:nano:cpu=atmega328old hddtempserial; then
echo "Uploading..."
if ./arduino-cli upload --port /dev/ttyUSB0 --fqbn arduino:avr:nano:cpu=atmega328old hddtempserial --verify; then
echo "Done"
fi
fi
\ No newline at end of file
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