[package]
name = "avr-device"
version = "0.3.4"
authors = ["Rahix <rahix@rahix.de>"]
edition = "2021"
description = "Register access crate for AVR microcontrollers"
license = "MIT OR Apache-2.0"
repository = "https://github.com/Rahix/avr-device"
readme = "README.md"
keywords = ["avr", "arduino"]
categories = ["no-std", "embedded", "hardware-support"]
include = [
"/src/**/*.rs",
"/LICENSE-*",
"/README.md",
"/build.rs",
]
[package.metadata.docs.rs]
features = ["docsrs"]
[features]
device-selected = []
at90usb1286 = ["device-selected"]
atmega1280 = ["device-selected"]
atmega1284p = ["device-selected"]
atmega128rfa1 = ["device-selected"]
atmega164pa = ["device-selected"]
atmega168 = ["device-selected"]
atmega2560 = ["device-selected"]
atmega8 = ["device-selected"]
atmega8u2 = ["device-selected"]
atmega328p = ["device-selected"]
atmega328pb = ["device-selected"]
atmega4809 = ["device-selected"]
atmega48p = ["device-selected"]
atmega32u4 = ["device-selected"]
atmega64 = ["device-selected"]
atmega644 = ["device-selected"]
attiny13a = ["device-selected"]
attiny167 = ["device-selected"]
attiny202 = ["device-selected"]
attiny2313 = ["device-selected"]
attiny2313a = ["device-selected"]
attiny816 = ["device-selected"]
attiny84 = ["device-selected"]
attiny841 = ["device-selected"]
attiny85 = ["device-selected"]
attiny861 = ["device-selected"]
attiny88 = ["device-selected"]
attiny1614 = ["device-selected"]
rt = ["avr-device-macros"]
# Unfortunately, we can only build documentation for a subset of the supported
# MCUs on docs.rs. If you think a very popular chip is missing from the list,
# feel free to add it here.
docsrs = ["rt", "atmega328p", "atmega32u4", "atmega2560", "attiny85", "atmega4809"]
# Enable ufmt::uDebug impls for certain types to aid efficient debugging.
udebug = ["dep:ufmt"]
[dependencies]
bare-metal = "1.0.0"
vcell = "0.1.2"
cfg-if = "0.1.10"
ufmt = { version = "0.2.0", optional = true }
[dependencies.avr-device-macros]
path = "macros/"
version = "=0.3.4"
optional = true