This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS320F2800137: global variable

Part Number: TMS320F2800137


Tool/software:

In ccs6, when the global variable is not initialized, see that the value is random.  is ccs12 processed now? Not a random value? 

  • Hi Zoey,

    I believe this would be dependent on the compiler version rather than CCS. Which version are you using? It's typically not good practice to leave global variables initialized. They should be initialized to some defined value so that they can be determined at future points in the code

    Best Regards,

    Delaney