mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2025-12-12 01:00:29 +08:00
pico sdk update
This commit is contained in:
parent
3542319882
commit
82af7b2fba
6
hid/pico/.gitignore
vendored
6
hid/pico/.gitignore
vendored
@ -1,6 +1,4 @@
|
||||
/.pico-sdk.tmp/
|
||||
/.pico-sdk/
|
||||
/.tinyusb.tmp/
|
||||
/.tinyusb/
|
||||
/.pico-sdk*
|
||||
/.tinyusb*
|
||||
/.build/
|
||||
/*.uf2
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user