I am using the -O3/-O4, --opt_for_speed, and --auto_inline compiler options, as well as selectively moving some functions to execute from RAM rather than flash on my device through the linker command file. My question is regarding some functions which are relatively large, but infrequently used and very infrequently ran which get in-lined by the compiler using these settings. How do I not make these select few functions not get in-lined but have everything else follow normal rules? I am trying to pack more critical code into the limited RAM space, I would like to explicitly override a couple functions to have them not be in-lined ever.
I think I am looking for the opposite of the FUNC_ALWAYS_INLINE pragma, but I have not come across this yet, does anyone have any good suggestions on what I could do to accomplish what I want with CCS v5.3?