Error in standard .h file
Hi
I have a problem concerning compiling my STM32L project. If i use an example from ST (since I'm using STM32L-Discovery board) VirtualComport_Loopback everything compiles without a problem (and the program functions as well). But when I try to implement that function (CDC USB communication) into my existing project, I get the Error: &sharp40: expected an identifier and error: &sharp65: expected a '';'' that refer to usb_type.h include which is a part of STM32_USB-FS-Device_Lib_V4.0.0. It is not altered in any way from the one I use with ST example. I've added all .h files that are inclued in the example into the project and I can't understand this...can some .h files be incompatible or what?
I know this is probably more of a Keil thing, but noone seems to have an idea in their forum...Thank you
#know-your-tools #stm32_usb-fs-device_lib_v4.0.0