This repository contains the Arduino BSP for Adafruit Bluefruit nRF52 series:
- DynOSSAT-EDU-Comms (SatComms) - nRF52832
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.
- Download and install the Arduino IDE (At least v1.6.12)
- Start the Arduino IDE
- Go into Preferences
- Add https://bhdynamics.github.io/board_index/package_dynossat_index.json as an 'Additional Board Manager URL'
- Restart the Arduino IDE
- Open the Boards Manager from the Tools -> Board menu and install 'DynOSSAT-EDU nRF5 Boards'
- Once the BSP is installed, select 'DynOSSAT-EDU-Comms' from the Tools -> Board menu, which will update your system config to use the right compiler and settings for the nRF52.
- Install BSP via Board Manager as above to install compiler & tools.
- Delete the core folder
nrf52installed by Board Manager in Adruino15, depending on your OS. It could be
- macOS :
~/Library/Arduino15/packages/adafruit/hardware/nrf52 - Linux :
~/.arduino15/packages/adafruit/hardware/nrf52 - Windows:
%APPDATA%\Local\Arduino15\packages\adafruit\hardware\nrf52
cd <SKETCHBOOK>, where<SKETCHBOOK>is your Arduino Sketch folder:
- macOS :
~/Documents/Arduino - Linux :
~/Arduino - Windows:
~/Documents/Arduino
- Create a folder named
hardware/Adafruit, if it does not exist, and change directories to it - Clone this repo & its submodules:
git clone --recurse-submodules https://github.com/adafruit/Adafruit_nRF52_Arduino.git - Restart the Arduino IDE
- 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.
This BSP includes the SoftDevice S132, version 6.1.1. You need the SoftDevice in order to make the board work. To burn it, just select Tools -> Burn bootloader from within the Arduino IDE. It will erase the board and flash the SoftDevice.
You will also need on your system and available in the system path:
Check to make sure you can run nrfjprog from your terminal/command prompt
This core is based on Adafruit_nRF52_Arduino by Adafruit, which is based on Arduino-nRF5 by Sandeep Mistry and the Arduino SAMD Core by Arduino.
The following libraries are used:
- freeRTOS as operating system
- tinyusb as usb stack
- nrfx for peripherals driver
- littlefs for internal file system
- Bluefruit52 for DynOSSAT-EDU to enable Bluetooth LE capabilities