This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Why compile +link needed more rom than realistic final hex space:L6406E/L6407E

The MCU is TI's MSP432P401R,ROM space is 256KB, RAM space is 64KB.
When I set the IROM1 space :256K, My Project can compile and linker sucess, MAP information is as follows:

Total RO Size (Code + RO Data) 252728 ( 246.80kB)
Total RW Size (RW Data + ZI Data) 61152 ( 59.72kB)
Total ROM Size (Code + RO Data + RW Data) 254184 ( 248.23kB)

But , If I Set the IROM1 space :252K, No other changes!! It Will link error!!!(the reseve 4K need other usage)
Error:L6407E: Sections of aggregate size 0xbc0 bytes could not fit into .ANY selector(s).
Not enough information to list image symbols.
Not enough information to list image map.

When set the IROM1 space :256k, I analysed the map files, and hex files, It really only need 248.23KB.

I Can't find the reason, need your urgent help, Thanks very much!