Skip to main content
Visitor II
March 13, 2013
Question

Unable to compile STM32F4 demonstration

  • March 13, 2013
  • 2 replies
  • 903 views
Posted on March 13, 2013 at 21:54

I'm trying to compile the Demonstration sample from ST.com for my STM32F4, using Eclipse CDT and the GNU ARM Eclipse plugin. For more details and the Eclipse project, see 

Simply clone the project, and import the Eclipse project in the projects/demonstration folder, and compile, remember to install

http://gnuarmeclipse.livius.net/blog/

.

I'm currently getting compilation errors:

.../stm32f4-discovery/libraries/stm32_usb_otg_driver/src/usb_hcd.c:95:7: error: 'USB_OTG_CORE_HANDLE' has no member named 'host'

Why am I getting this error?
    This topic has been closed for replies.

    2 replies

    josefAuthor
    Visitor II
    March 24, 2013
    Posted on March 24, 2013 at 17:28

    Woops! Wrong forum, I think I meant to post this in the STM32F4 Discovery forum. Nonetheless, problem has been solved.

    Visitor II
    February 12, 2015
    Posted on February 12, 2015 at 01:10

    Hey,

    I am having the same problem. How did you solve it?

    Thanks