From 4a928b1280fae6a1d42df1c4fb5b82dc76141bb7 Mon Sep 17 00:00:00 2001 From: richardbarry Date: Sun, 17 Jan 2010 14:22:55 +0000 Subject: [PATCH] Moved the definitions of pvPortMallocAligned() and pvPortFreeAligned() to freertos.h. git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@963 1d2547de-c912-0410-9cb9-b8ca96c0e9e2 --- 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 */ -- 2.39.5