Skip to content

Commit 676a254

Browse files
committed
update travis to build with git master of nrf52 and samd core
1 parent b1cebd2 commit 676a254

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.travis.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ git:
1010
env:
1111
global:
1212
- PRETTYNAME="Adafruit TinyUSB Library"
13+
- BSP_PATH="$HOME/.arduino15/packages/adafruit/hardware"
1314
#- DOXYFILE=$TRAVIS_BUILD_DIR/.doxyfile
1415

1516
addons:
@@ -24,6 +25,14 @@ before_install:
2425
# add tinyusb option for m4
2526
- sed -i 's/\(m4:speed=120\)/\1,usbstack=tinyusb/g' install.sh
2627
- source install.sh
28+
# Remove release code and clone git master of nRF52
29+
- BSP_VERSION=`eval ls $BSP_PATH/nrf52`
30+
- rm -r $BSP_PATH/nrf52/*
31+
- git clone --quite https://github.com/adafruit/Adafruit_nRF52_Arduino.git $BSP_PATH/nrf52/$BSP_VERSION
32+
# Remove release code and clone git master of SAMD
33+
- BSP_VERSION=`eval ls $BSP_PATH/samd`
34+
- rm -r $BSP_PATH/samd/*
35+
- git clone --quite https://github.com/adafruit/ArduinoCore-samd.git $BSP_PATH/samd/$BSP_VERSION
2736

2837
install:
2938
- arduino --install-library "Adafruit SPIFlash","MIDI Library","Adafruit seesaw Library"

0 commit comments

Comments
 (0)