Skip to content

Commit 5da55ba

Browse files
Add configCHECK_HANDLER_INSTALLATION description in template file (#1025)
Add configconfigCHECK_HANDLER_INSTALLATION description in template configuration file
1 parent f0ff383 commit 5da55ba

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

examples/template_configuration/FreeRTOSConfig.h

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -571,6 +571,24 @@
571571
* for the Cortex-M23,Cortex-M33 and Cortex-M35P ports. */
572572
#define configENABLE_MVE 1
573573

574+
/******************************************************************************/
575+
/* ARMv7-M and ARMv8-M port Specific Configuration definitions. ***************/
576+
/******************************************************************************/
577+
578+
/* Set configCHECK_HANDLER_INSTALLATION to 1 to enable additional asserts to verify
579+
* that the application has correctly installed FreeRTOS interrupt handlers.
580+
*
581+
* An application can install FreeRTOS interrupt handlers in one of the following ways:
582+
* 1. Direct Routing - Install the functions vPortSVCHandler and xPortPendSVHandler
583+
* for SVC call and PendSV interrupts respectively.
584+
* 2. Indirect Routing - Install separate handlers for SVC call and PendSV
585+
* interrupts and route program control from those handlers
586+
* to vPortSVCHandler and xPortPendSVHandler functions.
587+
* The applications that use Indirect Routing must set configCHECK_HANDLER_INSTALLATION to 0.
588+
*
589+
* Defaults to 1 if left undefined. */
590+
#define configCHECK_HANDLER_INSTALLATION 1
591+
574592
/******************************************************************************/
575593
/* Definitions that include or exclude functionality. *************************/
576594
/******************************************************************************/

0 commit comments

Comments
 (0)