SparkFun Forums 

Where electronics enthusiasts find answers.

Hardware or product specific questions are best asked here.
User avatar
By Hjy
I have tried the mbed_app.json but it didn't seem to do anything, perhaps not compatible with Arduino compiler.

What is the proper way to increase the main stack size when using rtos to utilize multi-thread? I get stack overflow error for the main thread. Currently i'm creating/using another thread, which I can set the stack size, but this seems messy.

Thank you for your help.
By paulvha
Do you use the Sparkfun library or the AmbiqSDK?

In the case of Sparkfun, did you rebuild the libmbed-os.a? Look at
Also, look at The changes in mbed_app.json are NOT included in a static library, so you have to apply them differently / directly in different files.
 Topic permissions

You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum