From 031270fb21e879e61f132a7f682903d3815832d8 Mon Sep 17 00:00:00 2001 From: Ronald Schaten Date: Thu, 27 Jan 2022 21:31:23 +0100 Subject: [PATCH] added basic Makefile --- PhotoStepper/Makefile | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 PhotoStepper/Makefile diff --git a/PhotoStepper/Makefile b/PhotoStepper/Makefile new file mode 100644 index 0000000..366a4bc --- /dev/null +++ b/PhotoStepper/Makefile @@ -0,0 +1,10 @@ +all: upload debug + +compile: + arduino-cli compile --fqbn arduino:avr:uno -p /dev/ttyACM3 PhotoStepper.ino + +upload: + arduino-cli compile --fqbn arduino:avr:uno -p /dev/ttyACM3 PhotoStepper.ino -u + +debug: + screen /dev/ttyACM3 115200