Putting It All Together
The final part of section 2 shows how these building blocks and source code modules are used to achieve an RTOS context switch on the AVR microcontroller. The example demonstrates in seven steps the process of switching from a lower priority task, called TaskA, to a higher priority task, called TaskB.
The source code is compatible with the WinAVR C development tools.
Next: RTOS Implementation – Detailed Example Step 1
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.