Do not hardcode preloaded app 1 size

Hardcoding it causes preload_check_valid_app and therefore preload_store
to assume there already is an app installed. Causing the
TK1_SYSCALL_PRELOAD_STORE syscall to fail.
This commit is contained in:
Mikael Ågren 2025-03-20 16:13:13 +01:00
parent 15bf72bc37
commit a8f2a8c30e
No known key found for this signature in database
GPG Key ID: E02DA3D397792C46

View File

@ -565,7 +565,7 @@ int main(void)
// TODO Lie and tell filesystem we have a 128 kiB device app
// on flash.
part_table.pre_app_data[0].size = 0x20000;
part_table.pre_app_data[1].size = 0x20000;
// part_table.pre_app_data[1].size = 0x20000;
// TODO Just start something from flash without looking in
// FW_RAM.