2009-04-24 04:14 AM
help: define var. with aboslute addr. and init. value
2011-05-17 06:02 AM
Hello
I use Cosmic, When I define var. with aboslute addr. and init. value, Compiler error... Att. is my source code, Compiler report: #error cpstm8 stm8_interrupt_vector.c:79(69) missing expression How can I fix it? Regards wolver2011-05-17 06:02 AM
2011-05-17 06:02 AM
Hi: _luca
# LINK COMMAND FILE AUTOMATICALLY GENERATED BY STVD7 # SHOULD NOT BE MANUALLY MODIFIED # How can I place ''+seg .iconst -b 0xe0000'' ...? Regards wolver2011-05-17 06:02 AM
Hi Wolver,
You can define the segment e.g. 'const and section 'iconst' in the linker settings of the ST Visual develop. Go to Project/settings/linker => select catergory 'input''. Here by right click on Segment/section name, you can create a new segment 'const' and then create a section 'iconst' under this segment. Then allocate the address to this segment/section. Regards, Jatin2011-05-17 06:02 AM
Hi Jatin
Thank you! Trouble runs away... Regards wolver