cancel
Showing results for 
Search instead for 
Did you mean: 

LSM303dhlc stm32

svarog995
Associate II
Posted on July 26, 2013 at 22:06

Hi! please help to solve the problem. I use a compass and a compile-time compiler gives me the following:

Error[Li005]: no definition for ''SYSCFG_EXTILineConfig'' [referenced from C:\Users\Ëåâàí\ 

Error[Li005]: no definition for ''EXTI_Init'' [referenced from C:\Users\Ëåâàí\Desktop\new_dron\ 

What to do? Thanx!
2 REPLIES 2
Posted on July 27, 2013 at 01:13

Likely because you've not constructed the project correctly. You'll need to #include ''stm32fxxx.h'', and make sure then Include paths point to those for the libraries.

Review the project templates for IAR/EWARM for your board and library
Tips, buy me a coffee, or three.. PayPal Venmo Up vote any posts that you find helpful, it shows what's working..
svarog995
Associate II
Posted on July 27, 2013 at 08:45

I check all the way for sure! All hooked up wrong! Completely copied the design of the examples and just did their friendly names for the compass function. I just checked everything, all the way true, where is the mistake?

1) I include #include ''stm32f3_discovery_lsm303dlhc.h''

2) In IAR I Write path $PROJ_DIR$\Utilities\STM32F3_Discovery

3) I using USE_STDPERIPH_DRIVER