You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are currently using dynamic memory allocations .
It would be more ideal to use static memory allocations. Doing so will yield more deterministic operation, and we will know if we have sufficient memory at link time rather than at run time.
We can take this transition in steps, rather than all at once. For example, we can start with task creation first by replacing all xTaskCreate calls with its static version xTaskCreateStatic, then moving on to other FreeRTOS constructs such as queues, etc, and then rewriting areas of our user code that use dynamic allocation.
The text was updated successfully, but these errors were encountered:
We are currently using dynamic memory allocations .
It would be more ideal to use static memory allocations. Doing so will yield more deterministic operation, and we will know if we have sufficient memory at link time rather than at run time.
We can take this transition in steps, rather than all at once. For example, we can start with task creation first by replacing all
xTaskCreate
calls with its static versionxTaskCreateStatic
, then moving on to other FreeRTOS constructs such as queues, etc, and then rewriting areas of our user code that use dynamic allocation.The text was updated successfully, but these errors were encountered: