avr-libc-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avr-libc-dev] [bug #54652] Missing support for ATmega328PB


From: anonymous
Subject: [avr-libc-dev] [bug #54652] Missing support for ATmega328PB
Date: Wed, 21 Nov 2018 22:31:33 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0

Follow-up Comment #1, bug #54652 (project avr-libc):

Thanks Paul for getting this started.

I've attached a new patch (add_m328pb_to_svn_r2548.diff) that can be applied
to the now-current (rev 2548) svn trunk and which will add support for the
atmega328pb.  This includes edits to various makefiles and scripts so that
support gets built in, plus two critical files: (1) atmega328pb.S which I
generated using the existing devtools/ioreg.pl against the ATmega328PB.atdf
XML file provided by Atmel in the now-current ATmega_DFP.1.2.272.atpack that I
retrieved from http://packs.download.atmel.com/; and (2) iom328pb.h which I
pulled from this atpack as well.  One therefore need not use the
Atmel-distributed binary copies of crtatmega328pb.o and libatmega328pb.a

It seems to work for me, but better support for this chip can/should be added,
e.g. util/twi.h assumes only a single TWI module exists.


(file #45510)
    _______________________________________________________

Additional Item Attachment:

File name: add_m328pb_to_svn_r2548.diff   Size:178 KB


    _______________________________________________________

Reply to this item at:

  <https://savannah.nongnu.org/bugs/?54652>

_______________________________________________
  Message sent via Savannah
  https://savannah.nongnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]