Adding autobuild.sh

Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
Pol Henarejos 2022-09-25 18:51:26 +02:00
parent 11a0b2cb43
commit 8338762bcd
No known key found for this signature in database
GPG Key ID: C0095B7870A4CCD3

13
workflows/autobuild.sh Executable file
View File

@ -0,0 +1,13 @@
#!/bin/bash
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
cd ..
mkdir build
cd build
cmake -DPICO_SDK_PATH=../pico-sdk ..
make