Found it https://community.platformio.org/t/a-new-platformio-user-coding-wrong-getting-multiple-definition-first-defined-here-errors