I have imported an arduino project into PlatformIO that successfully compiled under Arduino. I cannot successfully compile it under PlatformIO because there are two incompatible typedefs for FILE;
- typedef __FILE FILE; (In C:/Users/User/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/newlib/wchar.h:52:16)
- typedef struct __file FILE; (In C:/Users/User/Documents/Arduino/libraries/stdio/src/stdio.h:275:23)
How can I disentangle the relevant libraries.