Compiler is optimizing out some `assert` wrapped function calls. This is not production code; it is test code. How do I disable optimization around a section of code?
For example, gcc supports custom optimization for a section of code using pragmas:
#pragma GCC push_options
#pragma GCC optimize ("O0")
your code
#pragma GCC pop_options
Is there something similar available in Code Composer Studio for MSP430?