This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Configuring both Main and Process stacks

Hi guys,

I'm looking at the startup.s code for an M0 and am wondering how I can configure the process stack for my C code to use.

To put this into context, I have a bootloader with the default setup using the main stack. How would I configure a separately compiled application to use the process stack? Is it just a case of switching to thread mode before branching to the application's startup code?

Many thanks

0