Commit graph

7 commits

Author SHA1 Message Date
Daniel Jobson
cc0621f983
fw: adapt fw syscall to hw syscall implementation
- 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 <mikael@tillitis.se>
2024-11-21 09:49:45 +01:00
Daniel Jobson
2bd235f477
temp: add define to toggle the use of fw RAM 2024-11-21 09:48:52 +01:00
Daniel Jobson
7a84776c2a
fw: simplify switch to FW_RAM 2024-11-21 09:48:52 +01:00
Daniel Jobson
02f9f9f079
fw: switch to FW RAM when executing a syscall. 2024-11-21 09:48:52 +01:00
Daniel Jobson
c6000e4e2a
storage: add erase command
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.
2024-11-21 09:48:52 +01:00
Daniel Jobson
b7ec4f9467
Implement preload_store 2024-11-21 09:48:51 +01:00
Daniel Jobson
fd84c69e9b
Wip syscall function.
PoC of how a syscall could look like.
2024-11-21 09:48:51 +01:00