Skip to content

Commit

Permalink
Omit configTOTAL_HEAP_SIZE with Application Allocated Heap
Browse files Browse the repository at this point in the history
  • Loading branch information
Finwood authored and dawood87 committed Oct 15, 2021
1 parent f31c5be commit 6768094
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion portable/MemMang/heap_1.c
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@

/* The application writer has already defined the array used for the RTOS
* heap - probably so it can be placed in a special segment or address. */
extern uint8_t ucHeap[ configTOTAL_HEAP_SIZE ];
extern uint8_t ucHeap[ ];
#else
static uint8_t ucHeap[ configTOTAL_HEAP_SIZE ];
#endif /* configAPPLICATION_ALLOCATED_HEAP */
Expand Down
2 changes: 1 addition & 1 deletion portable/MemMang/heap_2.c
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ static void prvHeapInit( void );

/* The application writer has already defined the array used for the RTOS
* heap - probably so it can be placed in a special segment or address. */
extern uint8_t ucHeap[ configTOTAL_HEAP_SIZE ];
extern uint8_t ucHeap[ ];
#else
static uint8_t ucHeap[ configTOTAL_HEAP_SIZE ];
#endif /* configAPPLICATION_ALLOCATED_HEAP */
Expand Down
2 changes: 1 addition & 1 deletion portable/MemMang/heap_4.c
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@

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

0 comments on commit 6768094

Please sign in to comment.