Skip to content

fix(board): show whole addresses, and drop the float printf engine - #343

Closed
BitHighlander wants to merge 1 commit into
feature/715-01-infra-ci-releasefrom
feature/715-02-board-display-printf
Closed

fix(board): show whole addresses, and drop the float printf engine#343
BitHighlander wants to merge 1 commit into
feature/715-01-infra-ci-releasefrom
feature/715-02-board-display-printf

Conversation

@BitHighlander

Copy link
Copy Markdown
Owner

7.15 review stack position 02/17.

This PR is intentionally one coherent commit, based on feature/715-01-infra-ci-release, for individual auditing.
The full stack is linear from the clean fork develop at 1af2ffe.

Review scope: fix(board): show whole addresses, and drop the float printf engine.

The preserved pre-restage candidate remains available at preserve/alpha-2026-08-05.

Display:
- Long bech32/bech32m addresses were cut at the first 42 characters on the
  verify screen, so the QR code and the text disagreed about where funds were
  going. Addresses now wrap across the full screen, and Zcash unified addresses
  get a dedicated text-first confirmation layout.
- Font, draw and layout helpers gained the measurement and wrapping support
  those screens need.

ROM:
- Device snprintf/vsnprintf are redirected to newlib's integer-only engine
  (see cmake/caches/device.cmake), which removes the float formatting path,
  soft-double libgcc and its malloc dependency from the image. Percent and
  amount rendering that used %f is reworked to integer formatting, so THORChain
  withdraw percentages and send amounts still display exactly as before —
  Gate-3 frames under docs/security/evidence/rom-printf-integer-percent.
- keepkey.ld asserts the 16 KiB stack reserve the SRAM budget gate measures.
@BitHighlander

Copy link
Copy Markdown
Owner Author

Superseded by the smaller audit-ready 7.15 stack: #359 release foundation, #360 authenticated clear-signing, #361 recovery and entropy, #362 Zcash Orchard, #363 chain integrations, and #364 Bitcoin/release security. All release changes remain preserved in the replacement branches and preservation tags. The replacement aggregate was tree-verified against the prior release and passed the local CI-equivalent container suite (405 firmware, 2 board, 18 crypto, and 7 Pallas constant-time tests). GitHub-hosted checks have been explicitly dispatched and are currently queued.

@BitHighlander
BitHighlander deleted the feature/715-02-board-display-printf branch August 9, 2026 04:26
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