Skip to content

Add AVR16DD20/AVR16DD32 boards and fix DxCore AVR-DD fuses#76

Open
amarotica wants to merge 3 commits into
platformio:developfrom
amarotica:codex/avr16dd-support
Open

Add AVR16DD20/AVR16DD32 boards and fix DxCore AVR-DD fuses#76
amarotica wants to merge 3 commits into
platformio:developfrom
amarotica:codex/avr16dd-support

Conversation

@amarotica
Copy link
Copy Markdown

@amarotica amarotica commented Apr 16, 2026

Summary

  • add AVR16DD20 and AVR16DD32 board manifests for DxCore
  • fix DxCore AVR-DD fuse generation so fuses / bootloader targets use safe DD-family values

Why

platform-atmelmegaavr already includes DxCore support and AVR64DD board manifests, but AVR16DD20/32 are still missing.

Validation

I validated the added board manifests by building simple Arduino sketches locally for both:

  • AVR16DD20
  • AVR16DD32

I also verified the generated AVR-DD fuse bytes for the typical no-bootloader UPDI setup now match the intended DxCore values.

Remaining blocker

Full stock support still needs a platformio/toolchain-atmelavr update to add avr16dd20 / avr16dd32 device specs and headers. Without that package update, these new board definitions still require an external DD-capable AVR toolchain.

@amarotica amarotica marked this pull request as ready for review April 16, 2026 15:24
@amarotica amarotica marked this pull request as draft April 16, 2026 15:25
@amarotica amarotica marked this pull request as ready for review April 16, 2026 15:33
@valeros
Copy link
Copy Markdown
Member

valeros commented Apr 20, 2026

Hi @amarotica, thanks for the PR. It looks good overall, but I’d also like to ask @MCUdude to take a look since he originally contributed support for programming fuses for DxCore targets.

@MCUdude
Copy link
Copy Markdown
Contributor

MCUdude commented Apr 20, 2026

I'll try to go though and look for any errors. But IMO @amarotica should add all AVR-DD targets, not just two of them. They are all pretty much identical, except for the memory size and pin count.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants