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!?