Webserver + FreeRTOS (xTaskCreate & xSemaphoreCreateMutex) issues

hamboy75
Posts: 2
Joined: Thu Nov 12, 2020 10:32 am

Webserver + FreeRTOS (xTaskCreate & xSemaphoreCreateMutex) issues

Postby hamboy75 » Thu Nov 12, 2020 10:36 am

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.

hamboy75
Posts: 2
Joined: Thu Nov 12, 2020 10:32 am

Re: Webserver + FreeRTOS (xTaskCreate & xSemaphoreCreateMutex) issues

Postby hamboy75 » Thu Nov 12, 2020 12:46 pm

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 :).

Who is online

Users browsing this forum: No registered users and 88 guests