[arm-gnu] Big project problems STM32F4 Discovery with G++

Chinmay Nanda nanda.chinmay at gmail.com
Tue Aug 7 00:38:07 UTC 2012


Hello Spencer,
                      Many thanks for your reply. I am trying to build a
custom opensource tool chain , I could get the atollic tool chain to work.
without much effort. But, it has a code limitation of 32K , that I cannot
live with at the moment.
So I searched on the internet and could come up with the following option.
Project details:
Board: STM32F4 Discovery
IDE: Eclipse Indigo
Compiler: Code sourcery G++ Lite
Debugger: Atollic
I could run the LED blinking example but was facing the problem that I
mentioned for the sample wave project. So, that's the long story short..
I may sound dumb but, what do you mean by setting up the usb libraries
correctly, do you wnat me to edit the libraries, or some header file ? I
could try the latter, but dont have much expertise with the former..




On Mon, Aug 6, 2012 at 12:09 PM, Spencer Oliver <spen at spen-soft.co.uk>wrote:

> On 5 August 2012 07:15, Chinmay Nanda <nanda.chinmay at gmail.com> wrote:
> >
> >
> "D:/eclipse_indigo/stm32f4discovery_fw/STM32F4-Discovery_FW_V1.1.0/Project/Audio_playback_and_record/inc/usb_conf.h:139:6:
> > error: #error "USB_OTG_HS_CORE or USB_OTG_FS_CORE should be defined"
> >
> D:/eclipse_indigo/stm32f4discovery_fw/STM32F4-Discovery_FW_V1.1.0/Project/Audio_playback_and_record/inc/usb_conf.h:152:6:
> > error: #error "USE_USB_OTG_HS or USE_USB_OTG_FS should be defined"
> > cs-make: *** [temp_folder/usb_bsp.o] Error 1"
> >
>
> By looking at the above the error it is quite self explanatory - you
> need to setup the st usb libs correctly.
>
> > While this may seem as simple problems related to the path/symbols  not
> > being included, that does not seem to be the case.
> > Kindly point me in the right direction.
> > --
>
> As you are using gcc included with Atollic, i would guess
> http://www.atollic.com/
>
> Spen
>



-- 
*Regards,*
*Chinmay Nanda*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sourcerytools.com/pipermail/arm-gnu/attachments/20120806/69798ef1/attachment.html>


More information about the arm-gnu mailing list