Multiple definition of `EEPROM` issue with my own MockEEPROM library

Sorry, I was being stupid, I put my MockEEPROMClass EEPROM statement in the header file instead of in the cpp file, and then declare and extern MockEEPROMClass EEPROM in the header file. With that, it works. Check my code on lib/MockEEPROM/src · master · Dolf Andringa / aquaman · GitLab to see the full version.

1 Like