2010-03-17 11:10 AM
Library build project in STVD
2011-05-17 06:07 AM
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 selectingInput
in theCategory
list box. Customizing linker input settingsAuto segment declaration and section assignmentWhen the
Auto
option is checked the script link file is automatically generated to the output path. The filename by default isTargetSName
.lkf
. However, by unchecking theAuto
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