diff --git a/examples/template_configuration/FreeRTOSConfig.h b/examples/template_configuration/FreeRTOSConfig.h index 74b7cea96..ed3a430f1 100644 --- a/examples/template_configuration/FreeRTOSConfig.h +++ b/examples/template_configuration/FreeRTOSConfig.h @@ -571,6 +571,24 @@ * for the Cortex-M23,Cortex-M33 and Cortex-M35P ports. */ #define configENABLE_MVE 1 +/******************************************************************************/ +/* ARMv7-M and ARMv8-M port Specific Configuration definitions. ***************/ +/******************************************************************************/ + +/* Set configCHECK_HANDLER_INSTALLATION to 1 to enable additional asserts to verify + * that the application has correctly installed FreeRTOS interrupt handlers. + * + * An application can install FreeRTOS interrupt handlers in one of the following ways: + * 1. Direct Routing - Install the functions vPortSVCHandler and xPortPendSVHandler + * for SVC call and PendSV interrupts respectively. + * 2. Indirect Routing - Install separate handlers for SVC call and PendSV + * interrupts and route program control from those handlers + * to vPortSVCHandler and xPortPendSVHandler functions. + * The applications that use Indirect Routing must set configCHECK_HANDLER_INSTALLATION to 0. + * + * Defaults to 1 if left undefined. */ +#define configCHECK_HANDLER_INSTALLATION 1 + /******************************************************************************/ /* Definitions that include or exclude functionality. *************************/ /******************************************************************************/