Quantcast
Channel: MSP low-power microcontrollers
Viewing all articles
Browse latest Browse all 66738

Forum Post: How to link an unused function in C with CCSv6 and cl430 compiler

$
0
0
Hello all! I am working a project in CCS_V6, with cl430 as compiler and MSP430F5438A I'm looking for an instruction which enable to me to link an unused function. In fact, I need to use the code of my function without calling it. I've ever tried something like that by calling directly my function: #ifndef => it's not good for the precompilation #pragma FUNC_EXT_CALLED(my_function) => I thought it would be useful, but it doesn't work as well Create an impossible condition in which I call my function => not good according to me So, does anyone would have an idea or would have ever done something like that ? Regards, Bertrand

Viewing all articles
Browse latest Browse all 66738

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>