Re: [fpc-devel] ENC28J60 Ethernet Controller AVR/ARM Driver

2019-06-03 Thread Dimitrios Chr. Ioannidis via fpc-devel
Hi Michael, On 2019-06-02 17:38, Michael Ring wrote: My 10 Cents on 'Embedded friendlyness': < snip > I appreciate very much that you shared your experience and opinion. Certainly food for thought ! Thank you very much for your time writing this ! regards, -- Dimitrios Chr. Ioannidis ___

Re: [fpc-devel] ENC28J60 Ethernet Controller AVR/ARM Driver

2019-06-02 Thread Michael Ring
My 10 Cents on 'Embedded friendlyness': Objects and simple functions/procedures do not differ much in flash/memory usage as long as you do not use constructors/destructors. Calling your first constuctor adds arround 750 bytes of extra code (on avr platform). As those avr devices can have very

[fpc-devel] ENC28J60 Ethernet Controller AVR/ARM Driver

2019-06-01 Thread Dimitrios Chr. Ioannidis via fpc-devel
Hi,   I started to write a driver ( https://github.com/dioannidis/fp_ethernet_enc28j60.git ) for this chip ( ENC28J60 Ethernet Controller ) first for the AVR platform, ( heavily inspired from the UIPEthernet library ( https://github.com/UIPEthernet/UIPEthernet.git )) and I want to ask the co