when i use preprocessor #if 0 ... #endif to cross out a bunch of sentences, then after building the target. I noticed the "data" memory usage increased, why? There is no error in the result.
Another is to put every single function in a different .c file, so you can modify the project file not to link it in. And the winner is .... put the functions in a library, they will only be included if called. Erik