AnsweredAssumed Answered

CubeMX v4.14 USB Host Problem

Question asked by trukhin.aleksandr on Apr 4, 2016
Latest reply on Apr 12, 2016 by STM32Cube-T
Hello. I use STM32F407VET6 device.
I try to use USB Host (Mass Storege Host Class). Project (for IAR) generate correctly.
I try to compile for C++ and have ( Error[Pe067]: expected a "}") multiple errors. 

I use frimeware package for family STM32F4 v 1.9.0 / v 1.11.0

So i noticed. In file usbh_conf.h mising closing braket for extern "C" 

There is 
#ifdef __cplusplus
 extern "C" {
#endif

But no 
#ifdef __cplusplus
 }
#endif

Fix it please :)

P.S. I'm sorry if this issue already known :)





Outcomes