cancel
Showing results for 
Search instead for 
Did you mean: 

x-cube-mems1 MotionMC MotionEC_Library minimum Stack size Heap_Size?

lyiku.1
Associate II

How to know  MotionMC and MotionEC Library minimum Stack size Heap_Size?

When I invert my compass,stm32 will reset, then i  increase Stack size Heap_Size,it run very well.

1 REPLY 1
Federica Bossi
ST Employee

Hi  @lyiku.1 ,

It depends on your application and MCU.

You can use ST example project settings as baseline. Consider that STM32CubeIDE and other debuggers provide stack watermark or usage statistics.

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.