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.

Configuring the cc2538EM for USB with CCS5.5.0

Other Parts Discussed in Thread: CC2538

Hello,


I am currently trying to build a ccs project to configure the CC2538EM for simple UART-over-USB communication (especially for later console feedback to a pc on a custom PCB with the CC2538). I tried to use the usblib from the Peripheral library, but since the example project is only available for IAR i tried to use the source functions in my own ccs project...

My main problem is the compiler returning several errors, especially for typedef struct definitions using the attribute "__packed". I already know that it is a gcc extension and already activated its support inside the project options. Are there any other functions which need to activated first? Or is there a default approach to set up the CCS for using the usblib?


Thank you and best regards

-Marc