feat: first commit

This commit is contained in:
2024-11-09 01:29:29 +04:00
commit 6eb6cef6ee
5 changed files with 254 additions and 0 deletions

23
Cargo.toml Normal file
View File

@@ -0,0 +1,23 @@
[package]
name = "usb_avr"
version = "0.1.0"
edition = "2021"
[dependencies]
panic-halt = "0.2.0"
ufmt = "0.2.0"
nb = "1.1.0"
embedded-hal = "1.0"
usb-device = "0.3.2"
[dependencies.avr-device]
version = "0.5.4"
features = ["atmega32u4"]
# The latest releases of `proc-macro2` do not support the rust toolchain that
# we use. Thus, we must fix this dependency to an older version where our
# toolchain is still supported. See https://github.com/Rahix/avr-hal/issues/537
[build-dependencies.proc-macro2]
version = "=1.0.79"