2007-12-10 04:20 PM
2011-05-17 12:48 AM
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!! Lazycatnull2011-05-17 12:48 AM
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.
2011-05-17 12:48 AM
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