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

using __asm to identify assembler functions

Hi,
I'm using the uVision 5.1.0 to write code for an STM32 part. I've created a function in a .c file with this signature...

__asm uint32_t myfunc(void)
{
  ...
}

The IDE complains with "error: expected '(' after 'asm'". It doesn't seem to be an error, because the code compiles and runs. How can I change the syntax to get rid of the error message?

0