rust-arduino-blink icon indicating copy to clipboard operation
rust-arduino-blink copied to clipboard

Doesn't build

Open nerium1918 opened this issue 3 years ago • 1 comments

Hi, I'm trying to build this repo but I get all sorts of compilation issues, mostly things like this:

error[E0463]: can't find crate for `core`
  |
  = note: the `avr-atmega328p-14594304710873606362` target may not be installed

And if I try rustup target add avr-atmega328p-14594304710873606362, I get:

error: toolchain '1.52.1-x86_64-unknown-linux-gnu' does not contain component 'rust-std' for target 'avr-atmega328p-14594304710873606362'
note: not all platforms have the standard library pre-compiled: https://doc.rust-lang.org/nightly/rustc/platform-support.html

Any help would be appreciated!

nerium1918 avatar Nov 11 '21 20:11 nerium1918

try "sudo apt-get install gcc-avr"

archenemy1996 avatar Sep 29 '22 12:09 archenemy1996