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
Actually sir somewhere on internet I read that by changing ARM Compiler version 6 to 5 it may help and surprisingly build is successful!! I saw sysctl.c again still there are errors but the build is successful. How this can happen?? Below is the screenshot.
I was looking for the same information, thanks for providing the solution of the website!