summaryrefslogtreecommitdiff
path: root/minion/Makefile
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2022-05-08 18:55:42 +0200
committerHampusM <hampus@hampusmat.com>2022-05-08 18:55:42 +0200
commit2809f92eeb8b727e20167fe82e4cb9c3627d4870 (patch)
tree06a01c862088333aa388e74dfa4381a87568bfc1 /minion/Makefile
parent3a11866cb6a8fd46d86cb6e04dc1022344ea8d45 (diff)
chore: move most files to minion folder
Diffstat (limited to 'minion/Makefile')
-rw-r--r--minion/Makefile20
1 files changed, 20 insertions, 0 deletions
diff --git a/minion/Makefile b/minion/Makefile
new file mode 100644
index 0000000..986833f
--- /dev/null
+++ b/minion/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