Skip to main content
HPATH.1
Associate III
September 7, 2021
Solved

ffconf.h is missing in stm32CubeMX generated code. STM32G0B0RE

  • September 7, 2021
  • 2 replies
  • 1801 views

I created new project using CubeMX and selected USB Host and FATFS. but ffconf.h is missing in the project it is giving error.

I treid to copy from STM32F769 example project but function is missing.

 retFATFS = FATFS_LinkDriver(&FATFS_Driver, FATFSPath); in fatfs.c

this also missing - app_fatfs.h

This topic has been closed for replies.
Best answer by Khouloud ZEMMELI

Hello @HPATH.1​ ,

Thank you for your post,

I cannot reproduce the issue using the latest release, could you please switch to the 6.3.0 version?

If you still face a problem, please share your ioc file to check it :)

Thanks, Khouloud

2 replies

Khouloud ZEMMELI
Khouloud ZEMMELIBest answer
ST Employee
September 8, 2021

Hello @HPATH.1​ ,

Thank you for your post,

I cannot reproduce the issue using the latest release, could you please switch to the 6.3.0 version?

If you still face a problem, please share your ioc file to check it :)

Thanks, Khouloud

HPATH.1
HPATH.1Author
Associate III
September 9, 2021

Thank you @Khouloud ZEMMELI​ It worked. new FATFS directory added to the project. :)

After compiling I got the error "could not find hUSB_Host" in usbh_diskio.c

added #define hUSB_Host hUsbHostFS in usbh_diskio.c that cleared error.

0693W00000DmcVyQAJ.jpg