Hello, I am trying to compile and run an sdfat_format.ino sketch so I can format the flash memory on a raspberry pi pico. I did a new install of the arduino ide. Installed the libraries needed for the sketch. However, when I try to verify the program throws error codes and will not compile. here is the error message.
C:\Users\Mark\AppData\Local\Arduino15\packages\arduino\hardware\mbed_rp2040\4.0.2\cores\arduino/mbed/platform/include/platform/mbed_retarget.h:211:25: note: previous declaration as
typedef struct DIR_impl DIR;
^~~
I have tried different versions of the ide 1.8.19 and 2.1.1 If you have run into this before, I could sure use some good leads on which way to go on this. thanks in advance. mark z