-
Notifications
You must be signed in to change notification settings - Fork 2
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
System call wrappers for flash access #45
Comments
As you say we should have a lib for the SPI API. |
I think all the addresses needed to access the SPI should be included in I propose low-level functions to use the actual SPI access addresses should be included in |
Agree, no optional building. It will be removed during linking if not used. To summaries: |
You could, I guess, argue that |
Since the firmware is getting flash handling (see tillitis/tillitis-key1#275) the tkey-libs functions will basically just become syscall wrappers, a bit of inline assembly that sets up to call the firmware. |
With an SPI master on some TKey versions (tillitis/tillitis-key1#213) we need some easy way of accessing SPI and the flash chip.
We will probably create a new library, something like
libspi.a
, and include it in tkey-libs.The text was updated successfully, but these errors were encountered: