I need the freeRTOS library for my custom firmware extension. The library is already included as an esp-idf component. How can I refer to it? If I simple use:
include " ../../esp-idf/components/freertos/include/freertos/FreeRTOS.h"
the other #includes (from the FreeRTOS.h) break. Obviously it is because the includes root is in my lib folder. Moreover, #include doesn't work either.
My second problems is: If I write my library in c++ (.cc) I also cannot import jspin.h, jsvar.h .... The script doesn't find the files (as a .c script it does).
I would appreciate some help.
© Espruino, powered by microcosm.
Report a problem