From fee933f485cb55aeaabd99d711424cf4886669d6 Mon Sep 17 00:00:00 2001 From: Jeff Tenney Date: Mon, 11 Dec 2023 11:24:13 -0700 Subject: [PATCH] Disable new handler installation check for XMC1000 (#1132) Disable handler checking in XMC1000 demo --- .../FreeRTOSConfig.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/FreeRTOS/Demo/CORTEX_M0_Infineon_XMC1000_IAR_Keil_GCC/FreeRTOSConfig.h b/FreeRTOS/Demo/CORTEX_M0_Infineon_XMC1000_IAR_Keil_GCC/FreeRTOSConfig.h index 5868a2b5d10..5539843f79b 100644 --- a/FreeRTOS/Demo/CORTEX_M0_Infineon_XMC1000_IAR_Keil_GCC/FreeRTOSConfig.h +++ b/FreeRTOS/Demo/CORTEX_M0_Infineon_XMC1000_IAR_Keil_GCC/FreeRTOSConfig.h @@ -93,6 +93,12 @@ to exclude the API function. */ header file. */ #define configASSERT( x ) if( ( x ) == 0 ) { taskDISABLE_INTERRUPTS(); for( ;; ); } +/* Disable the runtime check on the installation of the FreeRTOS handlers. The +port code that performs the check expects the handlers to be installed directly +into the vector table. However, XMC1000 has a ROM-based vector table, so it does +not contain the OS handler vectors directly. */ +#define configCHECK_HANDLER_INSTALLATION 0 + /* Definitions that map the FreeRTOS port interrupt handlers to their CMSIS standard names - or at least those used in the unmodified vector table. */ #define xPortPendSVHandler PendSV_Handler