Skip to content

atmega: fix the Pro Mini uart_echo examples - #1082

Merged
mattnite merged 3 commits into
ZigEmbeddedGroup:mainfrom
matpala:atmega/fix-pro-mini-uart-echo
Oct 11, 2026
Merged

mattnite merged 3 commits into
ZigEmbeddedGroup:mainfrom
matpala:atmega/fix-pro-mini-uart-echo

Conversation

@matpala

@matpala matpala commented Oct 9, 2026 •

Copy link
Copy Markdown
Contributor

Follow-up to #1074.

  • arduino-pro_mini_5v_uart_echo was built for the Nano target; it now uses pro_mini_5v.
  • Adds arduino-pro_mini_3v3_uart_echo. 115200 isn't reachable at 8 MHz (it's a compile error), so uart_echo now uses 57600 on every board (-0.79% error at 16 MHz, +2.12% at 8 MHz).

Tested on an 8 MHz Pro Mini (3.3 V) through a CH340G adapter.

Comment thread examples/microchip/atmega/build.zig
Comment thread examples/microchip/atmega/src/uart_echo.zig Outdated
@mattnite
mattnite force-pushed the atmega/fix-pro-mini-uart-echo branch from 17f2fce to 51d5133 Compare October 11, 2026 03:41
@mattnite
mattnite enabled auto-merge (squash) October 11, 2026 03:41
@mattnite
mattnite merged commit a7d01a8 into ZigEmbeddedGroup:main Oct 11, 2026
37 checks passed
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