Skip to main content
Visitor II
March 20, 2009
Question

Vector source file(example.lkf) error

  • March 20, 2009
  • 12 replies
  • 2837 views
Posted on March 20, 2009 at 05:45

Vector source file(example.lkf) error

    This topic has been closed for replies.

    12 replies

    sandeep2Author
    Visitor II
    May 17, 2011
    Posted on May 17, 2011 at 15:02

    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,

    Sandeep

    sandeep2Author
    Visitor II
    May 17, 2011
    Posted on May 17, 2011 at 15:02

    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