cancel
Showing results for 
Search instead for 
Did you mean: 

ffconf.h is missing in stm32CubeMX generated code. STM32G0B0RE

HPATH.1
Associate II

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

1 ACCEPTED SOLUTION

Accepted Solutions
Khouloud ZEMMELI
ST Employee

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

View solution in original post

2 REPLIES 2
Khouloud ZEMMELI
ST Employee

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
Associate II

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