From 2067312f9f6f9b1670a01b36ce1a33af91682426 Mon Sep 17 00:00:00 2001 From: Lizongdi <1210855344@qq.com> Date: Tue, 29 Sep 2026 10:38:46 +0800 Subject: [PATCH] =?UTF-8?q?rtos=E5=A0=86=E7=A9=BA=E9=97=B4=E6=8C=AA?= =?UTF-8?q?=E5=88=B0RAM=E4=B8=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Third_Party/FreeRTOS/Source/portable/MemMang/heap_4.c | 1 + 1 file changed, 1 insertion(+) diff --git a/Middlewares/Third_Party/FreeRTOS/Source/portable/MemMang/heap_4.c b/Middlewares/Third_Party/FreeRTOS/Source/portable/MemMang/heap_4.c index 013364f..c42d61c 100644 --- a/Middlewares/Third_Party/FreeRTOS/Source/portable/MemMang/heap_4.c +++ b/Middlewares/Third_Party/FreeRTOS/Source/portable/MemMang/heap_4.c @@ -89,6 +89,7 @@ * heap - probably so it can be placed in a special segment or address. */ extern uint8_t ucHeap[ configTOTAL_HEAP_SIZE ]; #else + __attribute__((section(".rtos_heap"))) PRIVILEGED_DATA static uint8_t ucHeap[ configTOTAL_HEAP_SIZE ]; #endif /* configAPPLICATION_ALLOCATED_HEAP */