nrf-rs/nrf-hal
View on GitHub ↗ ★ 610 Rust
A Rust HAL for the nRF family of devices
4 mentions on Hacker News by 4 people: 0 stories, 4 comments · first 2020-07-05 · latest 2023-11-06
20082026
-
…I use the nrf-hal library with the nrf52840, and the code reads pretty nicely. Here's an example: https://github.com/nrf-rs/nrf-hal/blob/master/examples/blink...
comment by gaganyaan · 2023-11-06 · in How Rust can facilitate new contributors while decreasing vulnerabilities [pdf] -
…https://github.com/embassy-rs/embassy https://github.com/embassy-rs/nrf-softdevice Together with https://github.com/nrf-rs/nrf-hal these enable most everything one can do on these controllers form pure Rust (the softdevice is a blob with a…
comment by zwirbl · 2021-09-21 · in Rust on the MOS 6502: Beyond Fibonacci -
…across the types. The embedded HAL crates do this with extensive use of macros, for example: https://github.com/nrf-rs/nrf-hal/blob/aae17943efc24baffe30b... This solution makes sense given the constraints of Rust, but there's quite a cost…
comment by lynaghk · 2021-03-07 · in Why I rewrote my Rust keyboard firmware in Zig: consistency, mastery, and fun -
…I would recommend to read through the rust embedded book [2] and practice with the stm32 board. [1] https://github.com/nrf-rs/nrf-hal [2] https://rust-embedded.github.io/book/
comment by dutchmartin · 2020-07-05 · in Rust on the ESP32 (2019)