File tree Expand file tree Collapse file tree 4 files changed +24
-10
lines changed
Expand file tree Collapse file tree 4 files changed +24
-10
lines changed Original file line number Diff line number Diff line change 1414[submodule "freetouch2 "]
1515 path = atmel-samd/freetouch
1616 url = https://github.com/adafruit/Adafruit_FreeTouch.git
17+ [submodule "tools/uf2 "]
18+ path = tools/uf2
19+ url = https://github.com/Microsoft/uf2.git
Original file line number Diff line number Diff line change 77 directories :
88 - " ${HOME}/persist"
99
10+ addons :
11+ artifacts :
12+ debug : true
13+ paths :
14+ - $(ls bin/* | tr "\n" ":")
15+
1016notifications :
1117 webhooks :
1218 urls :
@@ -32,13 +38,7 @@ before_script:
3238script :
3339 # Build mpy-cross first because other builds depend on it.
3440 - make -C mpy-cross
35- - make -C atmel-samd BOARD=arduino_zero
36- - make -C atmel-samd BOARD=feather_m0_basic
37- - make -C atmel-samd BOARD=feather_m0_express
38- - make -C atmel-samd BOARD=metro_m0_flash
39- - make -C atmel-samd BOARD=circuitplayground_express
40- - make -C atmel-samd BOARD=trinket_m0
41- - make -C atmel-samd BOARD=gemma_m0
41+ - tools/build_adafruit_bins.h
4242 - make -C minimal CROSS=1 build/firmware.bin
4343 - ls -l minimal/build/firmware.bin
4444 - tools/check_code_size.sh
Original file line number Diff line number Diff line change @@ -5,15 +5,25 @@ ATMEL_BOARDS="arduino_zero circuitplayground_express feather_m0_basic feather_m0
55
66for board in $ATMEL_BOARDS ; do
77 make -C atmel-samd BOARD=$board
8+ (( exit_status = exit_status || $? ))
89done
910make -C esp8266 BOARD=feather_huzzah
11+ (( exit_status = exit_status || $? ))
1012
1113version=` git describe --tags --exact-match`
1214if [ $? -ne 0 ]; then
13- version=` git rev-parse --short HEAD`
15+ version=` date +%Y%m%d ` - ` git rev-parse --short HEAD`
1416fi
1517
1618for board in $ATMEL_BOARDS ; do
17- cp atmel-samd/build-$board /firmware.bin bin/adafruit-circuitpython-$board -$version .bin
19+ mkdir -p bin/$board /
20+ cp atmel-samd/build-$board /firmware.bin bin/$board /adafruit-circuitpython-$board -$version .bin
21+ (( exit_status = exit_status || $? ))
22+ python2 tools/uf2/utils/uf2conv.py -c -o bin/$board /adafruit-circuitpython-$board -$version .uf2 bin/$board /adafruit-circuitpython-$board -$version .bin
23+ (( exit_status = exit_status || $? ))
1824done
19- cp esp8266/build/firmware-combined.bin bin/adafruit-circuitpython-feather_huzzah-$version .bin
25+ mkdir -p bin/esp8266/
26+ cp esp8266/build/firmware-combined.bin bin/esp8266/adafruit-circuitpython-feather_huzzah-$version .bin
27+ (( exit_status = exit_status || $? ))
28+
29+ exit $exit_status
You can’t perform that action at this time.
0 commit comments