Skip to content

a repo that highlights a potential Rust bug between avr-hal(??) and f64

Notifications You must be signed in to change notification settings

onkoe/avr_f64_testing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

avr_f64_testing

A repo that showcases a potential bug with f64 on the Arduino MEGA 2560 R3 (and maybe others).

Usage

  1. 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
  2. Ensure you have permissions to use Serial. On Linux, sudo usermod --append --groups dialout (your username)
  3. Clone this repo
  4. Plug in your Arduino board
  5. Run the test: cargo run -Z build-std=core --target avr-specs/avr-atme ga2560.json --release

About

a repo that highlights a potential Rust bug between avr-hal(??) and f64

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages