[arm-gnu] Big project problems STM32F4 Discovery with G++
Chinmay Nanda
nanda.chinmay at gmail.com
Sun Aug 5 06:15:16 UTC 2012
Dear All,
Greetings !!
I am a newbie to the ARM processors but have worked with micro
controllers in general for quite some time. I recently got my hands on the
STM32F4 Discovery board(the price was the real motivation I would admit
)and started exploring all that I could do with it.
Going through the various resources that I could get my hands on I could
set up the GNU tool chain for the eclipse environment and debug a simple
LED blinking code.
So, I decided to give try out some of the bigger projects such as the audio
player example given in the ST code examples. After putting every single
path on the includes , folder and the related source folders(I followed the
Atollic directory structure) I am getting the following errors.
*"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"*
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.
--
*Regards,*
*c_nanda*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sourcerytools.com/pipermail/arm-gnu/attachments/20120805/3f717907/attachment.html>
More information about the arm-gnu
mailing list