Quantcast
Channel: MSP low-power microcontrollers
Viewing all articles
Browse latest Browse all 62309

Forum Post: RE: Why isn't the linker option of automatically splitting into sections working?

$
0
0
[quote user="A S"]While it is obvious that the code size cannot fit into either flash section separately, shouldn't my syntax of the .cmd file automatically split the .text code segment between the two flash sections?[/quote]The linker can only split input section boundaries. An input section is never split. From your linker .map file the number and size of the input sections which failed to allocate is not reported, since the .map file simply reports: .text.1 0 00000000 0000da4a FAILED TO ALLOCATE I have found that the CCS Memory Allocation view reports the input sections which failed placement. On your project which fails to link, can you open the Memory Allocation view any post the result of expanding the "Failed Allocation" part.

Viewing all articles
Browse latest Browse all 62309

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>