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/LP-CC2652RB: New project structure, how to introduce sysconfig file in the project structure & getting an error of --cannot open source file "ti/drivers/GPIO.h"

Part Number: LP-CC2652RB
Other Parts Discussed in Thread: CC2652RB, SYSCONFIG

Tool/software: Code Composer Studio

Hello all,

I am creating a new project in CCS. I am creating with empty.c main file template. After that i have copied contents of main.c into the empty main.c file of the new project. Next i created a new .c file and copied the contents of uartecho.c but when i am compiling the code structure. I am getting the following error -- cannot open source file "ti/drivers/GPIO.h" & cannot open source file "UART.h"

Thanks,

shivam

  • Shivam

    To start with an "empty" project for CC2652RB you will want to import the empty example from the SDK.  You can do that from Resource Explorer here:

    This example already had a sysconfig file in it.

    I am guessing that you when to the project menu selected "New CCS Project" and then selected an empty template from there.  That is not recommended when developing on CC2652.  Instead it is recommended to use the empty example from the SDK.

    Regards,

    John