Skip to main content
markus239955_stm1_stmicro_com
Senior
Jul 14, 2017 9:56 PM UTC
Solved

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
This topic has been closed for replies.
FCR
FCRBest answer
ST Employee
Sep 18, 2017 10:33 AM UTC
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

4 replies

ST Technical Moderator
Jul 15, 2017 10:02 PM UTC
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

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks
FCR
ST Employee
Aug 9, 2017 3:53 PM UTC
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
FCRBest answer
ST Employee
Sep 18, 2017 10:33 AM UTC
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

markus239955_stm1_stmicro_com
Senior
Sep 19, 2017 1:33 PM UTC
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.