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.

fatal error #1965: cannot open source file "uart.h"

hello,

I am trying to interface UART but its header file is not including after including.

Snapshot of my error is on link below.

drive.google.com/.../view

Thanks

Regards,

Abhishek Parikh

  • And when i remove this line this much of error i am getting..
    This is refernece code given in your pdf swru325.
    I am beginner of CCS so i don't know much.
    LINK drive.google.com/.../view
    Thanks
  • It could be an issue with the include paths specified in the project. The include paths tell the compiler where to look for header files. right click on your project and select properties. In the tree on the left expand Build->ARM Compiler->Include Options. You will need to make sure that the location of uart.h is in the list on the right.

    I am not familiar with the software package for this device but you should be able to search for the file and then add its location to the list of directories.

    Regards,
    John
  • Thank you ..
    Is there any option by which i can include more than one files at once.??
  • Though some files are not including..
    What should i do??
  • ABHISHEK PARIKH said:
    Is there any option by which i can include more than one files at once.??

    You do not need to specify each individual file. You would specify the root directory path where the header files are located and the compiler will find the rest.