Commit 01db9ed5 authored by Johannes Wiesboeck's avatar Johannes Wiesboeck Committed by Oliver Horst
Browse files

[fix] Set size of the binary in the applist header

parent 081dd1c9
......@@ -102,6 +102,9 @@ for i, app_name in enumerate(apps.keys()):
# it can stored in the char[] name filed of the AppListEntry_t structure.
current_entry.name = bytes(app_name[:127], encoding='UTF-8')
# Set the size of the binary image
current_entry.size = apps[app_name]["size"]
# Copies the actual application binary data
with open(apps_path[app_name], "rb") as app_binary:
cdata.memmove(
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment