Yes. Each RTOS port provides a macro to request a context switch from within an ISR.
The name of the macro is dependent on the port (for historic reasons). It will
be either portYIELD_FROM_ISR() or portEND_SWITCHING_ISR. Refer to the
for the port being used.
Every official port comes with a
demo application that demonstrates context switching from an ISR.
That is very dependent on the microcontroller and tool chain port of FreeRTOS being used.
Refere to the documentation page and demo application
for the RTOS port being used.
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.