cancel
Showing results for 
Search instead for 
Did you mean: 

Output a library

benwalpole9
Associate II
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
4 REPLIES 4
luca239955_stm1_st
Senior II
Posted on February 29, 2012 at 12:02

Hello,

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

Regards.

benwalpole9
Associate II
Posted on March 01, 2012 at 17:31

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

luca239955_stm1_st
Senior II
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

benwalpole9
Associate II
Posted on March 02, 2012 at 12:24

Ok thanks, I'll look into that.