cancel
Showing results for 
Search instead for 
Did you mean: 

cubemx v4.8 - fatfs

tarzan2
Associate II
Posted on July 01, 2015 at 17:36

Hello,

I used to be happy with fatfs and cubemx (probably a little more with fatfs rather than cubemx).

In 4.8, cubemx include a file called ''fatfs.c'' that cannot be compiled because inexistant. ''fatfs'' may be a directory name but has never been a *.c file name.
2 REPLIES 2
tarzan2
Associate II
Posted on July 01, 2015 at 17:44

I was in the wrong, v4.8 does generates a fatfs.c file. But I had to select ''copy all used libs into project folder''. ''Copy only the necessary files'' does not copy ALL the necessary files.

stm32cube-t
Senior III
Posted on July 17, 2015 at 16:24

Hello,

We do not reproduce your issue.

The file you are looking for is under : Middlewares\Third_Party\FatFs\src\drivers.

Depending on your choice of project settings to copy or to reference the library files, the files are either copied in your project directory or only kept as references, left in your cube repository (see in C:/users/<your username>/STM32Cube/Repository).

Best regards