Hi Sliva,
Thank you for your advice. The "accept gnu __asm__ statements" option have already enabled, but ghs compiler also reported error.
And I try to change r3 to another register, the error still exists.
I try to remove "__asm__("r3") " in the code and it can work. Will the modification impact stability of freertos?
Of course, I will also contact GHS.