Originally published at: Using Snippets in Zephyr: a Shorthand for Changing Build Configuration - The Golioth Developer Blog
Zephyr snippets helps developers extend the capabilities of their device firmware with simple command line controls. This post shows how to add logging to an application, but only target it at debug images and only in the application portion of a firmware image.