2009-03-19 09:45 PM
Vector source file(example.lkf) error
2011-05-17 06:02 AM
Hi,
You should include gpio.c in the project and uncomment the line (#define _GPIO (1)) in the conf.h to enable GPIO header file inclusion. let me know if you have any problems Regards mozra2011-05-17 06:02 AM
This is regarding the errors(my first post on the current thread) that arose because of vector source file(example.lkf). To get rid of the errors and to ensure smooth build, the attached files could be used.
1) example_stm8.lkf(updated for STM8) 2) crts.s (C startup for stm8 without any data initialization) Add crts.s to the source files and use the example_stm8.lkf as the Linker input script lkf file. Perform a clean build and you should be up and running. :) Regards, Sandeep2011-05-17 06:02 AM
Quote:
On 17-03-2009 at 14:52, Anonymous wrote: Hi, You should include gpio.c in the project and uncomment the line (#define _GPIO (1)) in the conf.h to enable GPIO header file inclusion. let me know if you have any problems Regards mozra Yes it worked after including gpio.c. Now it builds without any errors. Thanks. -SU