-
Notifications
You must be signed in to change notification settings - Fork 54
Closed
Description
OpenSK's deploy script depends on the App.get_binary()
function from tockloader.
Lines 95 to 111 in 6e48d5f
def get_binary (self): | |
''' | |
Return the binary array comprising the entire application. | |
''' | |
binary = self.tbfh.get_binary() + self.app_binary | |
# Check that the binary is not longer than it is supposed to be. This | |
# might happen if the size was changed, but any code using this binary | |
# has no way to check. If the binary is too long, we truncate the actual | |
# binary blob (which should just be padding) to the correct length. If | |
# it is too short it is ok, since the board shouldn't care what is in | |
# the flash memory the app is not using. | |
size = self.get_size() | |
if len(binary) > size: | |
binary = binary[0:size] | |
return binary |
However, this function is not available in the latest released version of tockloader on pip3. This causes some failures: google/OpenSK#79.
Could you release a new version of tockloader on pip3?
Metadata
Metadata
Assignees
Labels
No labels