Adding data to sdram does not increase it's size.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Adding data to sdram does not increase it's size.

1,699 Views
Veter
Contributor I
I am using CW for ColdFire version 6.4
My target is MCF5307.
 
I have a section:
.flashdata:
{
...
} > sdram
 
and
.data:
{
*(.data)
} >> sdram
 
When I read SIZEOF(sdram) I get size of flashdata only. Can any one suggest why .data section is not included into sdram and what command should I use for that?
Labels (1)
0 Kudos
Reply
2 Replies

513 Views
CrasyCat
Specialist III
Hello
 
It looks like it is an issue in the Linker.
 
Can you please submit a service request around that.
Click here to submit a service request.
 
In the mean time just define a constant as SIZEOF(.flashdata) + SIZEOF (.data)
 
CrasyCat
0 Kudos
Reply

513 Views
Veter
Contributor I
Thank you.
I entered service request.
0 Kudos
Reply