I’m want to add FreeRTOS+TCP to project who work with heap_1.c
I thought that using FREERTOS_SO_REUSE_LISTEN_SOCKET I will be able to use one socket only.
Apparently it seems impossible. When the socket is closed, the function vPortFree is called, which is illegal in heap_1. There are calls to vEventGroupDelete, for example.
Is there a way to do it? The logic of reusing socket suggest that the same resources can be used without delete, as long as we stay with one (or N predefined number) socket.
If not, it should be clear in the documentation that FreeRTOS+TCP shouldn’t be used with heap_1