Skip to content

Commit b98ff01

Browse files
add build script
1 parent 8444193 commit b98ff01

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

build-samd51-interpreter

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
if echo $PATH | grep "gcc-arm-none-eabi" >/dev/null
2+
then
3+
true
4+
else
5+
export PATH=/mnt/d/Files/Documents/School/UCLA/Organizations/BruinSpace/Rapid-CDH/gcc-arm-none-eabi-10-2020-q4-major/bin:$PATH
6+
fi
7+
cd ports/atmel-samd
8+
make --debug -j8 BOARD=metro_m4_express
9+
cd ../..
10+
echo "Compilation complete! Press ^C to confirm and exit."
11+
while true;
12+
do
13+
paplay /usr/share/sounds/freedesktop/stereo/complete.oga
14+
sleep 5s
15+
done

0 commit comments

Comments
 (0)