0
mirror of https://github.com/torvalds/GuitarPedal.git synced 2026-06-06 04:51:54 +00:00
Files
Linus Torvalds 83605189f8 'make prep': Fix initial submodule setup
Dirk reports that his development machine, the plain "make prep" didn't
work and didn't initialize all required submodules.

I'm not entirely sure why it seems to matter for him but not me
(different enough build environments), but using

   git submodule update --init --recursive

does fix it for him.

or me, all that makes it bring in is the pico-sdk/lib/mbedtls/framework,
which really shouldn't be needed, but whatever - it's the right thing to
do.

Reported-and-tested-by: Dirk Hohndel <dirk@hohndel.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2026-06-01 19:02:55 -07:00

21 lines
390 B
Makefile

build:
cmake --build build --target blink
usb-device:
cmake -B build -DUSB_MODE=DEVICE
cmake --build build --target blink
usb-host:
cmake -B build -DUSB_MODE=HOST
cmake --build build --target blink
flash:
picotool load build/blink.elf && picotool reboot
prep:
git submodule init
git submodule update --init --recursive
cmake -DPICO_PLATFORM=rp2350 -S . -B build
.PHONY: build