Coder Social home page Coder Social logo

nrf51-empty's Introduction

nRF51 Empty ๐Ÿ“ฆ

Base project for the nRF51 Bluetooth Smart SoC on Mac OS X. Includes the S130 SoftDevice.

Targets the nRF51 DK (PCA10028 - nRF51422). But should work with other kits and the nRF51822 SoC.

Most of this was made copying from the examples in the SDK, but I wanted a base template I could for my own projects. I don't fully understand the Makefile, but it seems to work.

Setup

  • Make sure you have a copy of the NRF51 SDK 11 in the parent directory named RF5_SDK_11.
  • You will need GCC ARM Embedded installed.
  • To flash the board you need J-Link.
  • Change the first few lines in the Makefile for your project and for the paths on your system.

Usage

  • Code goes in ./src/ (Sample code blinks LED_1).
  • Complied files end up in ./_build/.

Building

make clean
make

Flashing / Programming

./nrfjprog.sh --flash-softdevice ../nRF5_SDK_11/components/softdevice/s130/hex/s130_nrf51_2.0.0_softdevice.hex
./nrfjprog.sh --flash ./_build/blank.hex

nrf51-empty's People

Contributors

djm0 avatar

Stargazers

 avatar

Watchers

 avatar  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.