Skip to content

Commit 0d9df86

Browse files
committed
Merge branch 'master' of github.com:adafruit/Adafruit_nRF52_Arduino
2 parents 85ce580 + 37c886a commit 0d9df86

File tree

5 files changed

+17
-24
lines changed

5 files changed

+17
-24
lines changed

LICENSE

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
Copyright (c) 2015 Arduino LLC. All right reserved.
22
Copyright (c) 2016 Sandeep Mistry All right reserved.
3+
Copyright (c) 2017 Adafruit Industries. All rights reserved.
34

45
This library is free software; you can redistribute it and/or
56
modify it under the terms of the GNU Lesser General Public

README.md

Lines changed: 13 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,29 @@
1-
# Arduino Core for Nordic Semiconductor nRF5 based boards
1+
# Arduino Core for Adafruit nRF52 Feather Boards
22

33
## BSP Installation
4-
5-
### Arduino nRF5x BSP via Board Manager
64

7-
**NOTE:** For now, you need to install this BSP to gain access to the compiler. In the
8-
future, only the Adafruit nRF52 BSP will be required.
5+
There are two methods that you can use to install this BSP. We highly recommend the first option unless you wish to participate in active development of this codebase via Github.
6+
7+
### Recommended: Adafruit nRF52 BSP via the Arduino Board Manager
98

109
1. [Download and install the Arduino IDE](https://www.arduino.cc/en/Main/Software) (At least v1.6.12)
1110
2. Start the Arduino IDE
1211
3. Go into Preferences
13-
4. Add ```https://sandeepmistry.github.io/arduino-nRF5/package_nRF5_boards_index.json``` as an "Additional Board Manager URL"
14-
5. Open the Boards Manager from the Tools -> Board menu and install "Nordic Semiconductor nRF5 Boards"
15-
6. Select your nRF5 board from the Tools -> Board menu
12+
4. Add https://www.adafruit.com/package_adafruit_index.json as an 'Additional Board Manager URL'
13+
5. Restart the Arduino IDE
14+
6. Open the Boards Manager from the Tools -> Board menu and install 'Adafruit nRF52 by Adafruit'
15+
7. Once the BSP is installed, select 'Adafruit Bluefruit nRF52 Feather' from the Tools -> Board menu, which will update your system config to use the right compiler and settings for the nRF52.
1616

17-
### Adafruit nRF52 BSP via git (for core development)
17+
### Optional (Core Development): Adafruit nRF52 BSP via git
1818

19-
1. Follow steps from Board Manager section above
20-
2. ```cd <SKETCHBOOK>```, where ```<SKETCHBOOK>``` is your Arduino Sketch folder:
19+
1. ```cd <SKETCHBOOK>```, where ```<SKETCHBOOK>``` is your Arduino Sketch folder:
2120
* OS X: ```~/Documents/Arduino```
2221
* Linux: ```~/Arduino```
2322
* Windows: ```~/Documents/Arduino```
2423
3. Create a folder named ```hardware/Adafruit```, if it does not exist, and change directories to it
2524
4. Clone this repo: `git clone [email protected]:adafruit/Adafruit_nRF52_Arduino.git`
2625
5. Restart the Arduino IDE
26+
6. Once the BSP is installed, select 'Adafruit Bluefruit nRF52 Feather' from the Tools -> Board menu, which will update your system config to use the right compiler and settings for the nRF52.
2727

2828
### Third Party Tools
2929

@@ -68,14 +68,6 @@ on your system and available in the system path:
6868
Download and install the [JLink Software and Documentation Pack](https://www.segger.com/downloads/jlink)
6969
from Segger, which will also install a set of command line tools.
7070

71-
#### pynrfjprog
72-
73-
In order to burn the bootloader with a J-Link, you will need `pynrfjprog` from Nordic:
74-
75-
```
76-
$ sudo pip install pynrfjprog
77-
```
78-
7971
### Burning the Bootloader
8072

8173
Once the tools above have been installed and added to your system path, from the Arduino IDE:
@@ -139,10 +131,9 @@ but enter the `MSDEnable` command.
139131

140132
## Credits
141133

142-
This core is based on the [Arduino SAMD Core](https://github.com/arduino/ArduinoCore-samd)
143-
and licensed under the same [GPL License](LICENSE)
134+
This core is based on [Arduino-nRF5](https://github.com/sandeepmistry/arduino-nRF5) by Sandeep Mistry,
135+
which in turn is based on the [Arduino SAMD Core](https://github.com/arduino/ArduinoCore-samd).
144136

145137
The following tools are used:
146138

147139
* [GCC ARM Embedded](https://launchpad.net/gcc-arm-embedded) as the compiler
148-
* A [forked](https://github.com/sandeepmistry/openocd-code-nrf5) version of [OpenOCD](http://openocd.org) to flash sketches

boards.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# Copyright (c) 2014-2015 Arduino LLC. All right reserved.
22
# Copyright (c) 2016 Sandeep Mistry All right reserved.
3+
# Copyright (c) 2017 Adafruit Industries. All right reserved.
34
#
45
# This library is free software; you can redistribute it and/or
56
# modify it under the terms of the GNU Lesser General Public

keywords.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#######################################
2-
# Syntax Coloring Map For Adafruit Feather WiFi
2+
# Syntax Coloring Map For Adafruit Bluefruit nRF52 Feather
33
#######################################
44

55
#######################################

platform.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
1818

1919
name=Adafruit Boards
20-
version=0.4.5
20+
version=0.5.0
2121

2222
# Compile variables
2323
# -----------------

0 commit comments

Comments
 (0)