~ruther/avr-device

avr-device/patch/atmega328p.yaml -rw-r--r-- 315 bytes
bc60d30a — Rahix 4 years ago
all: Drop unnecessary access mode patches

Due to a change in atdf2svd [1], all these access mode patches are no
longer required - they are now translated correctly from the vendor
source file.

Drop all patches which no longer change the output (the code before and
after this change is equivalent when using the new atdf2svd).

[1]: https://github.com/Rahix/atdf2svd/commit/a189276b3540b647fab832946edf0acf39730a0e
ca6cad61 — Greg Green 4 years ago
atmega328p, pb: Split EIMSK INT field into 2

The INT0 and INT1 fields in the EIMSK register were incorrectly
combined into a 2 bit field, split into individual bits.

Also allow write access to PRR0 and PRR1 in ATmega328PB.
8962262a — Greg Green 4 years ago
atmega328p: Make PRR register writable

a91957a7 — Rahix 4 years ago
patches: Include _svd tag

The _svd: tag is needed for upstream svdtools to find the corresponding
svd file for each patch.

Signed-off-by: Rahix <rahix@rahix.de>
7c3805f9 — Andrew Dona-Couch 4 years ago
Make the PINx registers writeable
4e1e8d21 — Rahix 4 years ago
patch: Restructure timer patches

Redesign timer patch file structure for better modularity.  Now,
`timer/<chip>.yaml` defines all timer peripherals for a chip and uses
peripheral-level includes for patching the actual peripheral.  The
actual peripheral patches live in `timer/dev/<type>.yaml`.

The intermediate `<chip>.yaml` file is needed because peripheral-level
includes are not allowed in top-level files.

Signed-off-by: Rahix <rahix@rahix.de>
1969ec39 — Liam Perlaki 4 years ago
Add patches for ADC peripherals

Add a patch to fixup a few registers in the ADC peripheral
for ATmega328P, ATmega32U4, ATmega1280, and ATmega64.
a2c84372 — Jonah Dahlquist 5 years ago
Add patch for SPI device

bfbd5bc0 — Jonah Dahlquist 5 years ago
atmega328p: Add missing patches

This commit adds patches for ATmega328P by copying the commons from ATmega32U4, omitting PLL because the 328p lacks that feature (#11)
71b1b462 — Rahix 5 years ago
atmega328p: Add patch & fix ACSR access mode

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