WIP: Implement block storage API basics
This is a synchronous API for the proposed block storage syscall. It's enough to test it.
TODO:
- write tests
Tested on the SMA Q3 as described in https://github.com/tock/tock/pull/3162
How to format the files correctly? 0de4540801990c020a54e90a23c14ee7b98314e8 is the result of running cargo fmt on my side, but the CI is clearly configured with some other formatting rules. Unfortunately, it's not clear to me what rules and how to apply them to my commit for submission.
How to format the files correctly? 0de4540 is the result of running
cargo fmton my side, but the CI is clearly configured with some other formatting rules. Unfortunately, it's not clear to me what rules and how to apply them to my commit for submission.
I suspect you misread the CI output. I see a LIBTOCK_PLATFORM=nrf52 cargo fmt --all -- --check invocation that succeeded and produced no output followed by a cargo clippy --all-targets --exclude libtock --exclude libtock_runtime --exclude libtock_debug_panic --exclude libtock_small_panic --workspace invocation that errored.
Or maybe you are looking at an older CI run I don't see? If so, please link the failed CI. I think that cargo fmt --all should Just Work (TM).
Thanks, I looked at a stale run for some reason. It should be clean now.
Closing due to inactivity.