Skip to main content
markus239955_stm1_stmicro_com
Senior
July 14, 2017
Solved

CubeMX 4.22 does skip fatfs library file during project generation

  • July 14, 2017
  • 3 replies
  • 1265 views
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.
Best answer by FCR
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

3 replies

Technical Moderator
July 15, 2017
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"".ThanksImen"
FCR
ST Employee
August 9, 2017
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
FCRAnswer
ST Employee
September 18, 2017
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
September 19, 2017
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.