Skip to content

Commit fee933f

Browse files
authored
Disable new handler installation check for XMC1000 (FreeRTOS#1132)
Disable handler checking in XMC1000 demo
1 parent 012e618 commit fee933f

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

FreeRTOS/Demo/CORTEX_M0_Infineon_XMC1000_IAR_Keil_GCC/FreeRTOSConfig.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,12 @@ to exclude the API function. */
9393
header file. */
9494
#define configASSERT( x ) if( ( x ) == 0 ) { taskDISABLE_INTERRUPTS(); for( ;; ); }
9595

96+
/* Disable the runtime check on the installation of the FreeRTOS handlers. The
97+
port code that performs the check expects the handlers to be installed directly
98+
into the vector table. However, XMC1000 has a ROM-based vector table, so it does
99+
not contain the OS handler vectors directly. */
100+
#define configCHECK_HANDLER_INSTALLATION 0
101+
96102
/* Definitions that map the FreeRTOS port interrupt handlers to their CMSIS
97103
standard names - or at least those used in the unmodified vector table. */
98104
#define xPortPendSVHandler PendSV_Handler

0 commit comments

Comments
 (0)