cancel
Showing results for 
Search instead for 
Did you mean: 

Audio_playback_and_record

yasintasan
Associate II
Posted on June 15, 2015 at 14:09

i want to build Audio_playback_and_record project for usb library but there are some problems. i downloaded this project (stsw-stm32zip) from

http://www.st.com/web/en/catalog/tools/PF257904#

. i have changeddefined symbols as below. wrote MEDIA_USB_KEY instead ofMEDIA_IntFLASH which was default. 0690X00000603KcQAI.jpg but compiler gives following errors for this setting:

Error[Li005]: no definition for ''USBH_OTG_ISR_Handler'' [referenced from D:\docs\usb\stsw-stm32068\STM32F4-Discovery_FW_V1.1.0\Project\Audio_playback_and_record\EWARM\MEDIA_IntFLASH\ 
Obj\stm32f4xx_it.o] 
Error[Li005]: no definition for ''USB_OTG_BSP_TimerIRQ'' [referenced from D:\docs\usb\stsw-stm32068\STM32F4-Discovery_FW_V1.1.0\Project\Audio_playback_and_record\EWARM\MEDIA_IntFLASH\ 
Obj\stm32f4xx_it.o] 
Error[Li005]: no definition for ''Command_index'' [referenced from D:\docs\usb\stsw-stm32068\STM32F4-Discovery_FW_V1.1.0\Project\Audio_playback_and_record\EWARM\MEDIA_IntFLASH\Obj\ 
stm32f4xx_it.o] 
Error[Li005]: no definition for ''USBH_Init'' [referenced from D:\docs\usb\stsw-stm32068\STM32F4-Discovery_FW_V1.1.0\Project\Audio_playback_and_record\EWARM\MEDIA_IntFLASH\Obj\main.o] 
Error[Li005]: no definition for ''USBH_Process'' [referenced from D:\docs\usb\stsw-stm32068\STM32F4-Discovery_FW_V1.1.0\Project\Audio_playback_and_record\EWARM\MEDIA_IntFLASH\Obj\main.o] 
Error[Li005]: no definition for ''USBH_MSC_cb'' [referenced from D:\docs\usb\stsw-stm32068\STM32F4-Discovery_FW_V1.1.0\Project\Audio_playback_and_record\EWARM\MEDIA_IntFLASH\Obj\main.o] 
Error[Li005]: no definition for ''USR_Callbacks'' [referenced from D:\docs\usb\stsw-stm32068\STM32F4-Discovery_FW_V1.1.0\Project\Audio_playback_and_record\EWARM\MEDIA_IntFLASH\Obj\main.o] 

and my workspace files appearence is like this: 0690X00000603KhQAI.jpg why are some of folders and files shown like this? there is waverecorder.c or usb_bsp.c in my project folder. i cant figure out how to build this project. #audio_playback_and_record #know-your-tools
2 REPLIES 2
Posted on June 15, 2015 at 22:07

Not an IAR user. Suggest you right click (or whatever) check for options/path data for file. Then look at project options, or multi-platform build options, to select file used in this build.

Failing that consider removing the files from the project and re-adding them back in.

Read the documentation for your tools, and discuss with your support contacts.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
yasintasan
Associate II
Posted on June 25, 2015 at 13:22

i have checked options and paths. 

re add the files back but none of them work. 

but i have found the solution by chance.

right click the folder/file that signed with cross then click on options. 

0690X00000605a3QAA.png

then uncheck ''exclude from build''

 0690X00000605ZoQAI.png