Use search on fpc-devel + fpc-pascal lists and look for embedded/arm/avr
topics, they are often a goldmine of knowledge....
Michael
Am 26.01.19 um 11:58 schrieb Dimitrios Chr. Ioannidis via fpc-pascal:
Hi,
Στις 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 ?
regards,
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal