This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

error #40 : expected an identifier

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

Parents
  • "I am compiling the (sic) code for UART communication in TM4C123GH6P"

    There is certainly more than just one single piece of code for "UART communication in TM4C123GH6P" in the whole wide world!

    So what code, exactly, are you talking about?

    Also, what toolset are you using?

    "error #40" doesn't look like a Keil message

Reply
  • "I am compiling the (sic) code for UART communication in TM4C123GH6P"

    There is certainly more than just one single piece of code for "UART communication in TM4C123GH6P" in the whole wide world!

    So what code, exactly, are you talking about?

    Also, what toolset are you using?

    "error #40" doesn't look like a Keil message

Children