]> git.sur5r.net Git - freertos/blobdiff - FreeRTOS/Source/include/FreeRTOS.h
Changes to the FreeRTOS code:
[freertos] / FreeRTOS / Source / include / FreeRTOS.h
index 8951b25b0df5168ae3fd33bfdfc2212eadc160db..a0e55e6d8f0b4ab88d26267811f6367bcf80e343 100644 (file)
@@ -681,7 +681,7 @@ extern "C" {
 #endif\r
 \r
 #ifndef pvPortMallocAligned\r
-       #define pvPortMallocAligned( x, puxStackBuffer ) ( ( ( puxStackBuffer ) == NULL ) ? ( pvPortMalloc( ( x ) ) ) : ( puxStackBuffer ) )\r
+       #define pvPortMallocAligned( x, puxPreallocatedBuffer ) ( ( ( puxPreallocatedBuffer ) == NULL ) ? ( pvPortMalloc( ( x ) ) ) : ( puxPreallocatedBuffer ) )\r
 #endif\r
 \r
 #ifndef vPortFreeAligned\r
@@ -772,6 +772,10 @@ extern "C" {
        #define portTICK_TYPE_IS_ATOMIC 0\r
 #endif\r
 \r
+#ifndef configSUPPORT_STATIC_ALLOCATION\r
+       #define configSUPPORT_STATIC_ALLOCATION 0\r
+#endif\r
+\r
 #if( portTICK_TYPE_IS_ATOMIC == 0 )\r
        /* Either variables of tick type cannot be read atomically, or\r
        portTICK_TYPE_IS_ATOMIC was not set - map the critical sections used when\r