Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
A

avr-hal-template

> 包管理
Open source

cargo-generate template for avr-hal projects

176 stars0 likes3 views
WebsiteGitHub

About

cargo-generate template for avr-hal projects

avr-hal-template

cargo-generate template for jumpstarting projects on common AVR microcontroller boards. This template supports the following hardware at this time:

  • Arduino Leonardo
  • Arduino Mega 2560
  • Arduino Mega 1280
  • Arduino Micro
  • Arduino Nano
  • Arduino Nano New Bootloader (Manufactured after January 2018)
  • Arduino Uno
  • SparkFun ProMicro
  • SparkFun ProMini 3.3V
  • SparkFun ProMini 5v
  • Adafruit Trinket
  • Adafruit Trinket Pro

Usage

If you don't have them already, install cargo-generate and ravedude:

bash
cargo install cargo-generate
cargo install ravedude

Then instantiate this template:

bash
cargo generate --git https://github.com/Rahix/avr-hal-template.git

You will be prompted to select your board - do so and you're ready to roll! Everything is prepared so you should be able to just

bash
cargo run

and see a blinky flashed to your board!

License

Licensed under either of

  • Apache License, Version 2.0 (LICENSE-APACHE or )
  • MIT license (LICENSE-MIT or )

at your option.

Contribution

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.

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Rustarduinoavravr-halcargo-generate

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 18, 2026
Category包管理
PricingOpen source

> Related tools

N
npm
Node.js 默认包管理器
P
pnpm
高效节省磁盘的 Node 包管理器
I
is-gif
Check if a Buffer/Uint8Array is a GIF image