bugfix: bound firmware to world checksum - #741
Conversation
2b3574a to
88fe2d3
Compare
|
worried this might block use of the
|
FW_MAX_LENGTH_MK4 now bounds only the firmware itself to the world-checksum-covered flash region (4k aligned, no DFU-wrapper slack carved out). New FW_MAX_DFU_SIZE_MK4 adds room for the bootloader element and DFU wrapper so multi-element -factory.dfu images remain selectable in the MicroSD file picker.
safer solution with 2 constants 20f9f52 |
Reject firmware past the world-checksum-covered flash boundary and align the signing limit.
Tested: Mk4 and Q1 verifier builds.