diff options
| author | Louis Burda <quent.burda@gmail.com> | 2022-11-20 00:49:16 +0100 |
|---|---|---|
| committer | Louis Burda <quent.burda@gmail.com> | 2022-11-20 00:49:16 +0100 |
| commit | 12a423434352af137bda357001ac824aa23fdf77 (patch) | |
| tree | 68329cb33ebcddf6fc78ffda59493265aebac031 /Makefile | |
| download | sxkbd-12a423434352af137bda357001ac824aa23fdf77.tar.gz sxkbd-12a423434352af137bda357001ac824aa23fdf77.zip | |
Tinyusb HID example
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..9165390 --- /dev/null +++ b/Makefile @@ -0,0 +1,22 @@ +FAMILY ?= rp2040 +PICO_SDK_PATH ?= lib/picosdk + +all: cmake + +clean: + rm -rf .build + +cmake: | $(PICO_SDK_PATH) .build + cmake -B .build -DFAMILY=$(FAMILY) -DPICO_SDK_PATH=$(PICO_SDK_PATH) + make -C .build + +lib/picosdk: + git submodule update --init lib/picosdk + +.build: + mkdir $@ + +upload: + picotool load .build/sxkbd.uf2 + +.PHONY: all clean cmake upload |
