Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
arduino-nRF5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
arduino-nRF5
Commits
d5b4b30e
Commit
d5b4b30e
authored
Oct 02, 2016
by
Sandeep Mistry
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add Travis CI
parent
e72184d3
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
32 additions
and
0 deletions
+32
-0
.travis.yml
.travis.yml
+30
-0
README.md
README.md
+2
-0
No files found.
.travis.yml
0 → 100644
View file @
d5b4b30e
language
:
generic
addons
:
apt
:
packages
:
-
libc6:i386
-
libstdc++6:i386
env
:
global
:
-
IDE_VERSION=1.6.12
before_install
:
-
/sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_1.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :1 -ac -screen 0 1280x1024x16
-
sleep
3
-
export DISPLAY=:1.0
-
wget http://downloads.arduino.cc/arduino-$IDE_VERSION-linux64.tar.xz
-
tar xf arduino-$IDE_VERSION-linux64.tar.xz
-
mv arduino-$IDE_VERSION $HOME/arduino-ide
-
export PATH=$PATH:$HOME/arduino-ide
-
arduino --pref "boardsmanager.additional.urls=https://sandeepmistry.github.io/arduino-nRF5/package_nRF5_boards_index.json" --install-boards sandeepmistry:nRF5
-
buildExampleSketch() { arduino --verbose-build --verify --board $1 $HOME/arduino-ide/examples/$2/$3/$3.ino; }
install
:
-
mkdir -p $HOME/Arduino/hardware/sandeepmistry
-
ln -s $PWD $HOME/Arduino/hardware/sandeepmistry/.
script
:
-
buildExampleSketch sandeepmistry:nRF5:nRF52DK 01.Basics Blink
-
buildExampleSketch sandeepmistry:nRF5:BluzDK 01.Basics Blink
-
buildExampleSketch sandeepmistry:nRF5:BLENano:version=1_0 01.Basics Blink
-
buildExampleSketch sandeepmistry:nRF5:RedBearLab_nRF51822:version=1_0 01.Basics Blink
-
buildExampleSketch sandeepmistry:nRF5:BBCmicrobit 01.Basics Blink
-
buildExampleSketch sandeepmistry:nRF5:Generic_nRF51822:chip=xxac 01.Basics Blink
-
buildExampleSketch sandeepmistry:nRF5:OSHChip 01.Basics Blink
README.md
View file @
d5b4b30e
# Arduino Core for Nordic Semiconductor nRF5 based boards
# Arduino Core for Nordic Semiconductor nRF5 based boards
[
![Build Status
](
https://travis-ci.org/sandeepmistry/arduino-nRF5.svg?branch=master
)
](https://travis-ci.org/sandeepmistry/arduino-nRF5)
Program your
[
Nordic Semiconductor
](
https://www.nordicsemi.com
)
nRF51 or nRF52 board using the
[
Arduino
](
https://www.arduino.cc
)
IDE.
Program your
[
Nordic Semiconductor
](
https://www.nordicsemi.com
)
nRF51 or nRF52 board using the
[
Arduino
](
https://www.arduino.cc
)
IDE.
Does not require a custom bootloader on the device.
Does not require a custom bootloader on the device.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment