Hi,
I installed the CCS5.0.3.00028 package, and built the CSL Library and Low Levels Drivers without errors reported. I am trying to use the CSL GPIO routines. The include files and the library are being located where specified in the BIOS MCSDK UG ( at ti/csl/csl_gpio.h and ti/cs/lib/ti.csl.ae66). However, in the code below, while the linker locates CSL_GPIO_open (), it reports all other GPIO functions to be 'undefined symbols'
Void main() {
CSL_GpioHandle hGpio;
Uint8 pinNum = 1;
hGpio = CSL_GPIO_open (0);
CSL_GPIO_setPinDirOutput (hGpio, pinNum);
CSL_GPIO_setOutputData (hGpio, pinNum);
}
I don't understand how your build processes work yet, but I watched the output as XDC built the CSL library, and it only accessed directories ti/csl/src/soc, ti/csl/src/ip, and ti/csl/src/intc. The source for CSL_GPIO_open() is located in soc/common, so that explains why it appeared in the library, but the sources for the other GPIO functions (and other functions) are not located here, which may be why they are not in the library.
What do I do?
Regards, Bernard