diff options
| author | Your Name <you@example.com> | 2026-05-21 06:20:45 +0530 |
|---|---|---|
| committer | Your Name <you@example.com> | 2026-05-21 06:20:45 +0530 |
| commit | 716daafce3eaa5ebfd246c1ef9915a2972b4c6fd (patch) | |
| tree | 79535bd62e66a82b248d96174b57a1c0f861cc2d /components/nucula_lib/nucula_wallet.cpp | |
| parent | 60797e35dda136e08b0a6c966fa92107095e6e64 (diff) | |
fix: TLS allocation, stack overflow, DNS bind — mint now reachable
Root cause: mbedtls SSL buffers (16KB) couldn't allocate from fragmented
internal RAM (largest block 8KB). Fix by lowering SPIRAM_MALLOC_ALWAYSINTERNAL
from 16KB to 4KB, allowing SSL buffers to go to PSRAM.
Additional fixes:
- DNS server binds to AP IP only (prevents self-hijacking)
- start_services() moved from esp_timer (2KB stack) to dedicated FreeRTOS
task (16KB stack) — was causing stack overflow with dynamic buffers
- Mint health probe now logs errors and exposes last_err in API
- Debug endpoint shows internal/PSRAM heap breakdown and DNS resolve test
- Enabled CONFIG_MBEDTLS_DYNAMIC_BUFFER for better memory management
- Board C config: mint_url → testnut-nutshell.mints.orangesync.tech
Diffstat (limited to 'components/nucula_lib/nucula_wallet.cpp')
0 files changed, 0 insertions, 0 deletions