Re: [fpc-pascal] AVR GetMem/AllocMem

2019-01-26 Thread Ralf Quint
On 1/26/2019 1:29 AM, Dimitrios Chr. Ioannidis via fpc-pascal wrote: 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 have not used any A

Re: [fpc-pascal] AVR GetMem/AllocMem

2019-01-26 Thread Michael Ring
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? Thi

Re: [fpc-pascal] AVR GetMem/AllocMem

2019-01-26 Thread 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

Re: [fpc-pascal] AVR GetMem/AllocMem

2019-01-26 Thread 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. 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 us

[fpc-pascal] AVR GetMem/AllocMem

2019-01-26 Thread 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 ethe