Other Parts Discussed in Thread: SYSBIOS
I would like some help in defining the PROs and CONs of eliminating Tasks and using only SWIs and HWIs in a SYSBIOS project.
So far, I understand that:
HWIs and SWIs must run to completion thus no forever loops, no pends. Likely lots of static variables in functions or global variables to keep track of states.
HWIs and SWIs live on the system stack, so no separation like how tasks allow the .taskStack memory section. Static analysis/code trace will likely be harder due to this.
Is there any limitation on where I can place the system stack or how large it can get? Would there be any issue with having the system stack include multiple RAMs?
Are there any modules within SYSBIOS that would be basically eliminated by removing Tasks?
How would debugging the code be affected? I understand single-stepping the code will hit the end of context of SWI/HWI.
Thanks for your help!