Crates.io | arduino_mkr1000 |
lib.rs | arduino_mkr1000 |
version | 0.5.1 |
source | src |
created_at | 2020-09-28 19:38:52.623679 |
updated_at | 2024-10-18 20:08:59.696789 |
description | Board Support crate for the Arduino MKR 1000 WiFi |
homepage | |
repository | https://github.com/atsamd-rs/atsamd |
max_upload_size | |
id | 293816 |
size | 17,965 |
This crate provides a type-safe API for working with the Arduino MKR WiFi 1000 board.
samd
ArduinoData/packages/arduino/tools/bossac/1.7.0[-arduino3]/
add it to your path
ArduinoData
is likely something like ~/.arduino15/
ArduinoData
is likely something like ~/Library/Arduino15
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
Note: Before you run bossac, you need to double-press the center button to reset when re-flashing the device. This sets the device in a bootloader mode.
cargo build --release --example blinky_basic
arm-none-eabi-objcopy -O binary target/thumbv6m-none-eabi/release/examples/blinky_basic target/blinky_basic.bin
# if using cargo-binutils, you can `rust-objcopy` with the same flags, or combine the previous 2 steps with `cargo objcopy`
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