2016-03-16 06:51 AM
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 #can2016-03-16 07:43 AM
> 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.