summaryrefslogtreecommitdiff
path: root/hid/pico/Makefile
diff options
context:
space:
mode:
authorMaxim Devaev <[email protected]>2023-08-16 09:19:37 +0300
committerMaxim Devaev <[email protected]>2023-08-16 09:19:37 +0300
commit82af7b2fba5086212c61b900d4e9a75bdb3b374e (patch)
treeeca5c3e02a8b07929fba15c80b394244a43ef6c6 /hid/pico/Makefile
parent35423198828f4000434584ae0782f57c3011df4a (diff)
pico sdk update
Diffstat (limited to 'hid/pico/Makefile')
-rw-r--r--hid/pico/Makefile12
1 files changed, 8 insertions, 4 deletions
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