build-avr.sh 161 B

1234567
  1. #!/bin/sh
  2. set -e
  3. basedir="$(realpath -e "$0" | xargs dirname)"
  4. cd "$basedir/.."
  5. cargo build --target "$basedir/avr-atmega328p.json" -Z build-std=core --release