Having trouble with avr-hal

This page summarizes the projects mentioned and recommended in the original post on /r/rust

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • avr-hal

    embedded-hal abstractions for AVR microcontrollers

  • I am interested in starting to do some arduino stuff in Rust. I am having some issues using Rahix/avr-hal(https://github.com/Rahix/avr-hal). If anyone can offer guidance/advice, I'd appreciate the help.

  • ufmt

    a smaller, faster and panic-free alternative to core::fmt (by Rahix)

  • PS C:\Users\V\Documents\RustLangRandom\avr-hal-main\examples\arduino-uno> cargo run --bin uno-blink warning: C:\Users\V\Documents\RustLangRandom\avr-hal-main\examples\nano168\Cargo.toml: unused manifest key: package.Description Updating git repository `https://github.com/Rahix/ufmt.git` Updating crates.io index Downloaded nb v0.1.3 Downloaded avr-device v0.3.1 Downloaded embedded-hal v0.2.6 Downloaded panic-halt v0.2.0 Downloaded nb v1.0.0 Downloaded pwm-pca9685 v0.3.1 Downloaded paste v1.0.5 Downloaded vcell v0.1.3 Downloaded bare-metal v0.2.5 Downloaded void v1.0.2 Downloaded avr-device-macros v0.3.1 Downloaded 11 crates (1.3 MB) in 7.94s (largest was `avr-device` at 1.1 MB) Compiling proc-macro2 v1.0.29 Compiling unicode-xid v0.2.2 Compiling semver-parser v0.7.0 Compiling syn v1.0.77 Compiling proc-macro-hack v0.5.19 Compiling nb v1.0.0 Compiling void v1.0.2 Compiling cfg-if v0.1.10 error[E0463]: can't find crate for `core` | = note: the `avr-atmega328p-6543103272946052514` target may not be installed error: aborting due to previous error For more information about this error, try `rustc --explain E0463`. error[E0463]: can't find crate for `core` | = note: the `avr-atmega328p-6543103272946052514` target may not be installed error: aborting due to previous error For more information about this error, try `rustc --explain E0463`. error[E0463]: can't find crate for `core` | = note: the `avr-atmega328p-6543103272946052514` target may not be installed error: aborting due to previous error For more information about this error, try `rustc --explain E0463`. error: could not compile `nb` To learn more, run the command again with --verbose. warning: build failed, waiting for other jobs to finish... error: build failed PS C:\Users\V\Documents\RustLangRandom\avr-hal-main\examples\arduino-uno> rustup target add avr-atmega328p-6543103272946052514 error: toolchain 'stable-x86_64-pc-windows-msvc' does not contain component 'rust-std' for target 'avr-atmega328p-6543103272946052514'

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts