Skip to content

Latest commit

 

History

History

Task_FreeRTOS

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

FreeRTOS Basic Task Example

The study of RTOS consists of planning and scheduling the workload on a processor so that the timeline guarantees for the workload are never violated. The workload is quantified in discrete pieces that we refer to as a task. A task is, then, an independent program that performs specific operations using one or more resources (memory, RAM, CPU, UART, GPIO, etc) of the microcontroller or SOC in the case of the ESP32.

The program has two tasks, the first one displays the message "Hello World" on the serial port and the second one blinks a LED. As both tasks run on the same ESP32 core, the scheduler assigns the same execution time to each task, as shown in the diagram.

Diagram

Resumen Teórico Theoretical Summary