MQX 3.8.1 twrk60n512 intflash.lcf file has .bss and .data both in .main_application_data

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

MQX 3.8.1 twrk60n512 intflash.lcf file has .bss and .data both in .main_application_data

493件の閲覧回数
David_Wu
Contributor III

if you look at the file - MQX 3.8.1 twrk60n512 intflash.lcf file, it  has .bss and .data both in .main_application_data - is this by mistake or on purpose - at least this is not consistant with other targets - and seems wrong. this makes the image unexpected larger because it includes uninitilized data and is useless(at least to me).

0 件の賞賛
2 返答(返信)

274件の閲覧回数
BielikM
Contributor III

Hi David,

You are right about this linker command file. Now is create new section for bss in the same way as in other platform. Thank you for your repor. This fix will be available in MQX 4.0.0 release.

Regards,

Bielik Martin

0 件の賞賛

274件の閲覧回数
c0170
Senior Contributor III

Hello david_wu,

 

I am going to find out why they are put into main_application_data.

I will let you know the outcome.

 

Regards,

MartinK