Dear Maximilian,
Thank you for your time and dedication. I did not manage to work around the issue with first uploading it to an Arduino but ‘‘platform = GitHub - maxgerhardt/platform-atmelmegaavr: Atmel megaAVR: development platform for PlatformIO’’ SOLVED my issue! Thank you very much for your help!
Best Regards,
Boyko