PlatformIO Community

ESP32 with I2Cdevlib

Has anyone actually managed to make ESP32 work with I2Cdevlib and MPU6050?
Because i really need help and NOTHING works, and the problem is just with esp32 and files, because my arduino uno works perfectly fine.
With esp32, first there is the #inclune <avg/pmspace.h> problem, and when that is fixed, there is the min problem, and when i could fix that (it was only one time, and now i can’t even solve that anymore) the clock just simply is stuck and doesn’t run, even though i searched a lot and tried a lot of things.