Crates.io | nrf52840-dk-bsp |
lib.rs | nrf52840-dk-bsp |
version | 0.2.0 |
source | src |
created_at | 2020-09-14 19:58:46.62578 |
updated_at | 2021-11-10 09:32:22.418604 |
description | BSP for the nRF52840-DK |
homepage | |
repository | https://github.com/nrf-rs/nrf52840-dk |
max_upload_size | |
id | 288703 |
size | 41,327 |
This crate is a Board Support Package (BSP). It wraps the HAL crate (nrf52840-hal) for the on-board nRF52840, and provides high level wrappers for the onboard features:
This BSP assumes you are not using a bootloader running in non-secure mode.
You will require the thumbv7em-none-eabihf
target installed. To build one of these examples:
$ rustup target add thumbv7em-none-eabihf
$ git clone https://github.com/nrf-rs/nrf52840-DK.git
$ cd nrf52840-DK
$ cargo build --target=thumbv7em-none-eabihf --example blinky
To use in your own application, add as a dependency and call the
Board::init()
function.
The docs for this crate can be found at https://docs.rs/nrf52840-dk-bsp. The manufacturer's documentation is available from https://infocenter.nordicsemi.com/pdf/nRF52840_DK_User_Guide_v1.4.1.pdf.
Licensed under either of
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.