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

Support for RISC-V without atomic #107

Merged
merged 2 commits into from Nov 22, 2019

Conversation

Woyten
Copy link
Contributor

@Woyten Woyten commented Nov 21, 2019

Fixes #106

  • The spin feature of the linked_list_allocator has been disabled, s.t. the allocator does not rely on atomics anymore.

@alistair23
Copy link
Collaborator

This correctly builds for me, but it doesn't run

@Woyten
Copy link
Contributor Author

Woyten commented Nov 21, 2019

Did you try a simple example, hello or blink?

@Woyten Woyten force-pushed the feature/alloc-without-atomics branch from b710c1d to 8f59981 Compare November 22, 2019 10:15
@Woyten Woyten force-pushed the feature/alloc-without-atomics branch from 8f59981 to 8d4400d Compare November 22, 2019 11:45
@torfmaster torfmaster merged commit cf3e59f into tock:master Nov 22, 2019
@torfmaster torfmaster deleted the feature/alloc-without-atomics branch November 22, 2019 11:54
@alistair23
Copy link
Collaborator

I tried the hello example. Did you manage to run the executable?

@Woyten
Copy link
Contributor Author

Woyten commented Nov 23, 2019

@alistair23 We just changed the supported Tock kernel to 1.4.1. Could you flash Tock 1.4.1 on your board, then remove the target folder of libtock-rs and do ./run_example.sh blink with the latest libtock version? If this still does not help, you can open another issue.

@alistair23
Copy link
Collaborator

I was running the latest of both. I'll be out of office for a week but when I get back I'll dig into this. It could be some other issue.

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.

Support for RISC-V without atomic
3 participants