Hello,
I intended to implement an application without OS. Due to safety concerns I would like to have two call stacks : one for softdevice using MSP and the other for my application using PSP.
Is there an example for how to do this ?
Regards,
Hello,
I intended to implement an application without OS. Due to safety concerns I would like to have two call stacks : one for softdevice using MSP and the other for my application using PSP.
Is there an example for how to do this ?
Regards,
Unless you are writing the OS yourself, I don't think you need to worry about it. For example, in my projects using C and with only one main thread and interrupt handlers, I don't worry about it. The compiler takes care of it without my knowing. I only know it happens because I can read the assembler code and see for example a MOVS instruction, where the "S" means it also switches context.
Unless you are writing the OS yourself, I don't think you need to worry about it. For example, in my projects using C and with only one main thread and interrupt handlers, I don't worry about it. The compiler takes care of it without my knowing. I only know it happens because I can read the assembler code and see for example a MOVS instruction, where the "S" means it also switches context.