Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

nRF52840-DK BSP

NotificationsYou must be signed in to change notification settings

nrf-rs/nrf52840-dk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 theonboard features:

  • 4 on-board LEDs
  • 4 on-board buttons

This BSP assumes you are not using a bootloader running in non-secure mode.

Usage

You will require thethumbv7em-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 theBoard::init() function.

Documentation

The docs for this crate can be found athttps://docs.rs/nrf52840-dk-bsp. Themanufacturer's documentation is available fromhttps://infocenter.nordicsemi.com/pdf/nRF52840_DK_User_Guide_v1.4.1.pdf.

Licence

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionallysubmitted for inclusion in the work by you, as defined in the Apache-2.0license, shall be dual licensed as above, without any additional terms orconditions.

About

nRF52840-DK BSP

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors13

Languages


[8]ページ先頭

©2009-2025 Movatter.jp