diff options
author | richardbarry <richardbarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2> | 2013-07-04 11:20:28 +0000 |
---|---|---|
committer | richardbarry <richardbarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2> | 2013-07-04 11:20:28 +0000 |
commit | 03ddb80a20e723631c54fa1c01a70f8d2806f541 (patch) | |
tree | 26a52035eed459783742083160d6135d30af66b1 /FreeRTOS/Source/portable/GCC/ARM_CM4F/portmacro.h | |
parent | cf20d8ab394f87e350c90c3c9f6a3dd990772734 (diff) | |
download | freertos-03ddb80a20e723631c54fa1c01a70f8d2806f541.tar.gz |
Added portASSERT_IF_INTERRUPT_PRIORITY_INVALID() implementation to Cortex-M3 and Cortex-M4F ports.
git-svn-id: http://svn.code.sf.net/p/freertos/code/trunk@1965 1d2547de-c912-0410-9cb9-b8ca96c0e9e2
Diffstat (limited to 'FreeRTOS/Source/portable/GCC/ARM_CM4F/portmacro.h')
-rw-r--r-- | FreeRTOS/Source/portable/GCC/ARM_CM4F/portmacro.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/FreeRTOS/Source/portable/GCC/ARM_CM4F/portmacro.h b/FreeRTOS/Source/portable/GCC/ARM_CM4F/portmacro.h index 7d58e7b82..a006e4517 100644 --- a/FreeRTOS/Source/portable/GCC/ARM_CM4F/portmacro.h +++ b/FreeRTOS/Source/portable/GCC/ARM_CM4F/portmacro.h @@ -181,6 +181,13 @@ not necessary for to use this port. They are defined so the common demo files /*-----------------------------------------------------------*/
+#ifdef configASSERT
+ void vPortValidateInterruptPriority( void );
+ #define portASSERT_IF_INTERRUPT_PRIORITY_INVALID() vPortValidateInterruptPriority()
+#else
+ #define portASSERT_IF_INTERRUPT_PRIORITY_INVALID()
+#endif
+
/* portNOP() is not required by this port. */
#define portNOP()
|