nine sun

about RW data segment in K64 Linker script file

Discussion created by nine sun on Aug 23, 2016
Latest reply on Aug 24, 2016 by nine sun


      I have question about .bss segment in file MK64FN1M0xxx12_flash.ld, The R/W memory data area was divided among m_data and m_data_2.  but these two segment is continuous. why not  not take it as whole segment? if it can be taken as union segment. Then all data are use such memory area. for example. the .bss segment in my program is too large, i had to assign the .bss segment to m_data_2. Then some memory of m_data are to be wasted. Is there any reason to divided into two separated segment?