-
Notifications
You must be signed in to change notification settings - Fork 427
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
[Submission] Open source proposal: enhancement of embedded Rust libraries (testing) #1673
Conversation
Readme is not correctly formatted Got: ['Brouillon', 'Assignment Proposal', 'Title', 'Names and KTH ID', 'Deadline', 'Category', 'Description', 'Description', 'Self-assessment'] |
Readme is not correctly formatted Got: ['Brouillon', 'Assignment Proposal', 'Title', 'Names and KTH ID', 'Deadline', 'Category', 'Description', 'Description'] |
Readme is not correctly formatted Got: ['Assignment Proposal', 'Title', 'Names and KTH ID', 'Deadline', 'Category', 'Description', 'Description'] |
Thanks for the submission! |
…ries (testing) (KTH#1673) * open source proposal: embedded rust libraries * changed email email * added missing assignment * essay devops sec * typo * [Submission]: Contribution to OSS, adding features + bug * [Submission]: Contribution to OSS, adding features + bug * contribution merged * formatting * right format * fix
@Dajamante good progress here, the fix was merged. regarding the tests, ping me when there is progress on the PR (knurling-rs/flip-link#69) |
@monperrus There is progress on the PR and all the tests we wrote are passing. |
good, thanks.
|
In the frame of this course, we want to do a final submission, and continue oss activities later on our own schedule. |
@monperrus we have tried to reach you via email regarding this PR. This PR was intended to be our final submission of task 1. Unfortunately, as this was the beginning of the course and we were not yet familiar with the naming of PRs it was named submission and not Final submission. We have completed the task we proposed and was approved by a TA. Why have we not received a grade for task 1 on canvas? Should we simply rename it [Final Submission]? |
Assignment Proposal
Title
Contributing to Rust Embedded ecosystem to improve developers experience. Submission on proposal #1587.
Names and KTH ID
Deadline
Task 1
Category
Contribution to open-source
Description
As anyone would say, Rust is hot 😉. The Rust Embedded ecosystem is also blooming to provide support to embedded platforms. For example The Knurling project is an open source project to automate Rust Embedded development by providing Rust-native level of support.
In Knurling
probe-run
is a custom runner to use Rust on embedded devices.defmt
provides an effective logger for testingflip-link
offers stack protection. When sensitive memory regions are reached, compilation fails instead of undefined behaviour.flip-link
needs some enhancements to improve developper experience:rust-lld
is a linker for GNU files.flip-link
should accept the same files asrust-lld
. Currently, some memory.x files (describing the memory) are not accepted byflip-link
while being accepted byrust-lld
. Meaning that developers must updates files by hand if they are incorrect.This OSS contribution fits in CI/Testing as it automates necessary work that was precedently done manually (i.e. a human needed to check if files were formatted correctly to avoid failure), and support for testing programs.
Contribution
We added in total 7 tests to manage input that is currently accepted by
rust lld
, to makeflip-link
more resilient.Target PR
Fixed a bug about arithmetic operations handled incorrectly:
Issue #65 Easy bug
Self-assessment
* Added documentation on the components.
** It is quite a hefty code base that we needed to dive in.
The change we got merged was not a difficult piece of engineering, more code reformatting. But understand and rewrite a parser is more challenging.