From 8dd9c7dfd9ee8f5b70af24d36debfe747439e8ae Mon Sep 17 00:00:00 2001 From: Richard Barry Date: Sun, 17 Jan 2010 14:22:55 +0000 Subject: [PATCH] Moved the definitions of pvPortMallocAligned() and pvPortFreeAligned() to freertos.h. --- Demo/CORTEX_MPU_LM3Sxxxx_Rowley/FreeRTOSConfig.h | 3 --- Demo/CORTEX_MPU_LPC1768_GCC_RedSuite/src/FreeRTOSConfig.h | 2 -- 2 files changed, 5 deletions(-) diff --git a/Demo/CORTEX_MPU_LM3Sxxxx_Rowley/FreeRTOSConfig.h b/Demo/CORTEX_MPU_LM3Sxxxx_Rowley/FreeRTOSConfig.h index 66a36b306..d1b6ca866 100644 --- a/Demo/CORTEX_MPU_LM3Sxxxx_Rowley/FreeRTOSConfig.h +++ b/Demo/CORTEX_MPU_LM3Sxxxx_Rowley/FreeRTOSConfig.h @@ -110,7 +110,4 @@ to exclude the API function. */ #define configKERNEL_INTERRUPT_PRIORITY ( ( unsigned char ) 7 << configUNUSED_PRIO_BITS ) /* Priority 7, or 255 as only the top three bits are implemented. This is the lowest priority. */ #define configMAX_SYSCALL_INTERRUPT_PRIORITY ( ( unsigned char ) 5 << configUNUSED_PRIO_BITS ) /* Priority 5, or 160 as only the top three bits are implemented. */ -#define pvPortMallocAligned( x, puxStackBuffer ) ( ( puxStackBuffer == NULL ) ? ( pvPortMalloc( x ) ) : ( puxStackBuffer ) ) -#define vPortFreeAligned( x ) ( void ) x - #endif /* FREERTOS_CONFIG_H */ diff --git a/Demo/CORTEX_MPU_LPC1768_GCC_RedSuite/src/FreeRTOSConfig.h b/Demo/CORTEX_MPU_LPC1768_GCC_RedSuite/src/FreeRTOSConfig.h index e30edea31..e83edb970 100644 --- a/Demo/CORTEX_MPU_LPC1768_GCC_RedSuite/src/FreeRTOSConfig.h +++ b/Demo/CORTEX_MPU_LPC1768_GCC_RedSuite/src/FreeRTOSConfig.h @@ -116,7 +116,5 @@ to exclude the API function. */ #define configMAX_SYSCALL_INTERRUPT_PRIORITY ( 5 << (8 - configPRIO_BITS) ) -#define pvPortMallocAligned( x, puxStackBuffer ) ( ( puxStackBuffer == NULL ) ? ( pvPortMalloc( x ) ) : ( puxStackBuffer ) ) -#define vPortFreeAligned( x ) ( void ) x #endif /* FREERTOS_CONFIG_H */