Tool/software: TI C/C++ Compiler
Hey guys and gals,
I'm developing on the C674x side of the AWR1642, and I require a lot of constants that are based trig transcendental functions. During my first pass, it seemed that the compiler was not simplifying the trig constants which I would normally expect out of a compiler.
In response I started working with a handful of Template Functions which should make good enough approximations (Taylor Series of depth 8-10), however, it seems that I'm hitting the 512 depth limit when I recurse through my array. I've seen a few posts for flags like --pending_instantiations=0 and --static_template_instantiation which should suffice. However, when I add these flags, I run into an issue where the C source files, which comprise the majority of my project, refuse to compile.
Is there a way to specify that my C++ files use the --pending_instantiations=0 or --static_template_instantiation flags, then link to the remainder of my C files?
I'm currently using Code Composer Studio Version: 7.3.0.00019