cancel
Showing results for 
Search instead for 
Did you mean: 

Newbie question

lazycat1049
Associate II
Posted on December 11, 2007 at 01:20

Newbie question

3 REPLIES 3
lazycat1049
Associate II
Posted on May 17, 2011 at 09:48

Hello,

I have just started on STr9 and using the example project on a HITOP5. I included TIM function to create PWM function. I also added TIM.h into the library.h.

However i keep getting this

''

main.c:164: undefined reference to `TIM_DeInit'

Source/main.c:174: undefined reference to `TIM_Init'

''

But i thought i included the library already??

THanks in advance for any help!!

Lazycatnull

sjackson
Associate II
Posted on May 17, 2011 at 09:48

You should have a file called 91x_conf.h somewhere in your project directory tree. Open it up and make sure #define _TIM isn't commented out.

lazycat1049
Associate II
Posted on May 17, 2011 at 09:48

Hello Jackson,

Thanx for ur help!

but i checked already. The TIM in the config file is not commented. Is it something to do with the complier?

Thanks

Lazycat