Has anyone experienced a similar issue with the "heap" identifier in WolfSSH v1.4.13? If so, how was it resolved?
We did when we added Zephyr support. We set it to the correct value. That particular case you indicated should be ctx->heap. If you aren't using a custom heap with your own memory allocator functions, you could use NULL for the heap.
Could this error be related to specific configurations or dependencies required for integrating WolfSSH with FreeRTOS and lwIP (e.g., WolfSSL/WolfCrypt)?
It's happening in builds that aren't using the default memory allocators. For Linux/macOS/Windows, the WMALLOC() macro is ignoring the heap parameter. That's why I missed it.
Are there any particular user settings that should be verified or adjusted to resolve this issue?
No.
Would upgrading or downgrading WolfSSH potentially solve this problem, or are there known workarounds for this version?
This issue is fixed and will be available in the v1.4.15 release in the next few days.
--John