Hello,
for an old project for a TMS320C203 we switched from CGT v6.60 to v7.0 and found that the optimizations of the compiler are a little bit different.
Indeed, on v6.60 compiler there is no need of the volatile keyword whereas the v7.0 requires it.
The solution could be to deactivate the "-O2" option we use, but for memory space reasons, we can't. The sw must be compiled with "-O2" option.
Since the amount of code to check and modify is quite important, we would prefer to avoid doing such manual update of the software.
Does someone have an idea about an option available on this old compiler to remove the "not volatile" optimization only??
Thanks for all ideas!
Kind regards,
Nicolas.