Pls check this thread :
It seems to be fixed by Adafruit but not yet integrated into PIO Sam Thanks in advance
Please file an issue/feature request to update Adafruit Core here Issues · platformio/platform-atmelsam · GitHub