#ifdef configASSERT\r
void vPortValidateInterruptPriority( void );\r
#define portASSERT_IF_INTERRUPT_PRIORITY_INVALID() vPortValidateInterruptPriority()\r
-#else\r
- #define portASSERT_IF_INTERRUPT_PRIORITY_INVALID()\r
#endif\r
\r
/* portNOP() is not required by this port. */\r
#ifdef configASSERT\r
void vPortValidateInterruptPriority( void );\r
#define portASSERT_IF_INTERRUPT_PRIORITY_INVALID() vPortValidateInterruptPriority()\r
-#else\r
- #define portASSERT_IF_INTERRUPT_PRIORITY_INVALID()\r
#endif\r
\r
/* portNOP() is not required by this port. */\r
#ifdef configASSERT\r
void vPortValidateInterruptPriority( void );\r
#define portASSERT_IF_INTERRUPT_PRIORITY_INVALID() vPortValidateInterruptPriority()\r
- #else\r
- #define portASSERT_IF_INTERRUPT_PRIORITY_INVALID()\r
- #endif\r
+#endif\r
\r
#define portNOP() __asm volatile( "NOP" )\r
\r
#ifdef configASSERT\r
void vPortValidateInterruptPriority( void );\r
#define portASSERT_IF_INTERRUPT_PRIORITY_INVALID() vPortValidateInterruptPriority()\r
-#else\r
- #define portASSERT_IF_INTERRUPT_PRIORITY_INVALID()\r
#endif\r
\r
/* portNOP() is not required by this port. */\r
#ifdef configASSERT\r
void vPortValidateInterruptPriority( void );\r
#define portASSERT_IF_INTERRUPT_PRIORITY_INVALID() vPortValidateInterruptPriority()\r
-#else\r
- #define portASSERT_IF_INTERRUPT_PRIORITY_INVALID()\r
#endif\r
\r
/* portNOP() is not required by this port. */\r
#ifdef configASSERT\r
void vPortValidateInterruptPriority( void );\r
#define portASSERT_IF_INTERRUPT_PRIORITY_INVALID() vPortValidateInterruptPriority()\r
-#else\r
- #define portASSERT_IF_INTERRUPT_PRIORITY_INVALID()\r
#endif\r
\r
#define portNOP() __nop()\r
#ifdef configASSERT\r
void vPortValidateInterruptPriority( void );\r
#define portASSERT_IF_INTERRUPT_PRIORITY_INVALID() vPortValidateInterruptPriority()\r
-#else\r
- #define portASSERT_IF_INTERRUPT_PRIORITY_INVALID()\r
#endif\r
\r
/* portNOP() is not required by this port. */\r
#ifdef configASSERT\r
void vPortValidateInterruptPriority( void );\r
#define portASSERT_IF_INTERRUPT_PRIORITY_INVALID() vPortValidateInterruptPriority()\r
-#else\r
- #define portASSERT_IF_INTERRUPT_PRIORITY_INVALID()\r
#endif\r
\r
/* portNOP() is not required by this port. */\r
#define portTICK_RATE_MS ( ( portTickType ) 1000 / configTICK_RATE_HZ )\r
#define portNOP() nop()\r
\r
+#ifdef configASSERT\r
+ #define portASSERT_IF_INTERRUPT_PRIORITY_INVALID() configASSERT( ( get_ipl() <= configMAX_SYSCALL_INTERRUPT_PRIORITY ) )\r
+#endif\r
+\r
#pragma inline_asm vPortYield\r
static void vPortYield( void )\r
{\r
#define portTICK_RATE_MS ( ( portTickType ) 1000 / configTICK_RATE_HZ ) \r
#define portNOP() nop()\r
\r
+#ifdef configASSERT\r
+ #define portASSERT_IF_INTERRUPT_PRIORITY_INVALID() configASSERT( ( get_ipl() <= configMAX_SYSCALL_INTERRUPT_PRIORITY ) )\r
+#endif\r
+\r
#pragma inline_asm vPortYield\r
static void vPortYield( void )\r
{\r
#define portTICK_RATE_MS ( ( portTickType ) 1000 / configTICK_RATE_HZ ) \r
#define portNOP() nop()\r
\r
+#ifdef configASSERT\r
+ #define portASSERT_IF_INTERRUPT_PRIORITY_INVALID() configASSERT( ( get_ipl() <= configMAX_SYSCALL_INTERRUPT_PRIORITY ) )\r
+#endif\r
+\r
#pragma inline_asm vPortYield\r
static void vPortYield( void )\r
{\r