mirror of
https://github.com/gillham/logic_analyzer.git
synced 2026-05-01 23:53:02 +03:00
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:
24
examples/logic_analyzer_leonardo/Makefile
Normal file
24
examples/logic_analyzer_leonardo/Makefile
Normal 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
|
||||
#
|
||||
Reference in New Issue
Block a user