A repo that showcases a potential bug with f64 on the Arduino MEGA 2560 R3 (and maybe others).
- Install the dependencies:
- Debian:
sudo apt install avr-libc gcc-avr pkg-config avrdude libudev-dev build-essential - Fedora:
sudo dnf install avr-libc avr-gcc pkg-config systemd-devel make automake gcc gcc-c++ kernel-devel avrdude - macOS:
brew install avr-gcc avrdude - Windows: haven't done this, but...
scoop install avr-gcc avrdude
- Debian:
- Ensure you have permissions to use Serial. On Linux,
sudo usermod --append --groups dialout (your username) - Clone this repo
- Plug in your Arduino board
- Run the test:
cargo run -Z build-std=core --target avr-specs/avr-atme ga2560.json --release