I was performing uart polled using FreeRTOS on TM4C1294XL and having following error please help me. I'm attaching screenshot below.
Inline asm requires that the asm code be a quoted string.
That also means that the function declaration needs to go OUTSIDE the __asm statement:
void myfunc(uint32_t foo) { __asm("ADD x, x, #1\n" "MOV y, x\n"); }
Thank you sir for the reply. I made the changes accordingly but still I'm getting this error.
Did you check the manual? I am pretty sure it contains examples.
I will check sir
View all questions in Cortex-M / M-Profile forum