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

912 次查看
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 回复数

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

693 次查看
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