Allow dynamic heap_4 size by removing size from extern declaration

This commit is contained in:
osiris4711 2025-10-28 21:43:34 +00:00 committed by osiris
parent 13074875c2
commit 8d4af769a1

View file

@ -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 */