The RTOS tick occurs just as TaskA is about to execute an LDI instruction. When the interrupt occurs the AVR microcontroller automatically places the current program counter (PC) onto the stack before jumping to the start of the RTOS tick ISR.
Next: RTOS Implementation – Detailed Example Step 3
FreeRTOS v10.2.1 is available for immediate download. MIT licensed, includes 64-bit RISC-V, NXP Cortex-M33 demo & Nuvoton Cortex-M23 demo & STM32H745 dual core (AMP) demo.
New MIT licensed IoT MQTT and IoT Task Pool libraries now available. Includes demo projects.
View a recording of the “OTA Update Security and Reliability” webinar, presented by TI and AWS.
FreeRTOS and other embedded software careers at AWS.