Skip to content

Commit 6768094

Browse files
Finwooddawood87
authored andcommitted
Omit configTOTAL_HEAP_SIZE with Application Allocated Heap
See FreeRTOS#347
1 parent f31c5be commit 6768094

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

portable/MemMang/heap_1.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858

5959
/* The application writer has already defined the array used for the RTOS
6060
* heap - probably so it can be placed in a special segment or address. */
61-
extern uint8_t ucHeap[ configTOTAL_HEAP_SIZE ];
61+
extern uint8_t ucHeap[ ];
6262
#else
6363
static uint8_t ucHeap[ configTOTAL_HEAP_SIZE ];
6464
#endif /* configAPPLICATION_ALLOCATED_HEAP */

portable/MemMang/heap_2.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ static void prvHeapInit( void );
6464

6565
/* The application writer has already defined the array used for the RTOS
6666
* heap - probably so it can be placed in a special segment or address. */
67-
extern uint8_t ucHeap[ configTOTAL_HEAP_SIZE ];
67+
extern uint8_t ucHeap[ ];
6868
#else
6969
static uint8_t ucHeap[ configTOTAL_HEAP_SIZE ];
7070
#endif /* configAPPLICATION_ALLOCATED_HEAP */

portable/MemMang/heap_4.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161

6262
/* The application writer has already defined the array used for the RTOS
6363
* heap - probably so it can be placed in a special segment or address. */
64-
extern uint8_t ucHeap[ configTOTAL_HEAP_SIZE ];
64+
extern uint8_t ucHeap[ ];
6565
#else
6666
PRIVILEGED_DATA static uint8_t ucHeap[ configTOTAL_HEAP_SIZE ];
6767
#endif /* configAPPLICATION_ALLOCATED_HEAP */

0 commit comments

Comments
 (0)