Skip to main content
Explorer
September 18, 2025
Question

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

  • September 18, 2025
  • 1 reply
  • 277 views

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.

    This topic has been closed for replies.

    1 reply

    Technical Moderator
    October 1, 2025

    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.