onyx/flash

3 lines
140 B
Bash
Executable File

#!/usr/bin/env bash
cargo build --release && sudo bossac -p /dev/ttyACM0 -e -w -v -R --offset 0x2000 target/thumbv6m-none-eabi/release/onyx