> you know you can build files depending on Kconfig symbols, > right? :) Actually I knew :-) I'm even pondering renaming persistcfg.c to mesh.c and than move all mesh codelets from cmd.c, cmdresp.c, main.c etc into this file. The static inline thingy would then be in mesh.h. Now allmost all mesh stuff would be isolated.