File tree Expand file tree Collapse file tree 3 files changed +22
-9
lines changed Expand file tree Collapse file tree 3 files changed +22
-9
lines changed Original file line number Diff line number Diff line change 1
1
language : go
2
2
3
- go :
4
- - " 1.11"
3
+ matrix :
4
+ include :
5
+ - dist : xenial
6
+ go : " 1.11"
5
7
6
- before_install :
7
- - echo "deb http://apt.llvm.org/trusty/ llvm-toolchain-trusty-7 main" | sudo tee -a /etc/apt/sources.list
8
- - echo "deb http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu trusty main" | sudo tee -a /etc/apt/sources.list
9
- - sudo apt-get update -qq
10
- - sudo apt-get install llvm-7-dev clang-7 libclang-7-dev binutils-arm-none-eabi qemu-system-arm --allow-unauthenticated -y
11
- - sudo ln -s /usr/bin/clang-7 /usr/local/bin/cc # work around missing -no-pie in old GCC version
8
+ addons :
9
+ apt :
10
+ sources :
11
+ - sourceline : ' ppa:ubuntu-toolchain-r'
12
+ - sourceline : ' deb http://apt.llvm.org/xenial/ llvm-toolchain-xenial-7 main'
13
+ key_url : ' https://apt.llvm.org/llvm-snapshot.gpg.key'
14
+ packages :
15
+ - llvm-7-dev
16
+ - clang-7
17
+ - libclang-7-dev
18
+ - binutils-arm-none-eabi
19
+ - qemu-system-arm
20
+ - gcc-avr
21
+ - avr-libc
12
22
13
23
install :
14
24
- curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
@@ -26,7 +36,8 @@ script:
26
36
- tinygo build -o test.nrf.elf -target=nrf52840-mdk examples/blinky1
27
37
- tinygo build -o blinky1.nrf51d.elf -target=pca10031 examples/blinky1
28
38
- tinygo build -o blinky1.stm32.elf -target=bluepill examples/blinky1
29
- - tinygo build -o blinky1.avr.o -target=arduino examples/blinky1 # TODO: avr-as/avr-gcc doesn't work
39
+ - tinygo build -o blinky1.avr.elf -target=arduino examples/blinky1
40
+ - tinygo build -o blinky1.avr.elf -target=digispark examples/blinky1
30
41
- tinygo build -o blinky1.reel.elf -target=reelboard examples/blinky1
31
42
- tinygo build -o blinky2.reel.elf -target=reelboard examples/blinky2
32
43
- tinygo build -o blinky1.pca10056.elf -target=pca10056 examples/blinky1
Original file line number Diff line number Diff line change 4
4
"build-tags" : [" nrf52" , " nrf" ],
5
5
"cflags" : [
6
6
" --target=armv7em-none-eabi" ,
7
+ " -mfloat-abi=soft" ,
7
8
" -Qunused-arguments" ,
8
9
" -DNRF52832_XXAA" ,
9
10
" -Ilib/CMSIS/CMSIS/Include"
Original file line number Diff line number Diff line change 4
4
"build-tags" : [" nrf52840" , " nrf" ],
5
5
"cflags" : [
6
6
" --target=armv7em-none-eabi" ,
7
+ " -mfloat-abi=soft" ,
7
8
" -Qunused-arguments" ,
8
9
" -DNRF52840_XXAA" ,
9
10
" -Ilib/CMSIS/CMSIS/Include"
You can’t perform that action at this time.
0 commit comments