Skip to content

Get ATmega examples compiling#823

Merged
mattnite merged 1 commit intomainfrom
atmega-returns
Jan 2, 2026
Merged

Get ATmega examples compiling#823
mattnite merged 1 commit intomainfrom
atmega-returns

Conversation

@mattnite
Copy link
Contributor

@mattnite mattnite commented Jan 2, 2026

Note that this does not actually fix AVR compilation issues, but it's a start. I think by bundling compiler_rt before, we were causing all compiler_rt functions to be evaluated and thus the compiler errors. Now with the basic blinky and size optimizations, we don't seem to trip those evaluations.

I have not tested this blinky program on hardware and I plan on doing that soon.

For debug builds we run into a ton of size issues with fmt. I think this is from some of the "batteries included" things from MicroZig.

Tagging #620

Note that this does not actually fix AVR compilation issues, but it's a
start. I think by bundling compiler_rt before, we were causing all
compiler_rt functions to be evaluated and thus the compiler errors. Now
with the basic blinky and size optimizations, we don't seem to trip
those evaluations.

I have not tested this blinky program on hardware and I plan on doing
that soon.

For debug builds we run into a ton of size issues with fmt. I think this
is from some of the "batteries included" things from MicroZig.

Tagging #620
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔍 Lint Results

ℹ️ Additional issues on unchanged lines
The following 1 issue(s) exist but are not on lines changed in this PR:

examples/build.zig:25: TODO style comments need to have a linked microzig issue on the same line.

@mattnite mattnite merged commit 339b989 into main Jan 2, 2026
96 of 97 checks passed
@mattnite mattnite deleted the atmega-returns branch January 2, 2026 07:52
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.

1 participant