Skip to content
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

Threading support for the rp2040 platform #2060

Closed
wants to merge 2 commits into from
Closed

Threading support for the rp2040 platform #2060

wants to merge 2 commits into from

Conversation

gundralaa
Copy link
Contributor

@gundralaa gundralaa commented Oct 16, 2023

for tracking compiler modifications to support baremetal threading on the rp2040 platform.
still in draft state

TODO

  • add validator checks to always restrict number of workers to 2

@gundralaa gundralaa closed this Oct 16, 2023
@gundralaa gundralaa reopened this Oct 16, 2023
@lhstrh
Copy link
Member

lhstrh commented Oct 16, 2023

You might want to wait implementing the validator checks because there is a big refactoring going on right now.

@lhstrh lhstrh changed the title rp2040 threading Threading support for the rp2040 platform Nov 3, 2023
@lhstrh
Copy link
Member

lhstrh commented Nov 3, 2023

@gundralaa, #2008 has been merged, so now is a good time to have another look at this. There are some conflicts, but they should be easy to resolve, I think. To implement the validation check that you mention in the description, have a look at PlatformProperty.validate().

@lhstrh
Copy link
Member

lhstrh commented Nov 8, 2023

This would be helpful for getting this example to work: https://github.com/lf-lang/lf-pico-template/blob/main/src/HelloThread.lf

@gundralaa gundralaa closed this by deleting the head repository Mar 2, 2024
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