Does anyone know the attribute in gcc that makes an interrupt routine use the fiq stack?
Thanks.
Does anyone know the attribute in gcc that makes an interrupt routine use the fiq stack?
Thanks.
Hey,
guess this is what you’re looking for:
attribute ((interrupt(“FIQ”)));
Not sure what you mean by “that makes an interrupt routine use the fiq stack?” though. In FIQ mode, r13 is a banked register - therefor if the code executes in FIQ mode, it will use whatever stack is pointed at by r13_fiq.
Regards,
Dominic