Skip to content

Fix stale Mk4 firmware size constants - #68

Open
scgbckbone wants to merge 1 commit into
Coldcard:masterfrom
scgbckbone:fix/mk4-firmware-size-constant
Open

Fix stale Mk4 firmware size constants#68
scgbckbone wants to merge 1 commit into
Coldcard:masterfrom
scgbckbone:fix/mk4-firmware-size-constant

Conversation

@scgbckbone

Copy link
Copy Markdown
Contributor

Updates the public client constants to match the firmware and bootloader limits. The old 0x1e0000 value extends past the world-checksum-covered firmware region; the correct maximum is 0x160000. Also exposes the separate DFU container-size limit used by the firmware.\n\nThere is no live enforcement gap because devices already reject oversized firmware, but keeping the stale public constant risks downstream and future callers inheriting the invalid bound.\n\nTests not run (constant-only sync).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant