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

Spencer Oliver spen at spen-soft.co.uk
Mon Aug 6 16:09:33 UTC 2012


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



More information about the arm-gnu mailing list