Skip to content

An attempt at mostly complete avr support#947

Draft
philocalyst wants to merge 22 commits into
ZigEmbeddedGroup:mainfrom
philocalyst:avr-avr-avr
Draft

An attempt at mostly complete avr support#947
philocalyst wants to merge 22 commits into
ZigEmbeddedGroup:mainfrom
philocalyst:avr-avr-avr

Conversation

@philocalyst
Copy link
Copy Markdown

No description provided.

@philocalyst
Copy link
Copy Markdown
Author

@mattnite Let me know if this is a good direction! Built on your work.

@philocalyst
Copy link
Copy Markdown
Author

Eek! I did not check the linting configuration. One second

if (limit <= 0) @compileError("limit must be non-negative!");

comptime var bits = 0;
inline while ((1 << bits) <= limit) {
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

won't this put 20'000 increment instructions rather than a loop?

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.

2 participants