Skip to content

davnotdev/rust_arduino_uno_template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rust Arduino Uno Template

This is a basic template that builds on this template from the mighty Rahix themself.

Specifically:

  • Generic rust nightly instead.
  • Debug symbols disabled in debug mode.
  • No license or any extra files, meant to Just Work™.

First time use:

  • Install the arduino stuff: avr-gcc, avrdude, avr-binutils, etc.
  • Have rust nightly installed.

Lazy Setup

sh <(curl https://raw.githubusercontent.com/davnotdev/rust_arduino_uno_template/main/init)

Manual Setup

If you don't have curl or the init script fails (you don't see the finish message) , do the following:

  • Clone this repo.
  • Delete init and this file.
  • Modify Cargo.toml.
  • Switch to rust nightly if you haven't already.
  • Enjoy!

Usage

cargo r will flash to the arduino. (Isn't that neat.)

About

A single command to initialize a rust project for the arduino uno.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published