first and call it from the wrapper, it loads the included files (like freertos/FreeRTOS.h) correctly.
But If I try to use CCSOURCES (for cc files, because I am using c++) or SOURCES as well, I cannot include anything there. The "external C" command also not work.
It looks like I cannot include the .c sources in .cc (c++).
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
If I include my script with
first and call it from the wrapper, it loads the included files (like freertos/FreeRTOS.h) correctly.
But If I try to use CCSOURCES (for cc files, because I am using c++) or SOURCES as well, I cannot include anything there. The "external C" command also not work.
It looks like I cannot include the .c sources in .cc (c++).