This crate provides a type-safe API for working with the Arduino nano 33 IOT board.
ArduinoData/packages/arduino/tools/bossac/1.7.0/
add it to your path
ArduinoData
is likely something like ~/.arduino15/
rustup target add thumbv6m-none-eabi
bash
cargo build --release --example blinky_basic
arm-none-eabi-objcopy -O binary target/thumbv6m-none-eabi/release/examples/blinky_basic target/blinky_basic.bin
bossac -i -d -U true -i -e -w -v target/blinky_basic.bin -R
(You may need to use --port
with something like /dev/ttyACM0
or /dev/ttyACM1
picocom
is a good simple terminal serial emulator