[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: support for atmega328PB?
From: |
Britton Kerin |
Subject: |
Re: support for atmega328PB? |
Date: |
Mon, 14 Sep 2020 11:20:32 -0800 |
On Thu, Sep 10, 2020 at 12:42 PM Joerg Wunsch <j@uriah.heep.sax.de> wrote:
>
> As Britton Kerin wrote:
>
> > I notice this one doesn't show up all in include/avr :(
>
> I'm not sure, perhaps there's already a bug/patch for it?
>
> I started catching up with my AVR stuff. First was AVaRICE (because it
> did not even compile anymore with recent compilers, for a bug that had
> been fixed years ago). Next will be AVRDUDE, then avr-libc.
This is terrific news :)
> > It seems like it's just 328P with an extra serial port, i2c, SPI, some
> > more PWM channels and QTouch.
>
> Another option is to compare existing header files against what
> Microchip delivers in their device packs. I'm not sure whether they
> still use the same old avr-libc copyright header. If so, we could
> integrate it directly, but even if they changed it to something else,
> it might be easy enough top copy, paste & tune our header file from
> 328P.
>
> There are probably a number of #ifdefs in surrounding header files
> where the new device needs to be added then.
I've never looked at device packs, but if there's something you think
I could usefully help with on this effort let me know.
Britton