It seems that the when adding library to the code (lib_usb, lib_gpio, lib_i2c)
The problem occurs when compiling, the program doesn't seems to find the .h files.
These files are in the api folder of each library
the path have been added to "property > general > path and symbols" as a workspace path.
but the program still cannot see..
Is there any doccument regarding the use of the said API?
What am I missing here
compiling library
Make sure you include the relevant headers and select/add the lib to your makefile.
would you erraborate on adding the path to makefile?
In C there's usually a source variable to add path to gcc with -I
The xmos makefile doesn't seems to be evident here.
In C there's usually a source variable to add path to gcc with -I
The xmos makefile doesn't seems to be evident here.
http://www.xcore.com/viewtopic.php?t=234
I may have answered my own question...
oh well, I'll leave it here so the next person have an easier time finding it
I may have answered my own question...
oh well, I'll leave it here so the next person have an easier time finding it