From 6546ff00988635608c0b3d5e53bb7387e680478c Mon Sep 17 00:00:00 2001 From: HampusM Date: Sat, 7 May 2022 14:26:08 +0200 Subject: add configs --- Makefile | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..986833f --- /dev/null +++ b/Makefile @@ -0,0 +1,20 @@ +TARGET = gymnasiearbete + +PIO = platformio + +all: $(TARGET) + +.PHONY: $(TARGET) upload clean monitor + +$(TARGET): + $(PIO) run -v + $(PIO) run --target compiledb + +upload: + $(PIO) run --target upload + +clean: + $(PIO) run --target clean + +monitor: + $(PIO) run --target monitor -- cgit v1.2.3-18-g5258