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.
Tool/software: Code Composer Studio
I was trying to code to print the characters on putty software using USART protocol.
This is my main code snippet
I'm getting this error?
USER_DATA is the data type defined using structure in uart0.h library.
getsUart0(&info); function is codded in uart0.c. I have attached the uart0.c file for your further reference
Please do help me in getting rid of this error. I'm clueless.
Thank you
You can't assign to an array name ("str[]").
You could declare it as "char *str;" instead. That would compile, though I don't see the code where getsUart0() gets the storage for it.