summaryrefslogtreecommitdiff
path: root/hid
diff options
context:
space:
mode:
Diffstat (limited to 'hid')
-rw-r--r--hid/pico/.gitignore6
-rw-r--r--hid/pico/Makefile12
2 files changed, 10 insertions, 8 deletions
diff --git a/hid/pico/.gitignore b/hid/pico/.gitignore
index c4c20b04..21d09ea3 100644
--- a/hid/pico/.gitignore
+++ b/hid/pico/.gitignore
@@ -1,6 +1,4 @@
-/.pico-sdk.tmp/
-/.pico-sdk/
-/.tinyusb.tmp/
-/.tinyusb/
+/.pico-sdk*
+/.tinyusb*
/.build/
/*.uf2
diff --git a/hid/pico/Makefile b/hid/pico/Makefile
index 714c8e9d..fbfd963e 100644
--- a/hid/pico/Makefile
+++ b/hid/pico/Makefile
@@ -1,4 +1,4 @@
-all: .pico-sdk .tinyusb
+all: deps
rm -f hid.uf2
cmake -B .build
cmake --build .build --config Release -- -j
@@ -15,7 +15,7 @@ install: all
clean:
rm -rf .build hid.uf2
clean-all: clean
- rm -rf .pico-sdk.tmp .pico-sdk .tinyusb.tmp .tinyusb
+ rm -rf .pico-sdk* .tinyusb*
define libdep
@@ -27,7 +27,11 @@ define libdep
mv .$(1).tmp .$(1)
endef
.pico-sdk:
- $(call libdep,pico-sdk,raspberrypi/pico-sdk,62201a83e2693ea165fdc7669b4ab2f3b4f43c36)
+ $(call libdep,pico-sdk,raspberrypi/pico-sdk,6a7db34ff63345a7badec79ebea3aaef1712f374)
.tinyusb:
- $(call libdep,tinyusb,hathach/tinyusb,c998e9c60bc76894006c3bd049d661124a9bfbfd)
+ $(call libdep,tinyusb,hathach/tinyusb,d713571cd44f05d2fc72efc09c670787b74106e0)
# TODO: PS2: Add your library here and add it to "all" and "clean-all" targets
+deps: .pico-sdk .tinyusb
+
+
+.PHONY: deps