Add fw state and fw cmd to trigger a start of a preloaded app

This commit is contained in:
Daniel Jobson 2024-09-03 15:29:21 +02:00
parent b52e57d4ea
commit 534ac06e86
No known key found for this signature in database
GPG key ID: 3707A9DBF4BB8F1A
5 changed files with 38 additions and 2 deletions

View file

@ -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);
}