diff options
author | richardbarry <richardbarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2> | 2013-05-19 09:43:00 +0000 |
---|---|---|
committer | richardbarry <richardbarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2> | 2013-05-19 09:43:00 +0000 |
commit | 8146cb74e346d1e8d6f8a01cb678cfa9f6d78380 (patch) | |
tree | b7fbc986805e1ac018498b1c5043bf0a74faccb8 /FreeRTOS/Source/portable/Tasking/ARM_CM4F/portmacro.h | |
parent | a626e10140bec8bc2bf3294e50848960e91c8fa0 (diff) | |
download | freertos-8146cb74e346d1e8d6f8a01cb678cfa9f6d78380.tar.gz |
Fix compiler warning in psp_test.c when compiled with ARM compiler.
Add portYIELD_FROM_ISR() macros to Cortex-M ports. The new macro just calls the exiting portEND_SWITCHING_ISR() macro.
Remove code from the MSVC port layer that was left over from a previous implementation and become obsolete.
git-svn-id: http://svn.code.sf.net/p/freertos/code/trunk@1898 1d2547de-c912-0410-9cb9-b8ca96c0e9e2
Diffstat (limited to 'FreeRTOS/Source/portable/Tasking/ARM_CM4F/portmacro.h')
-rw-r--r-- | FreeRTOS/Source/portable/Tasking/ARM_CM4F/portmacro.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/FreeRTOS/Source/portable/Tasking/ARM_CM4F/portmacro.h b/FreeRTOS/Source/portable/Tasking/ARM_CM4F/portmacro.h index 9e6b40d1a..9f12a88f1 100644 --- a/FreeRTOS/Source/portable/Tasking/ARM_CM4F/portmacro.h +++ b/FreeRTOS/Source/portable/Tasking/ARM_CM4F/portmacro.h @@ -122,6 +122,7 @@ extern void vPortYield( void ); #define portYIELD() vPortYield()
#define portEND_SWITCHING_ISR( xSwitchRequired ) if( xSwitchRequired ) *(portNVIC_INT_CTRL) = portNVIC_PENDSVSET
+#define portYIELD_FROM_ISR( x ) portEND_SWITCHING_ISR( x )
/*-----------------------------------------------------------*/
|