Skip to content

Commit

Permalink
Adding autobuild.sh
Browse files Browse the repository at this point in the history
Signed-off-by: Pol Henarejos <[email protected]>
  • Loading branch information
polhenarejos committed Sep 25, 2022
1 parent 11a0b2c commit 8338762
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions workflows/autobuild.sh
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 8338762

Please sign in to comment.