Skip to main content
tarzan2
Associate III
July 1, 2015
Question

cubemx v4.8 - fatfs

  • July 1, 2015
  • 2 replies
  • 453 views
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.
    This topic has been closed for replies.

    2 replies

    tarzan2
    tarzan2Author
    Associate III
    July 1, 2015
    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
    ST Employee
    July 17, 2015
    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