I am exploring STM32 microcontroller development with RTOS (micrium). Any tips ?
Please I need help on this guys , I am exploring STM32 microcontroller development with RTOS (micrium). Any tips for calculating thread stack usage efficiently?
Solution:Jump to solution
From Arm's "Determining the stack usage of applications":
Determining the required stack sizes for a software project is a crucial part of the development process. The developer aims to create a stable application, while not wasting resources. This application note explains methods that help finding the optimal setting while looking specifically on the stack load caused by interrupt service routines (ISRs) in RTOS applications running on an Arm Cortex-M based processor.
Read more in the attached app note, provided by @Chimmuanya Okere....
5 Replies
Check this out . I think this pdf would help a long way to help you understand this more
https://www.google.com/url?sa=t&source=web&rct=j&opi=89978449&url=https://documentation-service.arm.com/static/61b0b59e3e33e51e490061c6%3Ftoken%3D&ved=2ahUKEwia9YvqjZeFAxUxTkEAHU6BBZ4QFnoECCMQAQ&usg=AOvVaw18PZaL_onPJKbaw-ZLrLn1
Finally, thanks a lot . The link auto downloaded the pdf. This is helpful
Is this application note applicable to esp32-s3 freertos ?
@kingrom , yes it is applicable
Solution
From Arm's "Determining the stack usage of applications":
Determining the required stack sizes for a software project is a crucial part of the development process. The developer aims to create a stable application, while not wasting resources. This application note explains methods that help finding the optimal setting while looking specifically on the stack load caused by interrupt service routines (ISRs) in RTOS applications running on an Arm Cortex-M based processor.
Read more in the attached app note, provided by @Chimmuanya Okere.