forked from fhoedemakers/pico-infonesPlus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuildAll.sh
executable file
·35 lines (35 loc) · 1.28 KB
/
buildAll.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
:
# ====================================================================================
# PICO-INFONESPLUS build all script
# Builds the emulator for the default and alternate configuration
# Binaries are copied to the releases folder
# - piconesPlusPimoroniDV.uf2 Pimoroni Pico DV Demo Base
# - piconesPlusAdaFruitDVISD.uf2 AdaFruit HDMI and SD Breakout boards
# - piconesPlusFeatherDVI.uf2 Adafruit Feather RP2040 DVI + SD Wing
# ====================================================================================
#export RETAINSDK=1
cd `dirname $0` || exit 1
[ -d releases ] || mkdir releases || exit 1
#. ./checksdk.sh
./build.sh
if [ -f build/piconesPlus.uf2 ] ; then
cp build/piconesPlus.uf2 releases/piconesPlusPimoroniDV.uf2 || exit 1
fi
cd `dirname $0` || exit 1
./build_alternate.sh
if [ -f build/piconesPlus.uf2 ] ; then
cp build/piconesPlus.uf2 releases/piconesPlusAdaFruitDVISD.uf2 || exit 1
fi
cd `dirname $0` || exit 1
./build_feather_dvi.sh
if [ -f build/piconesPlus.uf2 ] ; then
cp build/piconesPlus.uf2 releases/piconesPlusFeatherDVI.uf2 || exit 1
fi
cd `dirname $0` || exit 1
./build_ws_rp2040_pizero.sh
if [ -f build/piconesPlus.uf2 ] ; then
cp build/piconesPlus.uf2 releases/piconesPlusWsRP2040PiZero.uf2 || exit 1
fi
ls -l releases
#unset RETAINSDK
#. ./removetmpsdk.sh