Using a TM4C1231H6PZI and CCS ver 6.1.0.00104 with Tivaware 2.1.1.71
I just discovered problem where the compiler is mapping a variable into another variable! There are no warnings or errors from the compiler that this was happening and it took me 2 days to figure it out was going on!
When I declare the big float array Test_Results[] inside the main, it puts the address of another global variable, timer_10uS into element 634 of Test_Results.
When I move the declaration of Test_Results[] outside of main, everything is fine. timer_10uS is always declared outside of main.
What is going on? Why doesn't the compiler/linker tell me somethings wrong? Can I trust this compiler anymore?????????
See Screenshot......