arduino-runA cargo runner for Arduino boards
arduino-cliarduino-cliarduino-run:
cargo install arduino-run
Add the following in your .cargo/config.toml:
toml
[target.'<target-triple>']
runner = "arduino-run -b <board> -p <port>"
arduino-run [OPTIONS] --board <BOARD> --port <PORT> <ELF>
<ELF>: The ELF firmware file-b, --board <BOARD>: The Fully Qualified Board Name (FQBN)-p, --port <PORT>: The serial port [env: ARDUINO_RUN_PORT]-m, --monitor: Open serial monitor after flashing-r, --baudrate <BAUDRATE>: The serial monitor baudrate [default: 9600]For more usage info, run arduino-run --help.
Licensed under either of
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
Copyright © 2023, Matteo Carnelos