Closed foosinn closed 4 years ago
I also was able to reproduce this error on Arch Linux and NixOS
I think you forgot to switch into a board directory. You'll want to build e.g. from inside boards/arduino-uno
, not from the top-level directory as each MCU has its own target configuration which are only present in those directories.
I did not setup .cargo/config.toml
correctly. For anyone stumbling on this:
$ cat .cargo/config.toml
[build]
target = "avr-atmega32u4.json"
[unstable]
build-std = ["core"]
This seems to be related to #29, but happens on linux, even after replacing all symlinks
Steps the reproduce:
This leads to the following error:
Thanks a lot for your time and efforts, it's more than awesome to switch away from the arduino ide to rust!