mirror of
https://github.com/tillitis/tillitis-key1.git
synced 2025-08-11 16:10:20 -04:00
Add fw state and fw cmd to trigger a start of a preloaded app
This commit is contained in:
parent
b52e57d4ea
commit
534ac06e86
5 changed files with 38 additions and 2 deletions
|
@ -30,6 +30,10 @@ int part_table_init(partition_table_t *part_table)
|
|||
part_table->app_storage[i].size = SIZE_STORAGE_AREA;
|
||||
}
|
||||
|
||||
/* Hardcode that a preloaded app exists in flash */
|
||||
part_table->pre_app_data.size = 28024;
|
||||
part_table->pre_app_data.status = 0x02;
|
||||
|
||||
part_table_write(part_table);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue