does anyone know if there is there any SAMG55 support in PlatformIO?
I tried to build some simple code and it did build without errors, platformio.ini sample:
framework = arduino
platform = atmelsam
board = adafruit_metro_m0
board_build.mcu = samg55j19b
The binary did nothing, I am not sure if the processor is being initialized properly and there is no pinout to use with Arduino convention.
That won’t change that it still tries to build the Arduino framework with the adafruit_metro_m0 variant which has all the macros indicating that it’s a SAMD21 chip
Along with all the probably wrong information about the chip size and the application offset since the board is expected to have a bootloader
So just setting the .mcu attribute won’t change much, it can’t be free-standing, it needs to have all other correct board information associated with it, as well. See docs.
After that, you’ll run into another problem: The Adafruit core officially only supports SAMD21 and SAMD51 cores, not SAMG55. The core code and libraries probably also expect a core of either those types only. So if you want to get Arduino working, there’s some (much?) porting work to be done.
For feature requests to add a SAMG55 board definition to PlatformIO with possibly mbed-os support, use https://github.com/platformio/platform-atmelsam/issues and link to this thread. If you want some Arduino core to support SAMG55 you’ll either have to open an issue there or provide and use your own ported core.
Thanks for your reply. I found references to the SAMG55 in Arduino but nothing related to a board.
I will attempt to ask for a feature request as you recommend, but also if I figure out how to do it myself I can surely give it a shot and integrate something Arduino compatible based on the code provided by Microchip.