larus-breeze / sw_sensor

Firmware for Larus sensor MK1 and MK2
3 stars 3 forks source link

Firmware update: Check SW und HW version and scripts for binary creation #75

Open MaxBaex opened 5 months ago

MaxBaex commented 5 months ago

in the update file and compare to running software version before flashing. As described here: https://github.com/larus-breeze/doc_larus/blob/master/documentation/can_details/definitions.md#manufacturer-and-hardware-versions

MaxBaex commented 4 months ago

self.elf_file = ELFFile(in_stream, sys.stdout)

second parameter sys.stdout needs to be removed as script fails with TypeError: init() takes 2 positional arguments but 3 were given

MaxBaex commented 4 months ago

Use http://elm-chan.org/fsw/ff/doc/findfirst.html to find all .bin images. Then loop through all .bin images and