cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F4 Discovery USB Problem on REC and Playback Demo

rajrahulonline
Associate II
Posted on August 23, 2014 at 07:27

Hi.

I have tried to build a project using the provided source code in Eclipse IDE. I could do simple live recording and play back from Internal Flash. But I got the following errors  when using USB for recording and playback(ST provided demo) .

../src/USB/usb_dcd.c:93:7: error: 'USB_OTG_CORE_HANDLE' has no member named 'dev'

   pdev->dev.device_status = USB_OTG_DEFAULT;

Can any one help me to fix these errors.
1 REPLY 1
Posted on August 23, 2014 at 12:41

Why are you even using this file? The ST example doesn't.

Look, if you insist on using tool chains which are not supported directly, you're going to have to get a lot keener about looking at how other support tools projects are built, by examining project and make files, and perhaps even downloading eval versions of other tool chains if you can't figure out how to read ASCII/XML project descriptions.
Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..