From 0b7c6656e8f027fd3e86d0a09e41781172d588b3 Mon Sep 17 00:00:00 2001 From: Zach DeCook Date: Mon, 11 Jul 2022 17:52:16 -0400 Subject: makefile: Add this for using new versions of arduino-cli with teensy_loader_cli --- Makefile | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 Makefile 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 -- cgit 1.4.1