Hi Jesse
Thank you for the reply.
This is not a real problem in my PDA app, but just something I noticed reading the code when finding out why my DSR routines did not work. I thought it might be of interrest for the ecos porting team.
As I read the code, and please correct me if I'm wrong, the stack is eaten from whatever thread that was active, NOT from the dedicated interrupt stack.
In fact I have a hard time figuring out why the dedicated interrupt stack is worthwhile as the ISR is called with interrupts disabled, so unless you specifically enable interrupts again in your ISR, maximum ISR stack usage is quite predictable.
My point is that it would make more sense to wait until the stack has been reclaimed before enabling irq's.