- commit
- 3da6c33
- parent
- 3bb11ce
- author
- Neale Pickett
- date
- 2026-02-06 19:39:55 -0700 MST
A bit of documentation
M
Makefile
+4,
-4
1@@ -1,13 +1,13 @@
2 ARDUINO_DIR = /app/Arduino
3 BUILDER = flatpak run --command=${ARDUINO_DIR}/arduino-builder cc.arduino.arduinoide
4
5-all: build/itsybitsy_m0/concertina.ino.bin
6-
7-upload: upload-itsybitsy
8-upload-itsybitsy: build/itsybitsy_m0/concertina.ino.bin
9+flash: flash-itsybitsy
10+flash-itsybitsy: build/itsybitsy_m0/concertina.ino.bin
11 stty -F /dev/ttyACM0 1200 && sleep 1 # Reset into bootloader
12 bossac --offset=0x2000 -w -v $< -R
13
14+build: build/itsybitsy_m0/concertina.ino.bin
15+
16 clean:
17 rm -rf build/*
18
+17,
-0
1@@ -0,0 +1,17 @@
2+Library dependencies
3+===========
4+
5+* Adafruit Keypad
6+* Adafruit DotStar
7+* U8g2
8+
9+
10+Building and Flashing
11+============
12+
13+You can use the Arduino IDE,
14+if that's the sort of thing you're into.
15+
16+I don't love the Ardunio IDE,
17+so I wrote a Makefile.
18+Run `make flash` to build and flash it.