Skip to main content
Visitor II
February 27, 2012
Question

Output a library

  • February 27, 2012
  • 4 replies
  • 858 views
Posted on February 27, 2012 at 17:05

Hi,

I'm using ST Visual Develop 4.3.0 to write code for an STM8L. Is it possible to set-up a project so that its output is a library rather than a hex file? I've got driver code that I'd like to use in a different project.

 

Thanks,

Ben
    This topic has been closed for replies.

    4 replies

    Visitor II
    February 29, 2012
    Posted on February 29, 2012 at 12:02

    Hello,

    it should be possible, but it depends on what toolchain you are using.

    Regards.

    Visitor II
    March 1, 2012
    Posted on March 01, 2012 at 17:31

    I'm using the Cosmic STM8 Compiler (STM8 32K Compiler 4.3.6).

    Visitor II
    March 1, 2012
    Posted on March 01, 2012 at 21:09

    you can use the clib tool that is installed together with the compiler (more details in the user manual).

    I don't think there's a STVD menu for this tool (I might be wrong though..), but you can call it as a post build tool.

    Hope it helps.

    Luca

    Visitor II
    March 2, 2012
    Posted on March 02, 2012 at 12:24

    Ok thanks, I'll look into that.