~ruther/avr-device

ref: 8be91f55956952f89e4ceb71847fafa51ed6f835 avr-device/src d---------
38126f08 — Adam Gausmann 2 years ago
Add support for ATtiny404
06ef5e65 — Michael Buesch 2 years ago
Small fixes
a6f1a845 — Rahix 2 years ago
Rename `udebug` feature to `ufmt`
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.
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
6ab6f94a — Michael Buesch 2 years ago
Add basic documentation for beginners
ed20a8b8 — Tronje Krabbe 2 years ago
Add support for ATmega164pa

Adds the ATDF file provided from Microchip, and makes changes analog to
290613454fbdc5e4ac98e53deccaf74dafc88963.
This has been tested on real hardware.

Signed-off-by: Tronje Krabbe <tkrabbe@jusst.de>
Signed-off-by: Oskar Munz <omunz@jusst.de>
1a469759 — Rahix 2 years ago
Only build docs for some MCUs on docs.rs

Sadly we are now starting to hit the limits of docs.rs with the amount
of supported MCUs.  Only build documentation for a subset there and
mention that docs for the rest can be built locally.

Ref: #98
0b8c5a8c — Alec Deason 2 years ago
Add support for attiny13a
91d0ad81 — Patryk Wychowaniec 3 years ago
Add support for `asm!()`
405f89d7 — Erhune 3 years ago
Add support for ATmega1284p
912202c8 — the6p4c 3 years ago
Add ATmega128RFA1 support

Adds basic ATmega128RFA1 support. Adjusts the common USART patches for
UCSZ? slightly to work with the ATmega128RFA1's ATDF.
2b862053 — Justin Latimer 3 years ago
Add support for ATtiny1614

bbba9867 — Tray Torrance 3 years ago
Return the previous interrupt status upon disabling interrupts

This commit addresses #88 by returning a boolean which reflects the
previous state of the GIE flag upon disabling interrupts. This allows
`critical-section` to implement itself for AVR, while not breaking the
existing `avr-device` API.
d1f9379d — finga 3 years ago
Add support for ATtiny816

Add basic support for the ATtiny816 of the tinyAVR1-series.
d15a5517 — Jacob McSwain 3 years ago
Add support for ATtiny2313/A

f287eed0 — Quentin Smith 3 years ago
Add ATtiny167 support

b5cc61bc — Andrea Nall 3 years ago
Add ATtiny202 support

All of the svd patches are in patch/common/attiny-0-series.yaml which should
work for all of the 0-series (but may only work for ATtiny20* and ATtiny40*,
  but not 80* or 160* given how the datasheet is split)
41c74f40 — khimaros 4 years ago
Add AT90USB1286 support

Ref: #80
Next
Do not follow this link