/*\r
- FreeRTOS V8.0.0:rc1 - Copyright (C) 2014 Real Time Engineers Ltd.\r
+ FreeRTOS V8.1.2 - Copyright (C) 2014 Real Time Engineers Ltd.\r
All rights reserved\r
\r
VISIT http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION.\r
the terms of the GNU General Public License (version 2) as published by the\r
Free Software Foundation >>!AND MODIFIED BY!<< the FreeRTOS exception.\r
\r
- >>! NOTE: The modification to the GPL is included to allow you to distribute\r
- >>! a combined work that includes FreeRTOS without being obliged to provide\r
- >>! the source code for proprietary components outside of the FreeRTOS\r
- >>! kernel.\r
+ >>! NOTE: The modification to the GPL is included to allow you to !<<\r
+ >>! distribute a combined work that includes FreeRTOS without being !<<\r
+ >>! obliged to provide the source code for proprietary components !<<\r
+ >>! outside of the FreeRTOS kernel. !<<\r
\r
FreeRTOS is distributed in the hope that it will be useful, but WITHOUT ANY\r
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\r
* Include the generic headers required for the FreeRTOS port being used.\r
*/\r
#include <stddef.h>\r
-#include <stdint.h>\r
+\r
+/*\r
+ * If stdint.h cannot be located then:\r
+ * + If using GCC ensure the -nostdint options is *not* being used.\r
+ * + Ensure the project's include path includes the directory in which your\r
+ * compiler stores stdint.h.\r
+ * + Set any compiler options necessary for it to support C99, as technically\r
+ * stdint.h is only mandatory with C99 (FreeRTOS does not require C99 in any\r
+ * other way).\r
+ * + The FreeRTOS download includes a simple stdint.h definition that can be\r
+ * used in cases where none is provided by the compiler. The files only\r
+ * contains the typedefs required to build FreeRTOS. Read the instructions\r
+ * in FreeRTOS/source/stdint.readme for more information.\r
+ */\r
+#include <stdint.h> /* READ COMMENT ABOVE. */\r
\r
#ifdef __cplusplus\r
extern "C" {\r
#endif\r
\r
-/* Check stdint.h was included. */\r
-#ifndef UINT32_MAX\r
- /* Check if the FreeRTOS stdint subset has been included. */\r
- #ifndef FREERTOS_STDINT\r
- #error Read the instructions in FreeRTOS/source/stdint.readme if stdint.h is not provided with your compiler or you are building with standard libraries excluded (for example, with -nostdint in GCC).\r
- #endif /* FREERTOS_STDINT */\r
-#endif /* UINT32_MAX */\r
-\r
-/* Basic FreeRTOS definitions. */\r
-#include "projdefs.h"\r
-\r
/* Application specific configuration options. */\r
#include "FreeRTOSConfig.h"\r
\r
-/* configUSE_PORT_OPTIMISED_TASK_SELECTION must be defined before portable.h\r
-is included as it is used by the port layer. */\r
-#ifndef configUSE_PORT_OPTIMISED_TASK_SELECTION\r
- #define configUSE_PORT_OPTIMISED_TASK_SELECTION 0\r
-#endif\r
+/* Basic FreeRTOS definitions. */\r
+#include "projdefs.h"\r
\r
/* Definitions specific to the port being used. */\r
#include "portable.h"\r
#define INCLUDE_xEventGroupSetBitFromISR 0\r
#endif\r
\r
-#ifndef INCLUDE_xTimerPendFunctionCallFromISR\r
- #define INCLUDE_xTimerPendFunctionCallFromISR 0\r
+#ifndef INCLUDE_xTimerPendFunctionCall\r
+ #define INCLUDE_xTimerPendFunctionCall 0\r
#endif\r
\r
#ifndef configASSERT\r
#define traceEVENT_GROUP_CREATE_FAILED()\r
#endif\r
\r
-#ifndef traceEVENT_GROUP_SYNC_START\r
- #define traceEVENT_GROUP_SYNC_START( xEventGroup, uxBitsToSet )\r
+#ifndef traceEVENT_GROUP_SYNC_BLOCK\r
+ #define traceEVENT_GROUP_SYNC_BLOCK( xEventGroup, uxBitsToSet, uxBitsToWaitFor )\r
#endif\r
\r
#ifndef traceEVENT_GROUP_SYNC_END\r
- #define traceEVENT_GROUP_SYNC_END( xEventGroup, uxReturn )\r
+ #define traceEVENT_GROUP_SYNC_END( xEventGroup, uxBitsToSet, uxBitsToWaitFor, xTimeoutOccurred ) ( void ) xTimeoutOccurred\r
#endif\r
\r
-#ifndef traceEVENT_GROUP_WAIT_BITS_START\r
- #define traceEVENT_GROUP_WAIT_BITS_START( xEventGroup, uxBitsToWaitFor )\r
+#ifndef traceEVENT_GROUP_WAIT_BITS_BLOCK\r
+ #define traceEVENT_GROUP_WAIT_BITS_BLOCK( xEventGroup, uxBitsToWaitFor )\r
#endif\r
\r
#ifndef traceEVENT_GROUP_WAIT_BITS_END\r
- #define traceEVENT_GROUP_WAIT_BITS_END( xEventGroup, uxReturn )\r
+ #define traceEVENT_GROUP_WAIT_BITS_END( xEventGroup, uxBitsToWaitFor, xTimeoutOccurred ) ( void ) xTimeoutOccurred\r
#endif\r
\r
#ifndef traceEVENT_GROUP_CLEAR_BITS\r
#define traceEVENT_GROUP_SET_BITS( xEventGroup, uxBitsToSet )\r
#endif\r
\r
+#ifndef traceEVENT_GROUP_SET_BITS_FROM_ISR\r
+ #define traceEVENT_GROUP_SET_BITS_FROM_ISR( xEventGroup, uxBitsToSet )\r
+#endif\r
+\r
#ifndef traceEVENT_GROUP_DELETE\r
#define traceEVENT_GROUP_DELETE( xEventGroup )\r
#endif\r
\r
+#ifndef tracePEND_FUNC_CALL\r
+ #define tracePEND_FUNC_CALL(xFunctionToPend, pvParameter1, ulParameter2, ret)\r
+#endif\r
+\r
+#ifndef tracePEND_FUNC_CALL_FROM_ISR\r
+ #define tracePEND_FUNC_CALL_FROM_ISR(xFunctionToPend, pvParameter1, ulParameter2, ret)\r
+#endif\r
+\r
+#ifndef traceQUEUE_REGISTRY_ADD\r
+ #define traceQUEUE_REGISTRY_ADD(xQueue, pcQueueName)\r
+#endif\r
+\r
#ifndef configGENERATE_RUN_TIME_STATS\r
#define configGENERATE_RUN_TIME_STATS 0\r
#endif\r
#define mtCOVERAGE_TEST_MARKER()\r
#endif\r
\r
+#ifndef portASSERT_IF_IN_ISR\r
+ #define portASSERT_IF_IN_ISR()\r
+#endif\r
+\r
+#ifndef configUSE_PORT_OPTIMISED_TASK_SELECTION\r
+ #define configUSE_PORT_OPTIMISED_TASK_SELECTION 0\r
+#endif\r
+\r
/* Definitions to allow backward compatibility with FreeRTOS versions prior to\r
V8 if desired. */\r
#ifndef configENABLE_BACKWARD_COMPATIBILITY\r