-
Notifications
You must be signed in to change notification settings - Fork 120
Modernize libtock-rs #13
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
Conversation
This reverts commit 112544055854f5c3763de2e8613b840e2db8fdaa.
- Fix yieldk in main - Fix blink_async - Fix system call signature
Change callbacks in temperature and ble-scanning to the new structure
|
Hi @alevy ! We are glad to hear that you consider merging our work of the last couple of weeks. With some more contributions the project might gain in momentum with some cool new ideas popping up. 😊 In order to respond to your questions: Regarding relocation: We made the Rust code run with the new kernel by using a lot of debugging and symptom fixing on a best-effort basis. Our latest solution consists of a manual stack pointer shift at the beginning of |
This brings libtock-rs to the modern era, including support for recent Rust nightlies as well as the Tock kernel's new process loading API.
It improves on the previous version by not being location dependent (so the binary is relocatable) and has been tested for NRF52-DK as well as Hail. (@torfmaster & @Woyten is that actually true?)