Skip to content

forestgiant/nrf52-hal-example

Repository files navigation

NRF52832 Example

This is the first program from the rust-embedded discovery book running on an nRF52832 board

Status

  • Currently building examples project is in the very early stages

Pre-reqs

  • ARM toolchain
  • J-Link
  • newlib
    • On some macOS you might need to install newlib manually
    • Download the above and copy the newlib directory into the /usr/local/include folder on your mac
    • If you decide to place it somewhere else make sure you update the clang_arg in the build.rs

Running

  • Start jlink ./jlink
  • Pick and example and run it, e.g. cargo run --example hello
  • It is setup to break at the first line of code inside the main

Examples

About

Example embedded program for the NRF52 written in Rust

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages