Skip to content

New release on pip3? #58

@gendx

Description

@gendx

OpenSK's deploy script depends on the App.get_binary() function from tockloader.

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions