Forum Discussion
Altera_Forum
Honored Contributor
14 years agoYes, in uCOS you allocate yourself the stack when creating the task, either with a memory allocation call or a static table. And you specify the stack size in the OsCreateTaskEx() call.
As for the interrupts, when you use a multitasking OS they are usually hidden from the application, but are still occurring and handled by the drivers. The ISR will then just drop the registers on the stack currently in use, so it can be any task stack.