Loading...
 
Skip to main content

System Workbench for STM32


USB CDC for STM32F072B Discovery Board

Hi,
I've just started using the OpenSTM32 environment and would like to run the Demonstration program provided in the STM32F072B-Discovery firmware example. However, I cant seem to get off the ground, as the compiler can't even find the file usbd_hid_core.h.
Has anybody managed to run this Demonstration program on the STMF072B Discovery Board in this environment?

Cheers

you may be missing the path to your include files. You can manually add it by going to Project->Properties, select C/C++Build->Settings. Then on the folder menu that opens click on MCU GCC Compiler->Includes. You'll see a list of the locations it looks for include files. Add a link to the directory that contains the header files you need.