From 3b2a81b26354c02ac0ea39920bac147ba947e4cf Mon Sep 17 00:00:00 2001 From: Kevin Townsend Date: Sun, 19 Mar 2017 22:12:10 +0100 Subject: [PATCH 1/7] Updated for release --- README.md | 33 ++++++++++++--------------------- 1 file changed, 12 insertions(+), 21 deletions(-) diff --git a/README.md b/README.md index dcc23a8d..f725c9fd 100644 --- a/README.md +++ b/README.md @@ -1,29 +1,29 @@ # Arduino Core for Nordic Semiconductor nRF5 based boards ## BSP Installation - -### Arduino nRF5x BSP via Board Manager -**NOTE:** For now, you need to install this BSP to gain access to the compiler. In the -future, only the Adafruit nRF52 BSP will be required. +There are two methods that you can use to install this BSP. We highly recommend the first option unless you with to participate in active development of this codebase via Github. + +### Recommended: Adafruit nRF52 BSP via the Arduino Board Manager 1. [Download and install the Arduino IDE](https://www.arduino.cc/en/Main/Software) (At least v1.6.12) 2. Start the Arduino IDE 3. Go into Preferences - 4. Add ```https://sandeepmistry.github.io/arduino-nRF5/package_nRF5_boards_index.json``` as an "Additional Board Manager URL" - 5. Open the Boards Manager from the Tools -> Board menu and install "Nordic Semiconductor nRF5 Boards" - 6. Select your nRF5 board from the Tools -> Board menu + 4. Add https://www.adafruit.com/package_adafruit_index.json as an 'Additional Board Manager URL' + 5. Restart the Arduino IDE + 6. Open the Boards Manager from the Tools -> Board menu and install 'Adafruit nRF52 by Adafruit' + 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. -### Adafruit nRF52 BSP via git (for core development) +### Optional (Core Development): Adafruit nRF52 BSP via git - 1. Follow steps from Board Manager section above - 2. ```cd ```, where `````` is your Arduino Sketch folder: + 1. ```cd ```, where `````` is your Arduino Sketch folder: * OS X: ```~/Documents/Arduino``` * Linux: ```~/Arduino``` * Windows: ```~/Documents/Arduino``` 3. Create a folder named ```hardware/Adafruit```, if it does not exist, and change directories to it 4. Clone this repo: `git clone git@github.com:adafruit/Adafruit_nRF52_Arduino.git` 5. Restart the Arduino IDE + 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. ### Third Party Tools @@ -68,14 +68,6 @@ on your system and available in the system path: Download and install the [JLink Software and Documentation Pack](https://www.segger.com/downloads/jlink) from Segger, which will also install a set of command line tools. -#### pynrfjprog - -In order to burn the bootloader with a J-Link, you will need `pynrfjprog` from Nordic: - -``` -$ sudo pip install pynrfjprog -``` - ### Burning the Bootloader 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. ## Credits -This core is based on the [Arduino SAMD Core](https://github.com/arduino/ArduinoCore-samd) -and licensed under the same [GPL License](LICENSE) +This core is based on [Arduino-nRF5](https://github.com/sandeepmistry/arduino-nRF5) by Sandeep Mistry, +which in turn is based on the [Arduino SAMD Core](https://github.com/arduino/ArduinoCore-samd). The following tools are used: * [GCC ARM Embedded](https://launchpad.net/gcc-arm-embedded) as the compiler - * A [forked](https://github.com/sandeepmistry/openocd-code-nrf5) version of [OpenOCD](http://openocd.org) to flash sketches From a1a3589205e89c38fb9bebd280674b7358975fdb Mon Sep 17 00:00:00 2001 From: Kevin Townsend Date: Sun, 19 Mar 2017 22:12:31 +0100 Subject: [PATCH 2/7] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index f725c9fd..1622450b 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ ## BSP Installation -There are two methods that you can use to install this BSP. We highly recommend the first option unless you with to participate in active development of this codebase via Github. +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. ### Recommended: Adafruit nRF52 BSP via the Arduino Board Manager From e7088f0ae4ad576ebab0d02b04e6c32c022a49fe Mon Sep 17 00:00:00 2001 From: Kevin Townsend Date: Sun, 19 Mar 2017 22:34:26 +0100 Subject: [PATCH 3/7] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 1622450b..fe719336 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Arduino Core for Nordic Semiconductor nRF5 based boards +# Arduino Core for Adafruit nRF52 Feather Boards ## BSP Installation From 9b5154564458ec8e031274ddd1e5fd82f195b382 Mon Sep 17 00:00:00 2001 From: Kevin Townsend Date: Mon, 20 Mar 2017 14:50:22 +0100 Subject: [PATCH 4/7] Update platform.txt --- platform.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform.txt b/platform.txt index 241c5df7..a1cf9ddb 100644 --- a/platform.txt +++ b/platform.txt @@ -17,7 +17,7 @@ # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA name=Adafruit Boards -version=0.4.5 +version=0.5.0 # Compile variables # ----------------- From 30021ac7cd58d67668a5ee81c40c6c4b3fbc9b18 Mon Sep 17 00:00:00 2001 From: Kevin Townsend Date: Mon, 20 Mar 2017 14:54:48 +0100 Subject: [PATCH 5/7] Update LICENSE --- LICENSE | 1 + 1 file changed, 1 insertion(+) diff --git a/LICENSE b/LICENSE index 776cdc00..bcd96ec4 100644 --- a/LICENSE +++ b/LICENSE @@ -1,5 +1,6 @@ Copyright (c) 2015 Arduino LLC. All right reserved. Copyright (c) 2016 Sandeep Mistry All right reserved. +Copyright (c) 2017 Adafruit Industries. All rights reserved. This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public From 6c6adb485defdab0fae500061c94484b399d48ca Mon Sep 17 00:00:00 2001 From: Kevin Townsend Date: Mon, 20 Mar 2017 14:55:41 +0100 Subject: [PATCH 6/7] Update keywords.txt --- keywords.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/keywords.txt b/keywords.txt index 6428075c..2c137e14 100644 --- a/keywords.txt +++ b/keywords.txt @@ -1,5 +1,5 @@ ####################################### -# Syntax Coloring Map For Adafruit Feather WiFi +# Syntax Coloring Map For Adafruit Bluefruit nRF52 Feather ####################################### ####################################### From 37c886add4ebffcb6266e44226645c56b5985e30 Mon Sep 17 00:00:00 2001 From: Kevin Townsend Date: Mon, 20 Mar 2017 14:56:33 +0100 Subject: [PATCH 7/7] Update boards.txt --- boards.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/boards.txt b/boards.txt index 9757e232..2adb8d1a 100644 --- a/boards.txt +++ b/boards.txt @@ -1,5 +1,6 @@ # Copyright (c) 2014-2015 Arduino LLC. All right reserved. # Copyright (c) 2016 Sandeep Mistry All right reserved. +# Copyright (c) 2017 Adafruit Industries. All right reserved. # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public