#define portTASK_FUNCTION( vFunction, pvParameters ) void vFunction( void *pvParameters )\r
/*-----------------------------------------------------------*/\r
\r
+/* Required by the kernel aware debugger. */\r
+#ifdef __DEBUG\r
+ #define portREMOVE_STATIC_QUALIFIER\r
+#endif\r
+\r
\r
#define portNOP() _asm \\r
NOP \\r
#define portTASK_FUNCTION( vFunction, pvParameters ) void vFunction( void *pvParameters )\r
/*-----------------------------------------------------------*/\r
\r
+/* Required by the kernel aware debugger. */\r
+#ifdef __DEBUG\r
+ #define portREMOVE_STATIC_QUALIFIER\r
+#endif\r
\r
#define portNOP() asm volatile ( "NOP" )\r
\r
#define portTASK_FUNCTION( vFunction, pvParameters ) void vFunction( void *pvParameters )\r
/*-----------------------------------------------------------*/\r
\r
-#define portEND_SWITCHING_ISR( vSwitchRequired ) if( vSwitchRequired ) SetCoreSW0()\r
+#define portEND_SWITCHING_ISR( xSwitchRequired ) if( xSwitchRequired ) \\r
+ { \\r
+ portYIELD(); \\r
+ }\r
+\r
+/* Required by the kernel aware debugger. */\r
+#ifdef __DEBUG\r
+ #define portREMOVE_STATIC_QUALIFIER\r
+#endif\r
\r
#ifdef __cplusplus\r
}\r