aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile20
1 files changed, 20 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..203276a
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,20 @@
+# Copyright (c) 2022 Johannes Stoelp
+
+build:
+ pio run
+
+run:
+ pio run -e nodemcuv2 -t upload && pio device monitor -b 115200
+
+check:
+ pio test
+
+clean:
+ pio run -t clean
+
+help:
+ @echo "Targets:"
+ @echo " build - Build project."
+ @echo " run - Build & flash project and attach serial monitor."
+ @echo " check - Run tests."
+ @echo " clean - Clean project."