diff options
| author | Zach DeCook <zachdecook@librem.one> | 2022-07-11 17:52:16 -0400 |
|---|---|---|
| committer | Zach DeCook <zachdecook@librem.one> | 2022-07-11 17:52:16 -0400 |
| commit | 0b7c6656e8f027fd3e86d0a09e41781172d588b3 (patch) | |
| tree | 8c4f2b04b7132043579e210a3b9a65c3ee391c57 | |
| parent | 166323db7a6e24e8a8fd284764606f0a5855689e (diff) | |
| download | HexBoard-0b7c6656e8f027fd3e86d0a09e41781172d588b3.tar.gz | |
makefile: Add this for using new versions of arduino-cli with teensy_loader_cli
| -rw-r--r-- | Makefile | 7 |
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 |
