Hello
I did sync up with engineering on thsi one.
For C routine, the compiler will generate a frame if any of the conditions below is true:
- is a interrupt routine (for save and restore of volatiles used)
- calls other function
- uses nonvolatile register
- uses local
For complete control of the stack, the routine should be in function level asm and use of nofralloc directive.
You would then need to manually maintain the stack or make sure that a stack frame is truly not needed.
CrasyCat