2021-11-04 12:38 PM
2021-11-04 02:25 PM
For a long time, the standard library was not RTOS aware. I.e. functions like malloc behaved badly when a RTOS scheduler kicked in. This was fixed recently by the new dialog box. If you say yes, a thread-safe version of the library is used which induces some overhead. For non-RTOS code, answering no is fine.
disclaimer: did not test the new behaviour
hth
KnarfB
2021-11-04 02:25 PM
For a long time, the standard library was not RTOS aware. I.e. functions like malloc behaved badly when a RTOS scheduler kicked in. This was fixed recently by the new dialog box. If you say yes, a thread-safe version of the library is used which induces some overhead. For non-RTOS code, answering no is fine.
disclaimer: did not test the new behaviour
hth
KnarfB
2021-11-09 11:17 AM
There are 6 different options in this dialog box. What is the use of each option. Is there any documentation.
Thank you,
2021-11-09 11:12 PM
Hi @ADani.2 ,
For now, there is no documentation on thread safe settings but the request of documentation is already reported internally.
I will keep you posted with the updates.
Regards,
Sara.
2021-11-09 11:13 PM
2021-12-10 02:10 AM
Hello,
Please check the AN5731 which is now available in https://www.st.com, it describes the thread-safe solution, implemented in STM32CubeMX and STM32CubeIDE.
Regards,
Sara.
2021-12-13 02:57 AM