Where do I find a list of all the header files and which are needed for what function?
I spent an hr trying to work out why something wasn't working, only to find out that I was not including a header file.
Never mind, the core programming guide is quite hard to find but can you consider releasing it in epub and .mobi?
Core header files and there use.
-
- Member++
- Posts: 27
- Joined: Sat Dec 14, 2013 1:03 pm
-
- XCore Expert
- Posts: 754
- Joined: Thu Dec 10, 2009 6:56 pm
The two most important ones are:
xs1.h - contains architecture specifics
platform.h - contains board specifics, this is not a static header file, it is generated on each build to match your target
Furthermore
xclib.h - contains bitrev, byterev and clz (count leading zeros)
xccompat.h - XC types compatibility for use in C/C++
flashlib.h - needed to use libflash functions
xscope.h - needed to use the xscope functions.
Furthermore there are the more common ones like stdio.h etc..
The header files can be found here: xTIMEcomposer\Community_13.0.1\target\include
xs1.h - contains architecture specifics
platform.h - contains board specifics, this is not a static header file, it is generated on each build to match your target
Furthermore
xclib.h - contains bitrev, byterev and clz (count leading zeros)
xccompat.h - XC types compatibility for use in C/C++
flashlib.h - needed to use libflash functions
xscope.h - needed to use the xscope functions.
Furthermore there are the more common ones like stdio.h etc..
The header files can be found here: xTIMEcomposer\Community_13.0.1\target\include