|
|
|
@ -1,5 +1,5 @@
|
|
|
|
|
/*
|
|
|
|
|
FreeRTOS V7.1.0 - Copyright (C) 2011 Real Time Engineers Ltd.
|
|
|
|
|
FreeRTOS V7.1.1 - Copyright (C) 2012 Real Time Engineers Ltd.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
***************************************************************************
|
|
|
|
@ -40,15 +40,28 @@
|
|
|
|
|
FreeRTOS WEB site.
|
|
|
|
|
|
|
|
|
|
1 tab == 4 spaces!
|
|
|
|
|
|
|
|
|
|
***************************************************************************
|
|
|
|
|
* *
|
|
|
|
|
* Having a problem? Start by reading the FAQ "My application does *
|
|
|
|
|
* not run, what could be wrong? *
|
|
|
|
|
* *
|
|
|
|
|
* http://www.FreeRTOS.org/FAQHelp.html *
|
|
|
|
|
* *
|
|
|
|
|
***************************************************************************
|
|
|
|
|
|
|
|
|
|
http://www.FreeRTOS.org - Documentation, latest information, license and
|
|
|
|
|
contact details.
|
|
|
|
|
|
|
|
|
|
http://www.SafeRTOS.com - A version that is certified for use in safety
|
|
|
|
|
critical systems.
|
|
|
|
|
|
|
|
|
|
http://www.OpenRTOS.com - Commercial support, development, porting,
|
|
|
|
|
licensing and training services.
|
|
|
|
|
|
|
|
|
|
http://www.FreeRTOS.org - Documentation, training, latest information,
|
|
|
|
|
license and contact details.
|
|
|
|
|
|
|
|
|
|
http://www.FreeRTOS.org/plus - A selection of FreeRTOS ecosystem products,
|
|
|
|
|
including FreeRTOS+Trace - an indispensable productivity tool.
|
|
|
|
|
|
|
|
|
|
Real Time Engineers ltd license FreeRTOS to High Integrity Systems, who sell
|
|
|
|
|
the code with commercial support, indemnification, and middleware, under
|
|
|
|
|
the OpenRTOS brand: http://www.OpenRTOS.com. High Integrity Systems also
|
|
|
|
|
provide a safety engineered and independently SIL3 certified version under
|
|
|
|
|
the SafeRTOS brand: http://www.SafeRTOS.com.
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#ifndef PORTMACRO_H
|
|
|
|
@ -87,7 +100,7 @@ extern "C" {
|
|
|
|
|
/*-----------------------------------------------------------*/
|
|
|
|
|
|
|
|
|
|
/* Interrupt control macros. */
|
|
|
|
|
#define portDISABLE_INTERRUPTS() asm volatile ( "DINT" )
|
|
|
|
|
#define portDISABLE_INTERRUPTS() asm volatile ( "DINT" ); asm volatile ( "NOP" )
|
|
|
|
|
#define portENABLE_INTERRUPTS() asm volatile ( "EINT" )
|
|
|
|
|
/*-----------------------------------------------------------*/
|
|
|
|
|
|
|
|
|
@ -127,7 +140,7 @@ extern volatile unsigned portSHORT usCriticalNesting; \
|
|
|
|
|
|
|
|
|
|
/* Task utilities. */
|
|
|
|
|
extern void vPortYield( void ) __attribute__ ( ( naked ) );
|
|
|
|
|
#define portYIELD() vPortYield()
|
|
|
|
|
#define portYIELD() vPortYield()
|
|
|
|
|
#define portNOP() asm volatile ( "NOP" )
|
|
|
|
|
/*-----------------------------------------------------------*/
|
|
|
|
|
|
|
|
|
|