Browse Source

rtos堆空间挪到RAM上

master
Lizongdi 1 day ago
parent
commit
2067312f9f
  1. 1
      Middlewares/Third_Party/FreeRTOS/Source/portable/MemMang/heap_4.c

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

Loading…
Cancel
Save