@@ -2,7 +2,7 @@ rm -rf ports/atmel-samd/build*
2
2
rm -rf ports/esp8266/build*
3
3
rm -rf ports/nrf/build*
4
4
5
- ATMEL_BOARDS=" arduino_zero circuitplayground_express circuitplayground_express_crickit feather_m0_basic feather_m0_adalogger itsybitsy_m0_express itsybitsy_m4_express feather_m0_rfm69 feather_m0_rfm9x feather_m0_express feather_m0_express_crickit feather_m4_express metro_m0_express metro_m4_express pirkey_m0 trinket_m0 gemma_m0 feather52"
5
+ ATMEL_BOARDS=" arduino_zero circuitplayground_express circuitplayground_express_crickit feather_m0_basic feather_m0_adalogger itsybitsy_m0_express itsybitsy_m4_express feather_m0_rfm69 feather_m0_rfm9x feather_m0_express feather_m0_express_crickit feather_m4_express metro_m0_express metro_m4_express pirkey_m0 trinket_m0 gemma_m0 feather52 feather_huzzah "
6
6
ROSIE_SETUPS=" rosie-ci"
7
7
8
8
PARALLEL=" -j 5"
17
17
fi
18
18
19
19
for board in $boards ; do
20
- if [ $board == " feather52" ]; then
20
+ if [ $board == " feather_huzzah" ]; then
21
8000
+ make $PARALLEL -C ports/esp8266 BOARD=feather_huzzah
22
+ (( exit_status = exit_status || $? ))
23
+ elif [ $board == " feather52" ]; then
21
24
make $PARALLEL -C ports/nrf BOARD=feather52
22
25
(( exit_status = exit_status || $? ))
23
26
else
24
27
make $PARALLEL -C ports/atmel-samd BOARD=$board
25
28
(( exit_status = exit_status || $? ))
26
29
fi
27
30
done
28
- if [ -z " $TRAVIS " ]; then
29
- make $PARALLEL -C ports/esp8266 BOARD=feather_huzzah
30
- (( exit_status = exit_status || $? ))
31
- fi
32
31
33
32
version=` git describe --tags --exact-match`
34
33
if [ $? -ne 0 ]; then
46
45
47
46
for board in $boards ; do
48
47
mkdir -p bin/$board /
49
- if [ $board == " feather52" ]; then
48
+ extension=uf2
49
+ if [ $board == " feather_huzzah" ]; then
50
+ cp ports/esp8266/build/firmware-combined.bin bin/$board /adafruit-circuitpython-$board -$version .bin
51
+ (( exit_status = exit_status || $? ))
52
+ extension=bin
53
+ elif [ $board == " feather52" ]; then
50
54
cp ports/nrf/build-$board -s132/firmware.bin bin/$board /adafruit-circuitpython-$board -$version .bin
51
55
(( exit_status = exit_status || $? ))
56
+ extension=bin
52
57
else
53
58
cp ports/atmel-samd/build-$board /firmware.bin bin/$board /adafruit-circuitpython-$board -$version .bin
54
59
(( exit_status = exit_status || $? ))
@@ -59,16 +64,9 @@ for board in $boards; do
59
64
if [ " $TRAVIS " == " true" ]; then
60
65
for rosie in $ROSIE_SETUPS ; do
61
66
echo " Uploading to https://$rosie .ngrok.io/upload/$sha "
62
- curl -F " file=@bin/$board /adafruit-circuitpython-$board -$version .uf2 " https://$rosie .ngrok.io/upload/$sha
67
+ curl -F " file=@bin/$board /adafruit-circuitpython-$board -$version .$extension " https://$rosie .ngrok.io/upload/$sha
63
68
done
64
69
fi
65
70
done
66
71
67
- # Skip ESP8266 on Travis
68
- if [ -z " $TRAVIS " ]; then
69
- mkdir -p bin/esp8266/
70
- cp ports/esp8266/build/firmware-combined.bin bin/esp8266/adafruit-circuitpython-feather_huzzah-$version .bin
71
- (( exit_status = exit_status || $? ))
72
- fi
73
-
74
72
exit $exit_status
0 commit comments