Standard dynamic memory functions free(), malloc()

Post your requests and ideas on the future development of mikroC PRO for PIC.
Post Reply
Author
Message
Stephane32
Posts: 4
Joined: 16 Oct 2009 17:04

Standard dynamic memory functions free(), malloc()

#1 Post by Stephane32 » 05 Nov 2009 18:45

Dear support,

Where are the dynamic memory functions in C for allocate memory
Normally the functions are buildin in the libraries of Standard C but not in MikroC

Can you please added this functions in an update because I'm een licenced user of MikroC 2009 Professional

This functions aren't in the libraries:

free()
malloc()

Thanks for your corperation

User avatar
anikolic
mikroElektronika team
Posts: 1775
Joined: 17 Aug 2009 16:51
Location: Belgrade
Contact:

#2 Post by anikolic » 06 Nov 2009 13:00

Hi,
These functions haven't been implemented in mikroC (PRO) for PIC compiler because of the very complex, non-linear memory organization of PIC16 and PIC18 family microcontrollers, which is very serious restriction that could compromise the integrity of functions for dynamic allocation. For more information on memory banks and how memory is organized, please refer to your PIC's datasheet.

Best regards,
Aleksandar
Web Department Manager

Post Reply

Return to “mikroC PRO for PIC Wish List”