This example starts with TaskA executing. TaskB has previously been suspended so its context has already been stored on the TaskB stack.
TaskA has the context demonstrated by the diagram below.
The (A) label within each register shows that the register contains the correct value for the context of task A.
Next: RTOS Implementation – Detailed Example Step 2
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 Updates to MIT licensed IoT MQTT and POSIX libraries are now available. New library IoT HTTPS is 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.