File tree Expand file tree Collapse file tree 2 files changed +32
-0
lines changed Expand file tree Collapse file tree 2 files changed +32
-0
lines changed Original file line number Diff line number Diff line change 1+ language : generic
2+ addons :
3+ apt :
4+ packages :
5+ - libc6:i386
6+ - libstdc++6:i386
7+ env :
8+ global :
9+ - IDE_VERSION=1.6.12
10+ before_install :
11+ - /sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_1.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :1 -ac -screen 0 1280x1024x16
12+ - sleep 3
13+ - export DISPLAY=:1.0
14+ - wget http://downloads.arduino.cc/arduino-$IDE_VERSION-linux64.tar.xz
15+ - tar xf arduino-$IDE_VERSION-linux64.tar.xz
16+ - mv arduino-$IDE_VERSION $HOME/arduino-ide
17+ - export PATH=$PATH:$HOME/arduino-ide
18+ - arduino --pref "boardsmanager.additional.urls=https://sandeepmistry.github.io/arduino-nRF5/package_nRF5_boards_index.json" --install-boards sandeepmistry:nRF5
19+ - buildExampleSketch() { arduino --verbose-build --verify --board $1 $HOME/arduino-ide/examples/$2/$3/$3.ino; }
20+ install :
21+ - mkdir -p $HOME/Arduino/hardware/sandeepmistry
22+ - ln -s $PWD $HOME/Arduino/hardware/sandeepmistry/.
23+ script :
24+ - buildExampleSketch sandeepmistry:nRF5:nRF52DK 01.Basics Blink
25+ - buildExampleSketch sandeepmistry:nRF5:BluzDK 01.Basics Blink
26+ - buildExampleSketch sandeepmistry:nRF5:BLENano:version=1_0 01.Basics Blink
27+ - buildExampleSketch sandeepmistry:nRF5:RedBearLab_nRF51822:version=1_0 01.Basics Blink
28+ - buildExampleSketch sandeepmistry:nRF5:BBCmicrobit 01.Basics Blink
29+ - buildExampleSketch sandeepmistry:nRF5:Generic_nRF51822:chip=xxac 01.Basics Blink
30+ - buildExampleSketch sandeepmistry:nRF5:OSHChip 01.Basics Blink
Original file line number Diff line number Diff line change 11# Arduino Core for Nordic Semiconductor nRF5 based boards
22
3+ [ ![ Build Status] ( https://travis-ci.org/sandeepmistry/arduino-nRF5.svg?branch=master )] ( https://travis-ci.org/sandeepmistry/arduino-nRF5 )
4+
35Program your [ Nordic Semiconductor] ( https://www.nordicsemi.com ) nRF51 or nRF52 board using the [ Arduino] ( https://www.arduino.cc ) IDE.
46
57Does not require a custom bootloader on the device.
You can’t perform that action at this time.
0 commit comments