百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
N

nrf-hal

> 编程语言
开源

用于 nRF 系列设备的 Rust HAL

602 stars0 点赞2 次浏览
访问官网GitHub

工具介绍

用于 nRF 系列设备的 Rust HAL

nrf-hal

HAL for the nRF51, nRF52 and nRF91 families of microcontrollers

Please refer to the changelog to see what changed in the last releases.

Crates

Every nRF chip has its own crate, listed below:

Crate Docs crates.io target
nrf51-hal thumbv6m-none-eabi
nrf52805-hal thumbv7em-none-eabi
nrf52810-hal thumbv7em-none-eabi
nrf52811-hal thumbv7em-none-eabi
nrf52832-hal thumbv7em-none-eabihf
nrf52833-hal thumbv7em-none-eabihf
nrf52840-hal thumbv7em-none-eabihf
nrf9160-hal thumbv8m.main-none-eabihf

Device Reference Manuals from Nordic

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.

Development

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.

License

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.

Contribution

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.

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Rustbluetoothembeddedhalmicrocontroller

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言