analog-firmware/build.sh

24 lines
650 B
Bash
Raw Normal View History

2023-04-06 03:53:21 +00:00
#!/bin/bash
if [ -z ${PICO_SDK_PATH:+x} ]; then
echo You must set PICO_SDK_PATH to the path where you downloaded https://github.com/raspberrypi/pico-sdk.git
2023-04-06 03:53:21 +00:00
exit 1
fi
build_firmware() {
if [ ! -d build/$1 ]; then
( mkdir -p build/$1 && cd build/$1 && cmake ../.. )
fi
make -C build/$1
#tools/mksparse build/$1/$1.bin build/$1/$1.ota
2023-04-06 03:53:21 +00:00
}
build_firmware v2-analog-lc-4ns-z80
build_firmware v2-analog-lc-8ns-z80
2023-04-17 04:32:37 +00:00
build_firmware v2-analog-lc-4ns-vga
2023-04-06 03:53:21 +00:00
build_firmware v2-analog-lc-8ns-vga
build_firmware v2-analog-wifi-4ns-z80
build_firmware v2-analog-wifi-8ns-z80
2023-04-17 04:32:37 +00:00
build_firmware v2-analog-wifi-4ns-vga
2023-04-06 03:53:21 +00:00
build_firmware v2-analog-wifi-8ns-vga