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

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

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

2,045 次查看
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?
标签 (1)
标记 (1)
0 项奖励
回复
2 回复数

859 次查看
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 项奖励
回复

859 次查看
Veter
Contributor I
Thank you.
I entered service request.
0 项奖励
回复