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.
Any solution to this?
We have related issue
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?