Define segment option -ck for interrupt vector using STVD (COSMIC)
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2012-12-20 7:11 PM
Posted on December 21, 2012 at 04:11
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 Tien
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2013-04-24 8:50 AM
Posted on April 24, 2013 at 17:50
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, StefanOptions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2013-06-03 10:54 AM
Posted on June 03, 2013 at 19:54That should work. Thanks.
