cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F469I-DISCO Missing fatfs.h after using CubeMX to Generate Code

Kneepatch
Senior

I'm missing the FATFS supporting library files after adding SDIO SD card support and FATFS support in the CubeMX code generation tool within STM32CubeIDE.

Kneepatch_1-1734490372665.png

 

Kneepatch_0-1734490318906.png

The funny thing is that those files are present in the project folder, just not in my project's folder structure in STM32CubeIDE.

Kneepatch_2-1734490434741.png

What I am doing wrong here? I was under the impression that the CubeMX tool was supposed to add/link these files to the project automatically.

 

2 REPLIES 2
Souhaib MAZHOUD
ST Employee

Hello @Kneepatch 

Thank you for posting!

Are you using the latest version of CubeMX 6.13.0.

KR, Souhaib


@Kneepatch wrote:

The funny thing is that those files are present in the project folder, just not in my project's folder structure in STM32CubeIDE.


Not quite sure what you mean by that - please show the project structure.

Windows explorer folder tree view would also be useful.

If they are there, does it work if you add them to the CubeIDE project?

(yes, that does still leave the question of why CubeIDE didn't include them properly)