Skip to content

test: run tests for AVR #1528

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed

test: run tests for AVR #1528

wants to merge 1 commit into from

Conversation

aykevl
Copy link
Member

@aykevl aykevl commented Dec 10, 2020

This runs the currently working compiler tests for AVR using simavr. I
picked the atmega1284p target as it seems like the most suitable one
(most importantly, with a lot of RAM) so that tests are less likely to
hit resource limitations.

One extra change this required is using a different implementation of
the runtime.abort() function. The new one is smaller and will prevent
interrupts from running on exit, which should at least in theory be
fine. This pattern is required as it signals to simavr the program is
finished.


Now that #1520 is ready, I want to work towards better AVR support and dropping the gcc-avr and avr-libc dependencies if possible. One way to track progress is by getting tests to pass, both to show improvements in new PRs and to catch regressions.

This runs the currently working compiler tests for AVR using simavr. I
picked the atmega1284p target as it seems like the most suitable one
(most importantly, with a lot of RAM) so that tests are less likely to
hit resource limitations.

One extra change this required is using a different implementation of
the runtime.abort() function. The new one is smaller and will prevent
interrupts from running on exit, which should at least in theory be
fine. This pattern is required as it signals to simavr the program is
finished.
@aykevl aykevl marked this pull request as draft December 10, 2020 02:12
@niaow
Copy link
Member

niaow commented Jan 14, 2022

I am surprised that I missed this when making #2458, but I think this is no longer needed.

@niaow niaow closed this Jan 14, 2022
@deadprogram deadprogram deleted the ci-test-avr branch January 20, 2022 06:48
@aykevl
Copy link
Member Author

aykevl commented Jan 21, 2022

Yeah, this PR was way outdated anyway and much simpler now that simavr is widely available.

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