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

rp2040 baremetal threading #291

Closed
wants to merge 9 commits into from
Closed

rp2040 baremetal threading #291

wants to merge 9 commits into from

Conversation

gundralaa
Copy link
Collaborator

using the mutex and queue primitives from the pico-sdk, basic baremetal threading on the rp2040 platform is implemented to utilize both cores.

  • each core runs one worker
  • the queue is used as an analog for condition variables
  • basic smoke test using the example here

TODO

  • ideally a lower level primitive is used instead of the queue for performance. the spinlock resource could definitely be leveraged to implement a basic condition variable with the mutex. some work already done here
  • testing physical actions / interrupt coexistence with the threaded runtime
  • running and verifying all threaded runtime tests.
  • verify other schedulers

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