diff options
| -rw-r--r-- | ports/rp2/Makefile | 5 | ||||
| -rw-r--r-- | ports/rp2/README.md | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/ports/rp2/Makefile b/ports/rp2/Makefile index 246f29dd0..2af13bfbb 100644 --- a/ports/rp2/Makefile +++ b/ports/rp2/Makefile @@ -20,3 +20,8 @@ all: clean: $(RM) -rf $(BUILD) + +GIT_SUBMODULES += lib/pico-sdk lib/tinyusb + +submodules: + $(MAKE) -f ../../py/mkrules.mk GIT_SUBMODULES="$(GIT_SUBMODULES)" submodules diff --git a/ports/rp2/README.md b/ports/rp2/README.md index d49550c5c..5836ac0cd 100644 --- a/ports/rp2/README.md +++ b/ports/rp2/README.md @@ -29,6 +29,7 @@ Building of the RP2 firmware is done entirely using CMake, although a simple Makefile is also provided as a convenience. To build the firmware run (from this directory): + $ make submodules $ make clean $ make |
