summaryrefslogtreecommitdiff
path: root/hid/Makefile
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2019-04-24 00:42:30 +0300
committerDevaev Maxim <[email protected]>2019-04-24 00:45:19 +0300
commit87435dd5c5dea44a71606ae43601e91c6fb27f8d (patch)
treef57bfdd70bbedffb11dc646b289ceb587822fe44 /hid/Makefile
parent94dc4e76b41f13ea4a3f1e924f258c953f829fcf (diff)
hid: prod and test envs
Diffstat (limited to 'hid/Makefile')
-rw-r--r--hid/Makefile8
1 files changed, 3 insertions, 5 deletions
diff --git a/hid/Makefile b/hid/Makefile
index 957c3a11..391fae54 100644
--- a/hid/Makefile
+++ b/hid/Makefile
@@ -1,16 +1,14 @@
all:
- platformio run
+ platformio run --environment $(if $(E), $(E), serial_prod)
update:
platformio platform update
install: upload
upload:
- platformio run --target upload
-
-serial:
- platformio serialports monitor
+ platformio run --environment $(if $(E), $(E), serial_prod) --target upload
+clean-all: clean
clean:
rm -rf .pioenvs .piolibdeps