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

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

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

644 Views
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 Kudos
Reply
2 Replies

425 Views
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 Kudos
Reply

425 Views
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