[fpc-pascal] AVR GetMem/AllocMem

Michael Ring mail at michael-ring.org
Sat Jan 26 11:40:37 CET 2019


Did you include the HeapMgr unit? This unit enables heap memory 
allocation for arm+pic cpu's, hopefully it also works for avr.....

Michael

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 ?
>
> ( I'm writing a driver for the ENC28J60 and I need to allocate memory 
> on demand for the ethernet packet buffer ).
>
> regards,
>



More information about the fpc-pascal mailing list