~ruther/avr-device

ref: 1e0eb40c3a8d82c6a3452a21e3cb3c6e56ce346f avr-device/patch d---------
1e0eb40c — Andrew Dona-Couch 4 years ago
Add support for ATmega2560
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.
29061345 — Rahix 4 years ago
Add basic support for ATmega64

Pull in the ATDF file from Microchip and add all the necessary plumbing
around the code-base to make it compile.  Not tested against real
hardware and no device-specific patches are included yet.

Signed-off-by: Rahix <rahix@rahix.de>
169804d1 — Rahix 5 years ago
make: Use a patchfile instead of weird sed expr

As reported in issue #24 the sed(1) expression used to patch the generated
`mod.rs` does not work on MacOS (BSD sed).  Instead, use patch(1) and a small
patchfile to accomplish the same task.

Signed-off-by: Rahix <rahix@rahix.de>
a2c84372 — Jonah Dahlquist 5 years ago
Add patch for SPI device

1606c20e — Jonah Dahlquist 5 years ago
common: Fix a few patches

- Fix some descriptions
- Rename ambiguous WDT options
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)
2f04141d — Gabriel Pickl 5 years ago
atmega1280: Add remaining common patches

1726a5ee — Rahix 5 years ago
atmega1280: Factor out USART into a common patch

Signed-off-by: Rahix <rahix@rahix.de>
d2565cad — Gabriel Pickl 5 years ago
Add USART1 patch to atmega1280.
00e05646 — Rahix 5 years ago
atmega32u4, attiny85: Add tc0 patch

Signed-off-by: Rahix <rahix@rahix.de>
0806f412 — Rahix 5 years ago
svdpatch: Add _write_constraint modifier

"_write_constraint" allows to change the write-constraint
to one of:

- "enum": Allow only enumerated values (useEnumeratedValues)
- "none": Completely remove the <writeConstraint> tag
- [min, max]: Allow only values in a certain range (this can
  be used to make the bits() method safe)

Fixes #8

Signed-off-by: Rahix <rahix@rahix.de>
aae9508c — Rahix 5 years ago
common: Add some comments to the patch files

Signed-off-by: Rahix <rahix@rahix.de>
f667204f — Rahix 5 years ago
attiny85: Add WDT patch

Signed-off-by: Rahix <rahix@rahix.de>
71b1b462 — Rahix 5 years ago
atmega328p: Add patch & fix ACSR access mode

Signed-off-by: Rahix <rahix@rahix.de>
1c729bd3 — Rahix 5 years ago
atmega32u4: Patch WDT

Signed-off-by: Rahix <rahix@rahix.de>
3c341131 — Rahix 5 years ago
atmega32u4: Patch USART1

Signed-off-by: Rahix <rahix@rahix.de>
f72d85ee — Rahix 5 years ago
attiny85: Update USI patch

Signed-off-by: Rahix <rahix@rahix.de>
0f1b031a — Rahix 5 years ago
atmega32u4: Add patch for PLL

Signed-off-by: Rahix <rahix@rahix.de>
5b8f3bc1 — Rahix 5 years ago
atmega32u4, attiny85: Add more patches

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