-
Notifications
You must be signed in to change notification settings - Fork 27
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
Poc: persistant storage #298
base: main
Are you sure you want to change the base?
Conversation
Comment from mc in previous PR (#273)
|
a32be6f
to
b7ba452
Compare
- `digest` is an array and hence the address of the first element is returned. - This will keep it more consistent with the rest of the code base. - Fixed misspelled comment.
b7ba452
to
cc0621f
Compare
PoC of how a syscall could look like.
- Have only one transfer function, to minimize duplicate code. - Remove address assignments that does not make a difference.
Add an erase command to let the user have more control over the allocated area. This will also be more familiar to embedded developers. As a bonus it minimizes the logic needed in firmware, and in theory we can now increase the current write limit of one sector.
- Use new syscall API from hw - 4 byte align the syscall function - Restore blake2s - Remove setting system_mode_ctrl since it is done by the hardware instead Co-authored-by: Mikael Ågren <[email protected]>
cc0621f
to
8c073c3
Compare
Description
Draft PR, WIP. Some parts of this are still to be considered as a proof of concept.
TODO: write a better description
Type of change
Please tick any that are relevant to this PR and remove any that aren't.
Submission checklist