Also clone nested submodules

Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
Pol Henarejos 2022-08-18 23:38:50 +02:00
parent 36d250fc2b
commit 52c7be4e16
No known key found for this signature in database
GPG Key ID: C0095B7870A4CCD3

View File

@ -1,11 +1,11 @@
#!/bin/bash
git submodule update --init
git submodule update --init --recursive
sudo apt update
sudo apt install -y cmake gcc-arm-none-eabi libnewlib-arm-none-eabi libstdc++-arm-none-eabi-newlib
git clone https://github.com/raspberrypi/pico-sdk
cd pico-sdk
git submodule update --init
git submodule update --init --recursive
cd ..
mkdir build
cd build