using ps2x2pico as a library

This commit is contained in:
Maxim Devaev
2023-09-09 13:07:30 +03:00
parent a03c3c2367
commit 2189b77c07
9 changed files with 20 additions and 220 deletions

View File

@@ -15,7 +15,7 @@ install: all
clean:
rm -rf .build hid.uf2
clean-all: clean
rm -rf .pico-sdk* .tinyusb*
rm -rf .pico-sdk* .tinyusb* .ps2x2pico
define libdep
@@ -30,8 +30,9 @@ endef
$(call libdep,pico-sdk,raspberrypi/pico-sdk,6a7db34ff63345a7badec79ebea3aaef1712f374)
.tinyusb:
$(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
.ps2x2pico:
$(call libdep,ps2x2pico,No0ne/ps2x2pico,706b5c34cb6a2fcefeb7f1ee0f673c7de9452fc6)
deps: .pico-sdk .tinyusb .ps2x2pico
.PHONY: deps