2012-12-20 07:11 PM
I am using COSMIC compiler in STVD. I try to define segment option -ck for all program and constant. I can use Project Settings->Linker->Input->Segment/Section to add option for all .const and .text. But the interrupt vector is not included for this option -ck.
I check the .lkf file generated by STVD, interrupt vector is generated like# Interrupt vectors file - section reserved for STVD#<BEGIN VECTOR_FILE>+seg .const -b 0x8000 -kRelease\stm8_interrupt_vector.o#<END VECTOR_FILE>Is there a way to add more option to the generate script for interrupt vector? I don't see anywhere to add options.ThanksMichael Tien2013-04-24 08:50 AM
Hi Michael,
In your project settings in linker tab in category ''input'', there is a drop down list right of the ''Lkf Script file''. Set this list to ''Custom'' and add the ''-ck'' option in the lkf file manually. Best regards, Stefan2013-06-03 10:54 AM