Skip to main content
lazycat1049
Associate III
Dec 11, 2007 12:20 AM UTC
Question

Newbie question

Posted on December 11, 2007 at 01:20

Newbie question

This topic has been closed for replies.

3 replies

sjackson
Associate III
May 17, 2011 7:48 AM UTC
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 III
May 17, 2011 7:48 AM UTC
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

lazycat1049
Associate III
May 17, 2011 7:48 AM UTC
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