Yuri Petriaev

CW6.3 MCF5307 - error declaring sections in source code

Discussion created by Yuri Petriaev on Mar 27, 2007
Latest reply on Apr 2, 2007 by Yuri Petriaev

I have following section declaration in my *.c file: #pragma section CONST ".constdata"

I also have this statement in my *.lcf file:

.flashdata : AT( ADDR(.flashcode) + SIZEOF(.flashcode) )  {... *(.constdata) ...} > sdram

I would expect to see something like this in my *.xMAP file: .constdata      <address> <size> <source>.o

Does any one knows how to declare sections in source code?

I am using CodeWarrior Develoment Studio for ColdFire Version 6.3, Build 14.

My target is MCF5307.

Message Edited by Veter on 2007-03-2704:13 PM

Alban added CW version + core in subject line

Message Edited by Alban on 2007-03-27 11:38 PM