pico sdk update

This commit is contained in:
Maxim Devaev 2023-08-16 09:19:37 +03:00
parent 3542319882
commit 82af7b2fba
2 changed files with 10 additions and 8 deletions

6
hid/pico/.gitignore vendored
View File

@ -1,6 +1,4 @@
/.pico-sdk.tmp/
/.pico-sdk/
/.tinyusb.tmp/
/.tinyusb/
/.pico-sdk*
/.tinyusb*
/.build/
/*.uf2

View File

@ -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