SuperHouse / esp-open-rtos

Open source FreeRTOS-based ESP8266 software framework
BSD 3-Clause "New" or "Revised" License
1.52k stars 491 forks source link

128b of stack size in "HTTP Daemon" task cause stack overflow serial debug info #618

Closed fabiovila closed 5 years ago

fabiovila commented 6 years ago

Increasing it the errors ended. I still have 9x "Function called without core lock" at start.

fabiovila commented 5 years ago

Use LOCK_TCPIP_CORE() in tcp calls to suppress Function called without core lock msg.

LOCK_TCPIP_CORE();
                    websocket_write(pcb, P, Param, WS_TEXT_MODE);   
UNLOCK_TCPIP_CORE();