Page 1 of 1

Webserver + FreeRTOS (xTaskCreate & xSemaphoreCreateMutex) issues

Posted: Thu Nov 12, 2020 10:36 am
by hamboy75
Hi

This is my first program using tasks.. I have been making some tests and it was cool

Now i wanted to mix the new code with some old code that already supports a web server.

After mixing, the webserver stopped working, and I dont know why.

As soon as a i remove the xTaskCreate lines from my code and also xSemaphoreCreateMutex, the code starts to work, it seems an issue with FreeRTOS and the webserver but i'm a bit lost.

Any help is welcomed.

Re: Webserver + FreeRTOS (xTaskCreate & xSemaphoreCreateMutex) issues

Posted: Thu Nov 12, 2020 12:46 pm
by hamboy75
OK forget about it, and close the thread..

I had a Serial.begin(115200) in old code and the same in new code.


Randomly that made the program hangs, and i though that it was about tasks because sometimes touching it got fixed.

Thanks anyways :).