nucleo-l053r8-benches/scripts/flash.sh
2025-07-09 15:02:17 +02:00

6 lines
249 B
Bash
Executable file

#!/bin/bash
# I'm using a bash script because if i set the target in .cargo/config.toml
# i can't build for x86_64 anymore, which means I can't run the unit tests.
TARGET="thumbv6m-none-eabi"
cargo build --target $TARGET
cargo run --target $TARGET