Include espruino files and components from custom library #7619
Unanswered
espruino-discuss
asked this question in
Other Board General Questions
Replies: 1 comment
-
Posted at 2020-05-01 by Jonaswinz If I include my script with
first and call it from the wrapper, it loads the included files (like freertos/FreeRTOS.h) correctly. Posted at 2020-05-03 by Jonaswinz Does anybody have an idea ? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Posted at 2020-04-30 by Jonaswinz
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:
the other #includes (from the FreeRTOS.h) break. Obviously it is because the includes root is in my lib folder. Moreover, #include <FreeRTOS.h> 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.
Jonas
Beta Was this translation helpful? Give feedback.
All reactions