HAL for the nRF51, nRF52 and nRF91 families of microcontrollers
Please refer to the changelog to see what changed in the last releases.
Every nRF chip has its own crate, listed below:
Device | Product Specification | DK Reference Guide |
---|---|---|
nRF52805 |
v1.3 |
v1.3.1* |
nRF52810 |
v1.3 |
v1.3.1* |
nRF52811 |
v1.0 |
v1.3.1* |
nRF52832 |
v1.4 |
v1.3.1* |
nRF52833 |
v1.3 |
v1.0.1 |
nRF52840 |
v1.1 |
v1.2 |
nRF9160 |
v2.0 |
v0.9.3 |
* These devices do not have a separate development kit and share the NRF52 DK
There are currently no crates here for nRF54
parts. Pull requests are welcome. In the meantime, we recommend the embassy-nrf
crate for this purpose. In spite of its name embassy-nrf
also supplies a normal embedded-hal
style interface.
Be sure to copy and edit the Cargo.example.toml
file to Cargo.toml
. The file will require editing dependent on the target you wish to work with and contains some further
instructions. Similarly, check out the .vscode/settings.json
file when used in the context of Visual Studio Code. By default, all of these files are configured to work
with the nRF52840 target.
Licensed under either of
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
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.