~ruther/avr-guess-the-number

ref: add27c29465e403ae6ba6e3371e946d3cc7c3f8d avr-guess-the-number/README.md -rw-r--r-- 717 bytes
add27c29 — František Boháček feat: use u8 in filled_sipo instead of u16 2 years ago

#Rust AVR executable template

A template for Rust based AVR executables. Use with cargo-generate:

  cargo generate --git https://github.com/astepkowski/rust-avr-template.git

then select AVR family (ATmega, ATtiny) and chip.

NOTE: This software template repository is offered in the public domain. It is free to use, adapt, modify, distribute, with no restrictions and no crediting required.

#Build instructions

Install Rust nightly.

rustup toolchain install nightly-2022-06-13
rustup component add rust-src --toolchain nightly-2022-06-13

Then run:

cargo build --release

The final ELF executable file will then be available at target/avr-<mcu_name>/release/template-bin.elf.

Do not follow this link