diff --git a/Demo/CORTEX_M4F_Infineon_XMC4500_Tasking/.cproject b/Demo/CORTEX_M4F_Infineon_XMC4500_Tasking/.cproject
index a33848e39..5494c28cb 100644
--- a/Demo/CORTEX_M4F_Infineon_XMC4500_Tasking/.cproject
+++ b/Demo/CORTEX_M4F_Infineon_XMC4500_Tasking/.cproject
@@ -59,6 +59,62 @@
TASKING program builder v4.2r1 Build 063
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ TASKING program builder v4.2r1 Build 063
+
+
diff --git a/Demo/CORTEX_M4F_Infineon_XMC4500_Tasking/FreeRTOSConfig.h b/Demo/CORTEX_M4F_Infineon_XMC4500_Tasking/FreeRTOSConfig.h
index 4c1d32df8..bc8fcf3c0 100644
--- a/Demo/CORTEX_M4F_Infineon_XMC4500_Tasking/FreeRTOSConfig.h
+++ b/Demo/CORTEX_M4F_Infineon_XMC4500_Tasking/FreeRTOSConfig.h
@@ -137,7 +137,7 @@ to all Cortex-M ports, and do not rely on any particular library functions. */
/* Normal assert() semantics without relying on the provision of an assert.h
header file. */
-#define configASSERT( x ) if( ( x ) == 0 ) { taskDISABLE_INTERRUPTS(); for( ;; ); }
+#define configASSERT( x ) if( ( x ) == 0 ) { taskDISABLE_INTERRUPTS(); for( ;; ) __asm volatile( "NOP" ); }
#endif /* FREERTOS_CONFIG_H */
diff --git a/Demo/CORTEX_M4F_Infineon_XMC4500_Tasking/main.c b/Demo/CORTEX_M4F_Infineon_XMC4500_Tasking/main.c
index d443e5a6a..859ccb8f7 100644
--- a/Demo/CORTEX_M4F_Infineon_XMC4500_Tasking/main.c
+++ b/Demo/CORTEX_M4F_Infineon_XMC4500_Tasking/main.c
@@ -154,7 +154,10 @@ void vApplicationMallocFailedHook( void )
to query the size of free heap space that remains (although it does not
provide information on how the remaining heap might be fragmented). */
taskDISABLE_INTERRUPTS();
- for( ;; );
+ for( ;; )
+ {
+ __asm volatile( "NOP" );
+ };
}
/*-----------------------------------------------------------*/
@@ -181,7 +184,10 @@ void vApplicationStackOverflowHook( xTaskHandle pxTask, signed char *pcTaskName
configCHECK_FOR_STACK_OVERFLOW is defined to 1 or 2. This hook
function is called if a stack overflow is detected. */
taskDISABLE_INTERRUPTS();
- for( ;; );
+ for( ;; )
+ {
+ __asm volatile( "NOP" );
+ }
}
/*-----------------------------------------------------------*/
diff --git a/Demo/CORTEX_M4F_Infineon_XMC4500_Tasking/main_blinky.c b/Demo/CORTEX_M4F_Infineon_XMC4500_Tasking/main_blinky.c
index be344d5e9..b107a4c76 100644
--- a/Demo/CORTEX_M4F_Infineon_XMC4500_Tasking/main_blinky.c
+++ b/Demo/CORTEX_M4F_Infineon_XMC4500_Tasking/main_blinky.c
@@ -174,7 +174,10 @@ void main_blinky( void )
there was insufficient FreeRTOS heap memory available for the idle and/or
timer tasks to be created. See the memory management section on the
FreeRTOS web site for more details. */
- for( ;; );
+ for( ;; )
+ {
+ __asm volatile( "NOP" );
+ }
}
/*-----------------------------------------------------------*/
diff --git a/Demo/CORTEX_M4F_Infineon_XMC4500_Tasking/main_full.c b/Demo/CORTEX_M4F_Infineon_XMC4500_Tasking/main_full.c
index cc188f440..dedd84c25 100644
--- a/Demo/CORTEX_M4F_Infineon_XMC4500_Tasking/main_full.c
+++ b/Demo/CORTEX_M4F_Infineon_XMC4500_Tasking/main_full.c
@@ -215,7 +215,10 @@ xTimerHandle xCheckTimer = NULL;
insufficient FreeRTOS heap memory available for the idle and/or timer tasks
to be created. See the memory management section on the FreeRTOS web site
for more details. */
- for( ;; );
+ for( ;; )
+ {
+ __asm volatile( "NOP" );
+ }
}
/*-----------------------------------------------------------*/