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 14
14
[submodule "freetouch2 "]
15
15
path = atmel-samd/freetouch
16
16
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 7
7
directories :
8
8
- " ${HOME}/persist"
9
9
10
+ addons :
11
+ artifacts :
12
+ debug : true
13
+ paths :
14
+ - $(ls bin/* | tr "\n" ":")
15
+
10
16
notifications :
11
17
webhooks :
12
18
urls :
@@ -32,13 +38,7 @@ before_script:
32
38
script :
33
39
# Build mpy-cross first because other builds depend on it.
34
40
- 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
42
42
- make -C minimal CROSS=1 build/firmware.bin
43
43
- ls -l minimal/build/firmware.bin
44
44
- 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
5
5
6
6
for board in $ATMEL_BOARDS ; do
7
7
make -C atmel-samd BOARD=$board
8
+ (( exit_status = exit_status || $? ))
8
9
done
9
10
make -C esp8266 BOARD=feather_huzzah
11
+ (( exit_status = exit_status || $? ))
10
12
11
13
version=` git describe --tags --exact-match`
12
14
if [ $? -ne 0 ]; then
13
- version=` git rev-parse --short HEAD`
15
+ version=` date +%Y%m%d ` - ` git rev-parse --short HEAD`
14
16
fi
15
17
16
18
for 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 || $? ))
18
24
done
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