~ruther/avr-device

f0ea250a — František Boháček 2 years ago
Patch TCCR0 CS correctly
98f4773c — František Boháček 2 years ago
Add ADCs to MUX in ATmega8
1540fb95 — František Boháček 2 years ago
Fix timer patches for ATmega8
3f818a1c — František Boháček 2 years ago
Add patches for ATmega8
34cf6df0 — Rahix 2 years ago
Update CHANGELOG
38126f08 — Adam Gausmann 2 years ago
Add support for ATtiny404
06ef5e65 — Michael Buesch 2 years ago
Small fixes
0e19ff0d — Rahix 2 years ago
Prepare 0.4.0
a6f1a845 — Rahix 2 years ago
Rename `udebug` feature to `ufmt`
5162a8a2 — Rahix 2 years ago
Update CHANGELOG
6a9771e1 — Michael Büsch 2 years ago
Cargo.toml: Update edition to 2021

We have recently (#104) dropped support for compilers that don't support
edition 2021. Make this explicit by enforcing edition 2021 in
Cargo.toml.
7006f32c — Rahix 2 years ago
Update CHANGELOG
1e37fc06 — Michael Buesch 2 years ago
Update the bare-metal crate to 1.0.0

The new crate version generates much cleaner code due to #[inline] annotations.
This is an API break, because the CriticalSection + Mutex mechanism changes
from exterior reference lifetime to interior reference lifetime management.
68c266f5 — Rahix 2 years ago
Update CHANGELOG
280d6855 — Michael Büsch 2 years ago
irq: Optimize interrupt save/restore

Avoid unnecessary mask and branch instructions.

The basic reasoning behind this is that all other flags in the SREG can
be clobbered without ill effects. The restore() function is an
optimization fence and the compiler is not allowed to make assumptions
about memory or SREG state after execution.

This avoids an `and` and a `breq` instruction or similar in every
critical section.

While at it, also introduce a better API for manual IRQ-flag management.
bfccae0a — Michael Buesch 2 years ago
Remove all llvm_asm macros
2e8d033a — Rahix 2 years ago
ci: Upgrade to a new compiler version
6ab6f94a — Michael Buesch 2 years ago
Add basic documentation for beginners
9286b401 — Rahix 2 years ago
Update CHANGELOG
7f6dbe12 — dalpil 2 years ago
Adds patch for the timers on attiny167
Next
Do not follow this link