GithubHelp home page GithubHelp logo

mike1808 / pio_seeed_adafruit_nrf52_arduino Goto Github PK

View Code? Open in Web Editor NEW

This project forked from seeed-studio/adafruit_nrf52_arduino

0.0 0.0 0.0 88.21 MB

Arduino Core for Seeed nRF52 Boards

License: Other

JavaScript 0.02% C++ 10.39% Python 0.19% C 89.06% Assembly 0.33% Shell 0.01%

pio_seeed_adafruit_nrf52_arduino's Introduction

Arduino Core for Seeed nRF52 Boards

This repository contains the Arduino BSP for Seeed nRF52 series:

BSP Installation

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: Seeed nRF52 BSP via the Arduino Board Manager

  1. Download and install the Arduino IDE (At least v1.6.12)
  2. Start the Arduino IDE
  3. Go into Preferences
  4. Add https://files.seeedstudio.com/arduino/package_seeeduino_boards_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 'Seeed nRF52 Boards'
  7. Once the BSP is installed, select 'Seeed XIAO nRF52840' from the Tools -> Board menu, which will update your system config to use the right compiler and settings for the nRF52.

Optional (Core Development): Seeed nRF52 BSP via git

  1. Install BSP via Board Manager as above to install compiler & tools.
  2. Delete the core folder nrf52 installed by Board Manager in Adruino15, depending on your OS. It could be
  • macOS : ~/Library/Arduino15/packages/Seeeduino/hardware/nrf52
  • Linux : ~/.arduino15/packages/Seeeduino/hardware/nrf52
  • Windows: %APPDATA%\Local\Arduino15\packages\Seeeduino\hardware\nrf52
  1. cd <SKETCHBOOK>, where <SKETCHBOOK> is your Arduino Sketch folder:
  • macOS : ~/Documents/Arduino
  • Linux : ~/Arduino
  • Windows: ~/Documents/Arduino
  1. Create a folder named hardware/Seeeduino, if it does not exist, and change directories to it
  2. Clone this repo & its submodules:
git clone https://github.com/Seeed-Studio/Adafruit_nRF52_Arduino.git
cd Adafruit_nRF52_Arduino
git submodule update --init
  1. Restart the Arduino IDE
  2. Once the BSP is installed, select 'Seeed XIAO nRF52840' from the Tools -> Board menu, which will update your system config to use the right compiler and settings for the nRF52.

Adafruit's nrfutil tools

adafruit-nrfutil (derived from Nordic pc-nrfutil) is needed to upload sketch via serial port.

  • For Windows and macOS, pre-built executable binaries are included in the BSP at tools/adafruit-nrfutil/. It should work out of the box.
  • Linux user need to run follow command to install it from PyPi
$ pip3 install adafruit-nrfutil --user

Credits

This core is based on Adafruit_nRF52_Arduino by Adafruit, which in turn is based on Arduino-nRF5 by Sandeep Mistry, which in turn is based on the Arduino SAMD Core.

The following libraries are used:

pio_seeed_adafruit_nrf52_arduino's People

Contributors

ajs123 avatar artura-ms avatar brijohn avatar dstieglitz avatar elral avatar hathach avatar henrygab avatar ichbtm avatar innermatrix avatar jaswope avatar jeremypoulter avatar jpconstantineau avatar kevinfrei avatar ladyada avatar lakshanthad avatar macgyvernl avatar microbuilder avatar nenik avatar ogatatsu avatar orrmany avatar outlandnish avatar paulmand3l avatar pyro9 avatar sayanee avatar senmorgan avatar tdicola avatar thaanstad avatar toddtreece avatar toxynoid avatar ureloc avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.