cancel
Showing results for 
Search instead for 
Did you mean: 

CubeMX 4.22 does skip fatfs library file during project generation

Posted on July 14, 2017 at 23:56

ccsbcs.c of FatFS 3rd Party Lib is not copied from CubeMX repository to  projects folder which prevents a compilation of the created project. Copying this file manually fixes compilation errors which give misleading messages.

I found this with SW4STM32 + CubeMX 4.22 + STM32F429ZIT + SDIO on Win7.

Best regards,

Markus.

#stm32f429 #cubemx #fatfs-sdio
1 ACCEPTED SOLUTION

Accepted Solutions
FCR
Associate III
Posted on September 18, 2017 at 12:33

Hi Markus

A fix was delivered in the CubeMx 4.22.1 version (released a few days ago).

Using it you will be able to verify if the issue you reported us was finally solved.

Regards,

Fred

View solution in original post

4 REPLIES 4
Imen.D
ST Employee
Posted on July 16, 2017 at 00:02

Hello

Horbach.Markus

,

I will check this issue and report it internally if confirmed.

We will come back to you when we have update.

Regards

Imen

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen
FCR
Associate III
Posted on August 09, 2017 at 17:53

For information, a fix is being implemented, and, if the first (positive) tests are confirmed during the validation phase, it should be available in the next official Mx version.

Furthermore, the issue seems to be linked to the USE_LFN value (not a surprise): with the default value (disabled) in Mx, I cannot reproduce the issue. When it is enabled, the issue is reproduced for SW4STM32 (while it seems ok with IAR and Keil).

Regards

Fred

FCR
Associate III
Posted on September 18, 2017 at 12:33

Hi Markus

A fix was delivered in the CubeMx 4.22.1 version (released a few days ago).

Using it you will be able to verify if the issue you reported us was finally solved.

Regards,

Fred

Posted on September 19, 2017 at 13:33

Hello Fred,

I checked CubeMX4.22.1 with STM32F429i-Disco and STM32F746G-Disco and now FATFS works fine,

the formerly missing file is now copied to the Project.

THX.

Best regards,

Markus.