cancel
Showing results for 
Search instead for 
Did you mean: 

I have errors when debug and download code

marzouk_najeh92
Associate II
Posted on October 22, 2016 at 14:58

Error[Li005]: no definition for ''USB_Init'' [referenced from C:\Users\success\Desktop\Programme PFE ACCE_GYRO_USB\first _example\Debug\Obj\main.o] 

Error[Li005]: no definition for ''UserToPMABufferCopy'' [referenced from C:\Users\success\Desktop\Programme PFE ACCE_GYRO_USB\first _example\Debug\Obj\main.o] 

Error[Li005]: no definition for ''SetEPTxCount'' [referenced from C:\Users\success\Desktop\Programme PFE ACCE_GYRO_USB\first _example\Debug\Obj\main.o] 

Error[Li005]: no definition for ''L3GD20_TIMEOUT_UserCallback'' [referenced from C:\Users\success\Desktop\Programme PFE ACCE_GYRO_USB\first _example\Debug\Obj\stm32f3_discovery_l3gd20.o] 

Error[Li005]: no definition for ''LSM303DLHC_TIMEOUT_UserCallback'' [referenced from C:\Users\success\Desktop\Programme PFE ACCE_GYRO_USB\first _example\Debug\Obj\stm32f3_discovery_lsm303dlhc.o] 

1 REPLY 1
Posted on October 23, 2016 at 03:08

So doesn't this that large chunks of code that the linker expects to see are missing from the project?

When you #include a file it does not provide code for the functions whose interface it defines. You *still* need to have the file in the project (source or library) that provides the code for the functions.

Review the source files described in the project.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..