Can't compile the examples of SDfat on Arduino Nano Ble Sense

Hi all,

I am trying to log sensor data using the Nano Ble Sense to analyze later. I decided to use an SD card to log the data. I downloaded the SDfat library and tried to compile the example, but I get a compilation error about a re-definition of a struct stat. The exact error is:

mbed_retarget.h:500:8: note: previous definition of ‘struct stat’
struct stat {

This error does not happen if I choose any other arduino board. I tried both versions V1 and V2 of the SDfat library. I would appreciate help into solving this issue or managing to log sensor data in any other way using the Ble Sense.

Is this problem solved? I have the same problem using an Arduino Nano 22 BLE.