Crates.io | arduino_nano33iot |
lib.rs | arduino_nano33iot |
version | 0.7.2 |
source | src |
created_at | 2020-07-07 03:46:35.615251 |
updated_at | 2024-10-18 20:09:47.390839 |
description | Board Support crate for the Arduino Nano 33 IOT |
homepage | |
repository | https://github.com/atsamd-rs/atsamd |
max_upload_size | |
id | 262173 |
size | 48,676 |
This crate provides a type-safe API for working with the Arduino nano 33 IOT board.
samd
package installed. You can do this by going to Tools->Board->BoardManager and then searching for samd
or run arduino-cli core install arduino:samd
.ArduinoData/packages/arduino/tools/bossac/1.7.0[-arduino3]/
add it to your pathArduinoData
is likely something like ~/.arduino15/
ArduinoData
is likely something like ~/Library/Arduino15
arm-none-eabi
tools installed, you need gcc
and objcopy
.thumbv6m-none-eabi
rust target installed via rustup target add thumbv6m-none-eabi
. Some features may also require nightly rust.cargo build --release --example blinky_basic
# If using cargo-binutils, you can `rust-objcopy` with the same flags, or combine these 2 steps with `cargo objcopy`
arm-none-eabi-objcopy -O binary target/thumbv6m-none-eabi/release/examples/blinky_basic target/blinky_basic.bin
# If using bossac
bossac -i -d -U true -i -e -w -v target/blinky_basic.bin -R
# If using arduino-cli
arduino-cli upload -i target/blinky_basic.bin -b arduino:samd:nano_33_iot -p /dev/ttyACM0
(You may need to use --port
with something like /dev/ttyACM0
//dev/ttyACM1
, or /dev/tty.usbmodemNNNNN
on OSX)
picocom
is a good simple terminal serial emulator, installable with your os's package manager or brew
/dev/tty.usbmodemTEST1