Creating thread in STM32 code
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2016-03-16 6:51 AM
Posted on March 16, 2016 at 14:51
can we use a thread without using a FreeRTOS or any RTOS in STM32 code.Any references to it.
thanks in advance !rgdsRp #!stm32 #stm32 #schedulder #can
Labels:
- Labels:
-
CAN
This discussion is locked. Please start a new topic to ask your question.
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2016-03-16 7:43 AM
Posted on March 16, 2016 at 15:43
> can we use a thread without using a FreeRTOS or any RTOS in STM32 code.Any references to it.
No. ''Thread'' or ''Task'' are merely metaphors for quasi-concurrent execution in the context of an OS. Threads/task are objects handled by the OS, thus require an OS. But yes, you can achieve such a virtually concurrent execution by other means. The management of those ''threads'' (creation/termination, scheduling, resource allocation/arbitration, communication) is then totally up to you. Most commonly, it starts with a periodic timer interrupt.
