about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..d6eb6c3
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,7 @@
+# As of arduino-cli 0.24.0, teensy boards are supported
+# from https://www.pjrc.com/teensy/td_156/package_teensy_index.json
+build/HexBoard_V1.ino.hex: HexBoard_V1.ino
+	arduino-cli compile -b teensy:avr:teensyLC --board-options usb=midi --output-dir build	
+
+install: build/HexBoard_V1.ino.hex
+	teensy_loader_cli -w --mcu=TEENSYLC build/HexBoard_V1.ino.hex