cancel
Showing results for 
Search instead for 
Did you mean: 

Library build project in STVD

robertpomeroy9
Associate
Posted on March 17, 2010 at 19:10

Library build project in STVD

1 REPLY 1
mozra272
Associate II
Posted on May 17, 2011 at 15:07

Hi Robert,

You need to customizing your linker input settings:

The input settings interface for the linker allows you to define input sources for the linker such as libraries and vector files, as well as allowing you to define segments in your microcontroller's memory and assign code sections to them. Access this view by selecting

Input

in the

Category

list box.

Customizing linker input settingsAuto segment declaration and section assignment

When the

Auto

option is checked the script link file is automatically generated to the output path. The filename by default is

TargetSName

.lkf

. However, by unchecking the

Auto

option, you can enter the path and filename that you want for the script link.

Note: If you have disabled the automatic generation of the script link, it will not be updated if you make changes to your project, such as removing a source file. If you make such a change you will have to edit the script link manually.

in the last STVD 4.1.4 version the Improvements For Cosmic toolset:

– Enhancement of lkf file management: sections in the lkf file are reserved for STVD,

and are updated even if Auto mode is disabled. Automatic management may be

disabled by removing section delimiters. Custom modifications are allowed in the

lkf outside reserved sections and when the Auto mode is disabled.

– Makes symbolic disassembly work for peripheral registers defined in Cosmic

include files.

For more details refer to the STVD help and to the STVD 4.1.4 release notes

Regards

 

Mozra