UCOS-II and Dynamic Memory Allocation.

Hello, I have some quires regarding Dynamic Memory Allocation in UCOS-II. 1. Is there any interface/call in UCOS-II which is equivalent to standard malloc and free. 2. What is OSMemGet in UCOS-II.

Thanks, Gopu.S

Reply to
Loading thread data ...

uCOS does not support dynamic memory allocation. It has a block oriented memory feature which includes the OSMemGet function you mention. Before using OSMemGet you must configure and create the memory blocks. See the information in the uCOS-II-RefMan.pdf delivered with the code from Micrium, available on the web site. For more detailed information get a copy of Jean Labrosse's book MicroC/OS-II The Real Time Kernel. About $70 from Amazon, etc.

Validated Software
 Click to see the full signature
Reply to
Not Really Me

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.