Part Number: CCSTUDIO-C2000
Hello everyone!
Ask about CCS compilation.
When I compiled and released the program, when addressing structural variables in the hex file, the address was shifted backward by two bytes. Under what circumstances will this compilation result be?
A similar example is shown in the following figure: the correct compilation result should be e2af0210, the abnormal compilation result is e2af0212, and the abnormal result is the result of my previous compilation, which is different from the result of the current compilation, and the source code compiled now is exactly the same as the previous code. The CCS version and compiler used are the same. There are no errors in the two compilations.
I want to confirm where the configuration difference will cause such a problem? Does the configuration difference in CCS engineering lead to this situation? The same code can't be compiled to reproduce the previous exception. CCS version: version 19.3.0.00012, compiler version: v20.2.4.lts.
Looking forward to your reply!