Support for atmega328pb

Hi, is there a way to get support for the atmega328pb (The variant of the atmega328p that has support for dual UART / SPI / I2C) ?

To get support for what? Arduino framework? Take a look at platform-atmelavr/examples/native-blink at develop · platformio/platform-atmelavr · GitHub and
platform-atmelavr/examples/native-blink/platformio.ini at develop · platformio/platform-atmelavr · GitHub

Yeah, I tried that but I get:
GCC
error
avr-g++: error: unrecognized argument in option '-mmcu=atmega328pb’
PlatformIO: BuildFile 1Project 11 Issuesrc/main.cpp1:1
LFUTF-8C+++111 update

Looks like current toolchain doesn’t support this MCU. However, I’ve just found this repo. Try to replace ~/.platformio/packages/toolchain-atmelavr` with Atmel or Arduino toolchain 4.9.2. Please report here.

Yes @ivankravets that seems to fix it!

Any solution to this?

We have related issue

If you need quick implementation, please contact with http://pioplus.com

Shouldn’t the way to replace the toolchain-avr work though? At least it did before and no it does not. Did you change anything in regards to the toolchain structure?

See my comment here
https://github.com/platformio/platform-atmelavr/issues/7#issuecomment-257180403