aboutsummaryrefslogtreecommitdiffhomepage
path: root/Makefile
diff options
context:
space:
mode:
authorsago35 <[email protected]>2022-06-02 08:29:13 +0900
committerRon Evans <[email protected]>2022-06-11 09:44:09 +0200
commit1b2e764835fb5278de144caf059cb094bad4db23 (patch)
tree1a28c06af78d4a1d2db023a752817ae2ecc42808 /Makefile
parent2c93a4085cf3b8783d10129698ddaaa2d9e1fbc4 (diff)
downloadtinygo-1b2e764835fb5278de144caf059cb094bad4db23.tar.gz
tinygo-1b2e764835fb5278de144caf059cb094bad4db23.zip
samd21,samd51,nrf52840: add support for USBHID (keyboard / mouse)
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index c5afd2bbc..3610348e6 100644
--- a/Makefile
+++ b/Makefile
@@ -414,6 +414,10 @@ smoketest:
@$(MD5SUM) test.hex
$(TINYGO) build -size short -o test.hex -target=pca10040 examples/test
@$(MD5SUM) test.hex
+ $(TINYGO) build -size short -o test.hex -target=wioterminal examples/hid-mouse
+ @$(MD5SUM) test.hex
+ $(TINYGO) build -size short -o test.hex -target=wioterminal examples/hid-keyboard
+ @$(MD5SUM) test.hex
# test simulated boards on play.tinygo.org
ifneq ($(WASM), 0)
$(TINYGO) build -size short -o test.wasm -tags=arduino examples/blinky1
@@ -555,6 +559,11 @@ endif
@$(MD5SUM) test.hex
$(TINYGO) build -size short -o test.hex -target=feather-m4 examples/pwm
@$(MD5SUM) test.hex
+ # test usbhid
+ $(TINYGO) build -size short -o test.hex -target=feather-nrf52840 examples/hid-keyboard
+ @$(MD5SUM) test.hex
+ $(TINYGO) build -size short -o test.hex -target=circuitplay-express examples/hid-keyboard
+ @$(MD5SUM) test.hex
ifneq ($(STM32), 0)
$(TINYGO) build -size short -o test.hex -target=bluepill examples/blinky1
@$(MD5SUM) test.hex