Hello, I am compiling the code for UART communication in TM4C123GH6P and it gives me an unexpected error for the line
__I uint32_t CR; /* GPIO Commit*/
in the header file TM4C123GH6PM.h
Can anybody tell me the solution for it. Please reply me as soon as possible.
Thanks & Regards, Pratik Jain
Without the correct header files the compiler will not know what "__I" is. And neither will it know what unit32_t is.
But since you decided to avoid giving any information that would have allowed anyone to help you, it is really quite hard to help.
But do it the normal, careful, way that you tend to do when you program on a PC where you verify that you have all needed header files, ... Embedded projects are no different from PC projects - you still need to mind the details.
"verify that you have all needed header files"
And that they are in locations where the compiler will find them.