mirror of
https://github.com/MarekZegare4/MeshCore-Solo.git
synced 2026-10-09 03:06:39 +00:00
CMD_SIGN_START promised the app 8K before a malloc it never checked. On the L1 the nRF52 heap has ~5K free from boot, so the malloc always failed and every CMD_SIGN_DATA answered ERR_CODE_BAD_STATE. Now it allocates first, halving down to 256 B, and reports the size it got; nothing at all is an error on SIGN_START itself. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>