rust-arduino-blink
rust-arduino-blink copied to clipboard
Doesn't build
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!
try "sudo apt-get install gcc-avr"