micrium

Allocation and Free in Micriμm μC/OS-III RTOS

心不动则不痛 提交于 2019-12-11 03:03:46
问题 We are using the μC/OS-III RTOS of Micrium with a RX62N of Renesas. We built a system where we have to dynamicly alloc and free data. We found out the functions malloc() and free() are not working well with the RTOS. However the RTOS has a custom function for this; the Mem_HeapAlloc() function. This function allocates some memory of the RTOS' made 'heap' . Problem is that it does not have a free function, probably because everything goes into a heap pool . In the RTOS it is also possible to