2016-11-21 17:40:28 -05:00
|
|
|
rm -rf atmel-samd/build*
|
|
|
|
rm -rf esp8266/build*
|
|
|
|
|
2017-04-11 20:59:02 -04:00
|
|
|
ATMEL_BOARDS="arduino_zero circuitplayground_express feather_m0_basic feather_m0_adalogger feather_m0_express metro_m0_flash trinket_m0 gemma_m0"
|
2016-11-29 13:47:11 -05:00
|
|
|
|
|
|
|
for board in $ATMEL_BOARDS; do
|
|
|
|
make -C atmel-samd BOARD=$board
|
|
|
|
done
|
2016-11-21 17:40:28 -05:00
|
|
|
make -C esp8266 BOARD=feather_huzzah
|
|
|
|
|
|
|
|
version=`git describe --tags --exact-match`
|
|
|
|
if [ $? -ne 0 ]; then
|
|
|
|
version=`git rev-parse --short HEAD`
|
|
|
|
fi
|
|
|
|
|
2016-11-29 13:47:11 -05:00
|
|
|
for board in $ATMEL_BOARDS; do
|
2017-01-09 15:55:23 -05:00
|
|
|
cp atmel-samd/build-$board/firmware.bin bin/adafruit-circuitpython-$board-$version.bin
|
2016-11-29 13:47:11 -05:00
|
|
|
done
|
2017-01-09 15:55:23 -05:00
|
|
|
cp esp8266/build/firmware-combined.bin bin/adafruit-circuitpython-feather_huzzah-$version.bin
|