This repository was archived by the owner on Jan 3, 2023. It is now read-only.

Description
This is more of an enhancement suggestion for discussion purposes.
I was thinking we could create a define like this, and all diagnostic printfs could be wrapped with it. This would conserve bytes. For example:
#if defined(CONFIG_MRAA_DIAGNOSTICS)
printf("Something really bad happened that you will want to know about\n");
#endif
Then if someone (like me) is seeing failures, I could just set that in my prj.conf file and watch the console. Those diagnostics are handy when something is failing and you do not know what it is, but eat up space that might not be needed when development of your application is over.
When not needed, it would save many bytes of text. Just a thought.