From: richardbarry Date: Sun, 17 Jan 2010 14:22:55 +0000 (+0000) Subject: Moved the definitions of pvPortMallocAligned() and pvPortFreeAligned() to freertos.h. X-Git-Tag: V6.0.3~23 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=4a928b1280fae6a1d42df1c4fb5b82dc76141bb7;p=freertos 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 --- 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 */