Context: I'm using FreeRTOS to run my project. One task in the project needs to manage sockets for me. To do this, I decided to use FreeRTOS Select since it enables FreeRTOS to put my socket-task in the background when there is nothing to read.
Link to FreeRTOS Select:
https://www.freertos.org/FreeRTOS-Plus/ ... elect.html
Problem: I can't include FreeRTOS_sockets. I have tried:
1.
Code: Select all
#include "freertos/FreeRTOS_sockets.h"
2.
3.
It seems that from this, and also looking into the components of Esp IDF, that there isn't a sockets API available from FreeRTOS library. This is a big problem because I want to use the built in functionality that comes with the FreeRTOS sockets. Is there any workaround for this? Is there a branch of Esp-IDF with this API I want? Can I somehow include the files myself?
Thank you for your time in advanced. If you want to see what I am doing, the source code for the task (and only the task) in particular is here:
https://gist.github.com/Micrified/5471e ... 11c99a366b