File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ $(info Using ARDUINO_DIR=$(ARDUINO_DIR))
5
5
build :
6
6
mkdir -p arduino-builder
7
7
$(ARDUINO_DIR ) /arduino-builder -libraries $(ARDUINO_DIR ) /libraries -hardware $(ARDUINO_DIR ) /hardware \
8
- -tools $(ARDUINO_DIR ) /hardware/tools -tools $(ARDUINO_DIR ) /tools-builder -fqbn arduino:avr:leonardo \
8
+ -tools $(ARDUINO_DIR ) /hardware/tools -tools $(ARDUINO_DIR ) /tools-builder -fqbn arduino:avr:mega:cpu=atmega2560 \
9
9
-build-path arduino-builder \
10
10
barwin-arduino.ino
11
11
Original file line number Diff line number Diff line change 1
- avrdude -C//etc/avrdude.conf -v -patmega32u4 -carduino -P/dev/ttyACM0 -b9600 -D -Uflash:w:/tmp/arduino_build_766618/bla .ino.hex:i
1
+ avrdude -C//etc/avrdude.conf -v -patmega2560 -cstk500v2 -P/dev/ttyACM0 -b115200 -D -Uflash:w:$PWD /arduino-builder/barwin-arduino .ino.hex:i
You can’t perform that action at this time.
0 commit comments