2014-09-02 06:23 PM
Hi all,
I am using the STM32L0 snippets code and would like to use the CMSIS RTOS which is included inside in the form of cmsis_os.h. Inside Truestudio, I added the header file and included the folder inside my project's C compiler's include path. However, when i build my project, its saysI then googled and read that we also need RTOS.lib and RTOS_config.c? May I know which steps i have missed or misconfigured Truestudio?
Thanks for helping!2014-09-03 06:17 AM
Hi
''I am using the STM32L0 snippets code and would like to use the CMSIS RTOS which is included inside in the form of cmsis_os.h.'' ''May I know which steps i have missed or misconfigured Truestudio?'' My understanding of CMSIS RTOS is that it is a wrapper layer NOT a full blown RTOS. It provides an abstraction for a RTOS (that you must provide) so that it is easier to change from one RTOS to another, if needed. (That is my understanding of it ) If you want an RTOS, check this Wikipedia page : http://en.wikipedia.org/wiki/List_of_real-time_operating_systems2014-09-03 08:48 PM
Ok thanks for the information. Have you tried this CMSIS-RTOS with FreeRTOS?
2014-09-04 01:19 AM
Hi
No, I have never tried the CMSYS-RTOS wrapper. I have and am using at the moment FreeRTOS. I did write my own OS wrapper in my last project.2014-09-07 11:12 PM
Hi chen chung, do you mind teaching me the steps how to get the FreeRTOS into a project? I am looking at the basic implementation of creating a thread and running it. Thanks, hope to hear from you!
2014-09-16 04:40 AM
Hi
Sorry, missed your replay since I was busy that weekend. What compiler/IDE/development environment are you using? There are lots of examples for ST devices from FreeRTOS but they are divided into 1) device 2) development environment http://www.freertos.org/a00090.html#ST