Everyone a great god, and I've been using ESP8266 development on a small Internet applications, is based on RTOS LeXin - 1.5 SDK, the thinking of design is to use the software timer, every 10 seconds via the UDP server information, to be submitted to the current node module UDP using basic Socket under LWIP implementation, in the process of program is run, software timer after the time came, the callback function to send data, through a serial port will print out the ShowCritical zero error, and lead to system restart, through FreeRTOS for understanding, can know this is probably involved in the process of task switching the problem of critical area, which had similar problems, please advice,
CodePudding user response:
Try to join the critical region,
CodePudding user response:
Interrupt never call API function within the callback function,