From 8d4af769a198ab5bc6ce82b2fa8f179b3b6411dd Mon Sep 17 00:00:00 2001 From: osiris4711 Date: Tue, 28 Oct 2025 21:43:34 +0000 Subject: [PATCH] Allow dynamic heap_4 size by removing size from extern declaration --- portable/MemMang/heap_4.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/portable/MemMang/heap_4.c b/portable/MemMang/heap_4.c index 50af15dfb..8d4f69246 100644 --- a/portable/MemMang/heap_4.c +++ b/portable/MemMang/heap_4.c @@ -90,7 +90,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 */