Crates.io | pitaya-go-bsp |
lib.rs | pitaya-go-bsp |
version | 0.1.0 |
source | src |
created_at | 2021-10-03 04:07:13.749235 |
updated_at | 2021-10-03 04:07:13.749235 |
description | BSP for the Pitaya Go |
homepage | |
repository | |
max_upload_size | |
id | 459623 |
size | 40,237 |
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/daveallie/pitaya-go-bsp-rs.git
$ cd
$ cargo build --target=thumbv7em-none-eabihf --example blinky
To use in your own application, add as a dependency and call the
Board::init()
function.
MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)