summaryrefslogtreecommitdiff
path: root/hid/Makefile
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2020-11-12 21:03:28 +0300
committerDevaev Maxim <[email protected]>2020-11-12 21:03:28 +0300
commit87cc8cf7b0e00f7f0a9badf551067aafad6da4ce (patch)
treecdd802d124236ded6969dc5d80c764deec357e02 /hid/Makefile
parent79ef26e2f441f6c742a5da78b08ea2d5a4cc6e18 (diff)
parent0984f0cb36c5881669010c62e986cc8bc7fe019a (diff)
Merge branch 'spi'
Diffstat (limited to 'hid/Makefile')
-rw-r--r--hid/Makefile13
1 files changed, 13 insertions, 0 deletions
diff --git a/hid/Makefile b/hid/Makefile
index 0d07db84..81fe129d 100644
--- a/hid/Makefile
+++ b/hid/Makefile
@@ -4,6 +4,12 @@ ps2:
make _build E=ps2
mixed:
make _build E=mixed
+usb-spi:
+ make _build E=usb_spi
+ps2-spi:
+ make _build E=ps2_spi
+mixed-spi:
+ make _build E=mixed_spi
_build:
rm -f .current
platformio run --environment $(E)
@@ -15,11 +21,18 @@ upload:
platformio run --environment $(shell cat .current) --target upload
+bootloader-spi: install-bootloader-spi
+install-bootloader-spi: upload-bootloader-spi
+upload-bootloader-spi:
+ platformio run --environment bootloader_spi --target bootloader
+
+
update:
platformio platform update
clean-all: clean
+ rm -rf .platformio
clean:
rm -rf .pio .current