This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CCS 4.1 and stellarisware projects

Other Parts Discussed in Thread: EK-LM3S3748

I just installed CCS V4.1.0.02003 . Following the quick statrt pdf on using CCS 4.1 with Stellarisware, I imported the StellarisWare CCS projects (release 5570) for driverlib, grlib and usblib. I then imported Hello and usb_dev_bulk projects for the ek-lm3s3748. I built the driverlib and grlib libraries with no problems. However, I can't build the usblib, Hello or usb_dev_bulk projects. For the usblib and usb_dev_bulk projects I get the following error for most of the source code files:

"C:/StellarisWare/usblib/ccs/../../usblib/usblib.h", line 82: fatal error: #error Unrecognized COMPILER!..."

The error comes from a #if statement looking for defines for valid compilers (e.g., codered, gcc, etc.). It seems like there should be a macro for ccs that will allow the library to compile. I've searched quite a bit but haven't been able to find anything.

For the Hello project, I thought I would not have this problem since it does not rely on the usblib library. However, when I compile Hello, I get the following linker error

 undefined       first referenced                                                                              
  symbol             in file                                                                                   
 ---------       ----------------                                                                              
 NumLeadingZeros C:/StellarisWare/boards/ek-lm3s3748/hello/ccs/../../../../grlib/ccs/Debug/grlib.lib<string.obj>
 SysCtlDelay     ./drivers/formike128x128x16.obj         

I traced the problem back to macros and it  turns out to be a similar problem to the usblib compile error. That is,  the NumLeadingZeros implementation depends on the compiler define (e.g., codered, gcc, etc.).

I'm a bit perplexed with these problems since I'm using CCS projects. I'm probably missing something simple, but can't figure it out. I'd appreciate some help with this problem.

Thanks in advance!

Nick