From ce9b8f2f7e2b38f5f3f6e629f779bc87a6c5a472 Mon Sep 17 00:00:00 2001 From: Kevin Townsend Date: Thu, 24 Nov 2016 12:50:33 +0100 Subject: [PATCH] Cleanup --- README.md | 50 ++++++++++++++++++++++++++++---------------------- 1 file changed, 28 insertions(+), 22 deletions(-) diff --git a/README.md b/README.md index e7be8922..4a67ce89 100644 --- a/README.md +++ b/README.md @@ -1,27 +1,8 @@ # Arduino Core for Nordic Semiconductor nRF5 based boards ## Installing - -### Tools - -#### Jlink - - Download and install jlink from segger - -#### nrfutil - - cd tools/nrfutil-0.5.2 - - sudo pip install nrfutil - -#### nrfjprog - -For burning bootloader with jlink, you will nrfjprog. Not required if you only upload sketch. - -- download nRF5x-Command-Line-Tools-OSX/Linux/Win32 https://www.nordicsemi.com/eng/Products/Bluetooth-low-energy/nRF52832#Downloads -- Extract downloaded file and add extracted path to Environment Path -- Check to make sure you could run nrfjprog from your terminal/command prompt - -### Board Manager +### Arduino nRF5x BSP via 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 @@ -30,7 +11,7 @@ For burning bootloader with jlink, you will nrfjprog. Not required if you only u 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 -### From git (for core development) +### Adafruit nRF52 BSP via git (for core development) 1. Follow steps from Board Manager section above 2. ```cd ```, where `````` is your Arduino Sketch folder: @@ -41,7 +22,32 @@ For burning bootloader with jlink, you will nrfjprog. Not required if you only u 4. Clone this repo: `git clone git@github.com:adafruit/Adafruit_nRF52_Arduino.git` 5. Restart the Arduino IDE -## BLE +### Required Third Party Tools + +#### nrfutil + +The Arduino nRF5x BSP includes a python wrapper for Nordic's `nrfutil`, which is used to flash boards. Go into the Arduino BSP folder, and run the following to make this available to the Arduino IDE: + + - cd tools/nrfutil-0.5.2 + - sudo pip install nrfutil + +On **Windows** this folder is normally `%APPDATA%\Arduino15\packages\adafruit\hardware`. + +On **OS X** this folder is normally `~/Library/Arduino15/packages/adafruit/hardware`. + +#### Jlink Driver and Tools (To Flash Bootloader) + +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. + +#### nrfjprog (To Flash Bootloader) + +For burning bootloader with jlink, you will nrfjprog. Not required if you only upload sketch. + +- download nRF5x-Command-Line-Tools-OSX/Linux/Win32 https://www.nordicsemi.com/eng/Products/Bluetooth-low-energy/nRF52832#Downloads +- Extract downloaded file and add extracted path to Environment Path +- Check to make sure you could run nrfjprog from your terminal/command prompt + +## BLE Arduino Support This Arduino Core does **not** contain any Arduino style API's for BLE functionality. All the relevant Nordic SoftDevice (S110, S130, S132) header files are included build path when a SoftDevice is selected via the `Tools` menu.