/* Definitions specific to the port being used. */\r
#include "portable.h"\r
\r
+/* Must be defaulted before configUSE_NEWLIB_REENTRANT is used below. */\r
+#ifndef configUSE_NEWLIB_REENTRANT\r
+ #define configUSE_NEWLIB_REENTRANT 0\r
+#endif\r
+\r
+/* Required if struct _reent is used. */\r
+#if ( configUSE_NEWLIB_REENTRANT == 1 )\r
+ #include <reent.h>\r
+#endif\r
/*\r
* Check all the required application specific macros have been defined.\r
* These macros are application specific and (as downloaded) are defined\r
#define INCLUDE_xSemaphoreGetMutexHolder INCLUDE_xQueueGetMutexHolder\r
#endif\r
\r
-#ifndef INCLUDE_xTaskGetTaskHandle\r
- #define INCLUDE_xTaskGetTaskHandle 0\r
+#ifndef INCLUDE_xTaskGetHandle\r
+ #define INCLUDE_xTaskGetHandle 0\r
#endif\r
\r
#ifndef INCLUDE_uxTaskGetStackHighWaterMark\r
#define configINCLUDE_APPLICATION_DEFINED_PRIVILEGED_FUNCTIONS 0\r
#endif\r
\r
-#ifndef configUSE_NEWLIB_REENTRANT\r
- #define configUSE_NEWLIB_REENTRANT 0\r
-#endif\r
-\r
#ifndef configUSE_STATS_FORMATTING_FUNCTIONS\r
#define configUSE_STATS_FORMATTING_FUNCTIONS 0\r
#endif\r
#endif /* INCLUDE_vTaskSuspend */\r
#endif /* configUSE_TICKLESS_IDLE */\r
\r
-#if( ( portUSING_MPU_WRAPPERS == 1 ) && ( configSUPPORT_STATIC_ALLOCATION != 1 ) )\r
- #error configSUPPORT_STATIC_ALLOCATION must be set to 1 in FreeRTOSConfig.h when the MPU is used.\r
-#endif\r
-\r
#if( ( configSUPPORT_STATIC_ALLOCATION == 0 ) && ( configSUPPORT_DYNAMIC_ALLOCATION == 0 ) )\r
#error configSUPPORT_STATIC_ALLOCATION and configSUPPORT_DYNAMIC_ALLOCATION cannot both be 0, but can both be 1.\r
#endif\r
#define portTICK_RATE_MS portTICK_PERIOD_MS\r
#define pcTaskGetTaskName pcTaskGetName\r
#define pcTimerGetTimerName pcTimerGetName\r
+ #define pcQueueGetQueueName pcQueueGetName\r
+ #define vTaskGetTaskInfo vTaskGetInfo\r
\r
/* Backward compatibility within the scheduler code only - these definitions\r
are not really required but are included for completeness. */\r