summaryrefslogtreecommitdiff
path: root/freertos/Source/portable/MemMang/heap_3.c
diff options
context:
space:
mode:
Diffstat (limited to 'freertos/Source/portable/MemMang/heap_3.c')
-rw-r--r--freertos/Source/portable/MemMang/heap_3.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/freertos/Source/portable/MemMang/heap_3.c b/freertos/Source/portable/MemMang/heap_3.c
index da85a58..f922001 100644
--- a/freertos/Source/portable/MemMang/heap_3.c
+++ b/freertos/Source/portable/MemMang/heap_3.c
@@ -1,5 +1,5 @@
/*
- FreeRTOS V8.2.3 - Copyright (C) 2015 Real Time Engineers Ltd.
+ FreeRTOS V9.0.0 - Copyright (C) 2016 Real Time Engineers Ltd.
All rights reserved
VISIT http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION.
@@ -91,6 +91,10 @@ task.h is included from an application file. */
#undef MPU_WRAPPERS_INCLUDED_FROM_API_FILE
+#if( configSUPPORT_DYNAMIC_ALLOCATION == 0 )
+ #error This file must not be used if configSUPPORT_DYNAMIC_ALLOCATION is 0
+#endif
+
/*-----------------------------------------------------------*/
void *pvPortMalloc( size_t xWantedSize )