I am facing the problem when I change MCU from Atmega328p to Atmega328pb.
I using Ubuntu + eclipse + plugin.
In the MCU list Atmega328pb is not listed neither support from avrdude.
You should address that problem on the avrdude mailing list. The eclipse plugin simply supports what avrdude supports. If the ATmega328pb isn't supported by avrdude in the first place, you cannot configure the eclipse plugin to use it.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The plugin also checks the gcc device list (probably with gcc --target) and enables only this devices which are contained in both lists.
It seems, that atmel/microchip "forget" to include the Atmega328pb into this gcc device list even in the 3.61 version, where all the other 328pb files seems to be included (but avr-size still complains about Atmega328pb).
My workaround is to use Sloeber with the popolu boards https://files.pololu.com/arduino/package_pololu_index.json,
OR replace the standard/pins_arduino.h with the one from pololu and replace the iom328p.h in \AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino5\avr\include\avr with the iom328pb.h from the same directory.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
You should address that problem on the avrdude mailing list. The eclipse plugin simply supports what avrdude supports. If the ATmega328pb isn't supported by avrdude in the first place, you cannot configure the eclipse plugin to use it.
To all,
this is not the whole truth.
The plugin also checks the gcc device list (probably with gcc --target) and enables only this devices which are contained in both lists.
It seems, that atmel/microchip "forget" to include the Atmega328pb into this gcc device list even in the 3.61 version, where all the other 328pb files seems to be included (but avr-size still complains about Atmega328pb).
My workaround is to use Sloeber with the popolu boards https://files.pololu.com/arduino/package_pololu_index.json,
OR replace the standard/pins_arduino.h with the one from pololu and replace the iom328p.h in \AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino5\avr\include\avr with the iom328pb.h from the same directory.