Support storing in RAM instead of flash

This permits to run without persistent storage. The benefit is that the board
doesn't implement a the syscall API in Tock. The disadvantage is that rebooting
the key will reset the storage.
This commit is contained in:
Julien Cretin
2020-03-03 23:47:32 +01:00
committed by Julien Cretin
parent 9001cbd864
commit e52a671810
7 changed files with 32 additions and 10 deletions

View File

@@ -23,6 +23,7 @@ debug_ctap = ["crypto/derive_debug"]
with_ctap1 = ["crypto/with_ctap1"]
panic_console = ["libtock/panic_console"]
debug_allocations = ["libtock/debug_allocations"]
ram_storage = []
[dev-dependencies]
elf2tab = "0.4.0"