Rearrange the repository and add a library.properties file to make this installable as a .ZIP library in the Arduino IDE.

This commit is contained in:
Andrew Gillham
2023-10-05 22:32:52 -05:00
parent 739144d57e
commit ed0666863b
19 changed files with 33 additions and 77 deletions

View File

@@ -0,0 +1,24 @@
#
# Makefile for an Arduino based logic analyzer using the arduino-cli
#
TARGET = logic_analyzer_leonardo
FQBN = arduino:avr:leonardo
SERIAL = /dev/ttyUSB*
all:
@echo ""
@echo "---> run 'make build' to compile for Arduino Leonardo"
@echo "---> run 'make upload' to upload to /dev/ttyUSB*"
@echo ""
build:
arduino-cli compile --fqbn $(FQBN) $(TARGET)
upload:
arduino-cli upload --fqbn $(FQBN) --port $(SERIAL) $(TARGET)
#
# end-of-file
#