Quantcast
Channel: MSP low-power microcontroller forum - Recent Threads
Viewing all articles
Browse latest Browse all 22054

CCS/MSP430FR2111: Controlling Global Variable Initialization

$
0
0

Part Number:MSP430FR2111

Tool/software: Code Composer Studio

I tried to optimizer code size, by reworking my code as described in slaa801.

I defined linker option --zero-init=off and moved all initializations of global variables to the main function.

However the code size is not shrinking and in the .map file, section .txt ,the functions from the RTS library remain unchanged.

Do you have any suggestions what could be the issue ?


Viewing all articles
Browse latest Browse all 22054

Trending Articles



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