Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2018-11

AVR ATMEGA4808 ATMEGA4809

3 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Dimitrios Chr. Ioannidis

Hi,

  is there a plan to support the new atmega series 4808,4809 in the AVR compiler ?

regards,

Dimitrios Chr. Ioannidis

Reply by email

Christo Crause
to Dimitrios Chr. Ioannidis

I made a quick modification today and it seems doable to add these devices without much change. Compared the code generated for a basic test between modified FPC and avr-gcc with atmega4808 updated from latest update pack and the binaries seem to match quite well. A bit more effort is required to convert the register addresses and bit names from the definition file for the xmega style in the converter I use.

I can share a patch if you want to test the compiler with an actual device or simulator.

On Sat, Nov 3, 2018 at 7:34 PM Dimitrios Chr. Ioannidis via fpc-devel <

Show quoted text 14 lines
wrote: Hi, is there a plan to support the new atmega series 4808,4809 in the AVR compiler ? regards, -- Dimitrios Chr. Ioannidis _______________________________________________ fpc-devel maillist - http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply by email

Christo Crause

On Mon, Nov 5, 2018 at 12:37 AM Dimitrios Chr. Ioannidis <

Show quoted text 11 lines
wrote: Στις 4/11/2018 9:07 μμ, ο Christo Crause έγραψε: <snip> > I can share a patch if you want to test the compiler with an actual > device or simulator. That would be nice. I have the chip ( Microchip was so kind to send me some samples ) so I think that I could do some test after I make a breakout pcb .

Dimitrios,

I've made a fork of fpc on github so that all the changes can be easily checked out in one go: https://github.com/ccrause/freepascal/tree/avr Note that the changes are in the avr branch.

Reply by email