Hacker GitHub

← All repos

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

Mentions per year 4 mentions · busiest year 2021 (2)
20082026
  1. …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...
  2. …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
  3. …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…
  4. …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)