~ruther/avr-device

c0edb56c — Rahix 4 years ago
interrupt: Make interrupt::enable() unsafe

To bring this crate more in line with cortex-m, mark interrupt::enable()
as unsafe.  This also fixes a soundness issue: When the function is
safe, one could call it inside a critical section in entirely safe rust.
This is problematic because lot's of code in critical sections relies on
the fact that interrupts are disabled and it thus can safely perform
non-atomic operations without anything interrupting it.

Signed-off-by: Rahix <rahix@rahix.de>
0e433616 — Rahix 4 years ago
Add asm module for assembly instructions

Add a new module containing wrapper functions for various assembly
instructions.  These functions are marked inline(always) to ensure they
will always just generate the single instruction as expected.

Signed-off-by: Rahix <rahix@rahix.de>
00312ea6 — Andrew Dona-Couch 4 years ago
makefile: also clean generic.rs
3b7655f9 — Andrew Dona-Couch 4 years ago
makefile: all and clean are .PHONY
fdc319e3 — Rahix 4 years ago
ci: Get rid of matrix build

Instead of a matrix build just build a single time
with all features enabled.

Signed-off-by: Rahix <rahix@rahix.de>
37fb7d9a — Rahix 4 years ago
Update CHANGELOG
232dac2f — Andrew Dona-Couch 4 years ago
attiny88: simplify patches thanks to svdpatch fixes
a8ea1312 — Rahix 4 years ago
svdpatch: Fix _replace_enum when used on derived fields

Make sure the enum is replaced properly in the case of derived
enumerated values.

Signed-off-by: Rahix <rahix@rahix.de>
c4a0807a — Andrew Dona-Couch 4 years ago
svdpatch: Fix peripheral modifications
b0abe893 — Andrew Dona-Couch 4 years ago
Add support for ATtiny88
296a1fbc — Andrew Dona-Couch 4 years ago
attiny85: Make differential channel names consistent
660e3c09 — Andrew Dona-Couch 4 years ago
attiny85: Numerous patch improvements
4ec39533 — Andrew Dona-Couch 4 years ago
attiny85: USI patch fixes
c0b5119a — Andrew Dona-Couch 4 years ago
attiny85: Timer patch fixes
7b4ce9d2 — Rahix 4 years ago
Prepare 0.1.1

Signed-off-by: Rahix <rahix@rahix.de>
c2ce97f6 — Rahix 4 years ago
Update CHANGELOG

Signed-off-by: Rahix <rahix@rahix.de>
c7f42727 — Rahix 4 years ago
Add a CHANGELOG

Signed-off-by: Rahix <rahix@rahix.de>
397035ad — Rahix 4 years ago
atmega2560: Add timer patches

Signed-off-by: Rahix <rahix@rahix.de>
76894820 — Rahix 4 years ago
attiny85: Add patch for Timer/Counter 1

Signed-off-by: Rahix <rahix@rahix.de>
575b441b — Rahix 4 years ago
atmega328p: Add patch for 8-bit asynchronous timer

Signed-off-by: Rahix <rahix@rahix.de>
Next
Do not follow this link