Is there a way to turn off or have a different level of optimization for CLA code and leave it at a different level for all other code?
My algorithm used to be completely on the C28x core (on F28069) and I used to be able to run the code fine with --opt_level=4, then I moved the algorithm to the CLA (coded in C).
After that change, my code runs fine with --opt_level=1 but when I go to level 2, something gets broken.
I tried making all my variables in the CLA volatile, but that didn't seem to help.