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:
committed by
Julien Cretin
parent
9001cbd864
commit
e52a671810
@@ -405,6 +405,14 @@ if __name__ == "__main__":
|
||||
"(i.e. more debug messages will be sent over the console port "
|
||||
"such as hexdumps of packets)."),
|
||||
)
|
||||
app_commands.add_argument(
|
||||
"--no-persistent-storage",
|
||||
action="append_const",
|
||||
const="ram_storage",
|
||||
dest="features",
|
||||
help=("Compiles and installs the OpenSK application without persistent "
|
||||
"storage (i.e. unplugging the key will reset the key)."),
|
||||
)
|
||||
apps_group = app_commands.add_mutually_exclusive_group()
|
||||
apps_group.add_argument(
|
||||
"--opensk",
|
||||
|
||||
Reference in New Issue
Block a user