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

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

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

1,989件の閲覧回数
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 返答(返信)

803件の閲覧回数
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 件の賞賛
返信

803件の閲覧回数
Veter
Contributor I
Thank you.
I entered service request.
0 件の賞賛
返信