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

__attribute__((naked)) is this option available?

Hi
I want to use this __attribute__((naked)) for one of my functions in keil, but it generates a warning that says

main.c(6846): warning: #1207-D: unknown attribute "naked"

This is my function prototype

__attribute__((naked)) void myTestFunction(void)
{
}

what's going on? what should I do to enable the naked!?

0