avr-hal

embedded-hal abstractions for AVR microcontrollers (by Rahix)

Avr-hal Alternatives

Similar projects and alternatives to avr-hal

  1. rust

    2,778 avr-hal VS rust

    Empowering everyone to build reliable and efficient software.

  2. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  3. llvm-project

    The LLVM Project is a collection of modular and reusable compiler and toolchain technologies.

  4. just

    193 avr-hal VS just

    🤖 Just a command runner

  5. rust-analyzer

    A Rust compiler front-end for IDEs

  6. Task

    122 avr-hal VS Task

    A task runner / simpler Make alternative written in Go

  7. cross

    119 avr-hal VS cross

    “Zero setup” cross compilation and “cross testing” of Rust crates

  8. circuitpython

    CircuitPython - a Python implementation for teaching coding with microcontrollers

  9. regex

    93 avr-hal VS regex

    An implementation of regular expressions for Rust. This implementation uses finite automata and guarantees linear time matching on all inputs.

  10. diesel

    88 avr-hal VS diesel

    A safe, extensible ORM and Query Builder for Rust

  11. embassy

    80 avr-hal VS embassy

    Modern embedded framework, using Rust and async.

  12. SheetJS js-xlsx

    62 avr-hal VS SheetJS js-xlsx

    đź“— SheetJS Spreadsheet Data Toolkit -- New home https://git.sheetjs.com/SheetJS/sheetjs

  13. Catch

    58 avr-hal VS Catch

    A modern, C++-native, test framework for unit-tests, TDD and BDD - using C++14, C++17 and later (C++11 support is in v2.x branch, and C++03 on the Catch1.x branch)

  14. rust-bindgen

    Automatically generates Rust FFI bindings to C (and some C++) libraries.

  15. image

    37 avr-hal VS image

    Encoding and decoding images in Rust (by image-rs)

  16. rp-hal

    30 avr-hal VS rp-hal

    A Rust Embedded-HAL for the rp series microcontrollers

  17. ruduino

    Reusable components for the Arduino Uno.

  18. rust

    7 avr-hal VS rust

    Rust for the xtensa architecture. Built in targets for the ESP32 and ESP8266 (by esp-rs)

  19. rustc_codegen_gcc

    libgccjit AOT codegen for rustc (by antoyo)

  20. atsamd

    Target atsamd microcontrollers using Rust

  21. avrd

    1 avr-hal VS avrd

    AVR device definitions

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better avr-hal alternative or higher similarity.

avr-hal discussion

Log in or Post with

avr-hal reviews and mentions

Posts with mentions or reviews of avr-hal. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-07-04.
  • Arduino Uno issue with interfacing with a dht11 sensor.
    4 projects | /r/rust | 4 Jul 2023
    /* * For examples (and inspiration), head to * * https://github.com/Rahix/avr-hal/tree/main/examples * * NOTE: Not all examples were ported to all boards! There is a good chance though, that code * for a different board can be adapted for yours. The Arduino Uno currently has the most * examples available. */ #![no_std] #![no_main] use dht_sensor::*; use panic_halt as _; #[arduino_hal::entry] fn main() -> ! { let dp = arduino_hal::Peripherals::take().unwrap(); let pins = arduino_hal::pins!(dp); let mut serial = arduino_hal::default_serial!(dp, pins, 57200); let mut pin3 = pins.d3.into_opendrain_high(); let mut delay = arduino_hal::Delay::new(); ufmt::uwriteln!(serial, "{}", "waiting for sensor...").unwrap(); arduino_hal::delay_ms(2000); loop { match dht11::Reading::read(&mut delay, &mut pin3) { Ok(dht11::Reading { temperature, relative_humidity, }) => ufmt::uwriteln!(serial, "{}°, {}% RH", temperature, relative_humidity).unwrap(), Err(_e) => ufmt::uwriteln!(serial, "Error {}", "Unable to read").unwrap(), } arduino_hal::delay_ms(2000); } }
  • What are the scenarios where "Rewrite it in Rust" didn't meet your expectations or couldn't be successfully implemented?
    16 projects | /r/rust | 9 Jun 2023
    I found the generics a lot less of a problem when I realized I could parametrize on things like embedded_hal::serial::Write instead of UsartOps https://github.com/Rahix/avr-hal/pull/264/commits/17ed15321cb8fcf8aedb1f8133be1f189eb06a6f
  • not entirely new to rust, but very new to rust+arduino,.... eli5 the differences between these projects?
    2 projects | /r/rust | 12 Jan 2023
    I've come across avr-rust, avr-hal and both seem to have arduino stuff, wondering which is the most beginner friendly? (I have a bit of experience with the regular arduino IDE but want to switch over to doing all the stuff in rust for a challenge)
  • Hey Rustaceans! Got a question? Ask here (1/2023)!
    11 projects | /r/rust | 3 Jan 2023
    fyi, a minor follow-up at https://github.com/Rahix/avr-hal/issues/388
  • Rust and arduino?
    2 projects | /r/rust | 12 Dec 2022
    I have contributed a little to this. avr-hal I have done a couple little hobby projects with it as well, but I can't say it's the best thing out there.
  • Learning Embedded rust
    7 projects | /r/rust | 18 Nov 2022
    All you need is in the documentation: https://rahix.github.io/avr-hal/arduino_hal/index.html even though reading the documentation without knowing what you're looking for can be quite difficult, so looking at some examples might be more helpful.
  • Five simple steps to use any Arduino C++ library in a Rust project 🦀
    11 projects | dev.to | 13 Nov 2022
    Rust language shares all advantages of efficient C++ code. With the rust community growing year after year, more and more people try using rust to program their Arduino boards. Consequently, the Arduino Rust ecosystem have significantly developed in the last couple of years. The Hardware Abstraction Layer for AVR microcontrollers avr-hal, Rudino library and ravedude CLI utility to make Rust development for AVR microcontrollers easier are just a few examples of the solid foundation developed so far.
  • The coincidental typos compiled..
    1 project | /r/rust | 20 Oct 2022
    Today I was toying with the arduino again, making an attached LED matrix print awesome messages better than it previously had. I wanted to use millis() found in the examples in the unsurpassed avr-hal crate, to orchestrate the duration it should show (part of) a character before moving on. But that is all besides the point. I made a few mistakes that coincidentally compiled and as such made me believe I was doing things right. (Perhaps I should note here that I am visually impaired so it is a bit easier for me to glance over smaller differences.)
  • From arduino to rust via avr-hal
    2 projects | /r/rust | 16 Oct 2022
    There's a blink example in the repo for the avr-hal crate.
  • Hey Rustaceans! Got a question? Ask here! (34/2022)!
    11 projects | /r/rust | 24 Aug 2022
    I'm trying to make an Arduino display text on an LCD using I2C (HD44780). So far, I've used arduino-hal from the avr-hal crate (github.com/Rahix/avr-hal) to program the Arduino, and I wonder if anyone happens to know of a library/crate which is compatible with it? So far I've only found ag-lcd which doesn't seem to work with I2C.
  • A note from our sponsor - SaaSHub
    www.saashub.com | 25 Jan 2025
    SaaSHub helps you find the best software and product alternatives Learn more →

Stats

Basic avr-hal repo stats
30
1,366
7.9
12 days ago

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com