Mbed
OS
Arm Mbed OS support forum
How to allocate memory for Threads?
Mbed OS
Best practice
mbed_os
JohnnyK
(Jan Kamidra)
September 9, 2021, 5:39am
2
Hello,
for a specific thread just try
Thread yourThread(osPriorityNormal, 2000);
for main thread just look to this
How to change stack size - Mbed OS - Arm Mbed OS support forum
BR, Jan
1 Like
show post in topic
Related topics
Topic
Replies
Views
Activity
Time of thread memory allocation
Mbed OS
cmsis-rtos
2
797
June 2, 2021
Mbed OS stack and heap memory usage
Mbed OS
2
2369
April 26, 2016
Error on allocating bigger chunk of memory in malloc even though heap is available
Mbed OS
mbed_os
0
390
May 18, 2020
Simple multithread (main+2 threads) code raising out of memory error
Mbed OS
5
583
October 23, 2020
Compile, link but after flashing, the processor no signs of life
Mbed OS
mbed_os
2
987
November 20, 2016