summaryrefslogtreecommitdiff
path: root/hid/Makefile
diff options
context:
space:
mode:
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