[fpc-pascal] AVR GetMem/AllocMem

Dimitrios Chr. Ioannidis d.ioannidis at nephelae.eu
Sat Jan 26 11:58:29 CET 2019


Στις 26/1/2019 12:40 μ.μ., ο Michael Ring έγραψε:
> Did you include the HeapMgr unit? This unit enables heap memory 
> allocation for arm+pic cpu's, hopefully it also works for avr.....
> Am 26.01.19 um 10:29 schrieb Dimitrios Chr. Ioannidis via fpc-pascal:
>> Hi,
>>   AFAIU dynamic allocation memory does not exist for AVR platform ( 
>> tried to use AllocMem, GetMem and the mcu restart it's self. ) .
>> Is there any other way to dynamically allocate memory in AVR ?

   didn't know that ! ( Also I didn't read anything regarding this in 
the wiki )

   A quick test shows that it's working.

   Thx a lot.

   If you've time could you post any other hint / insight you'll think 
it could be handy and is not in the wiki ?



Dimitrios Chr. Ioannidis

More information about the fpc-pascal mailing list