<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Difference between console and shell</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/106494/difference-between-console-and-shell</link><description>It seems like you can enable the console and shell separately. 
 What is the difference? I find much more information on the shell than the console. 
 
 Thanks!</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 12 Dec 2023 12:10:32 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/106494/difference-between-console-and-shell" /><item><title>RE: Difference between console and shell</title><link>https://devzone.nordicsemi.com/thread/459904?ContentTypeID=1</link><pubDate>Tue, 12 Dec 2023 12:10:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dea448ac-78a5-48c0-8fb0-c74dd1d112d4</guid><dc:creator>Naeem Maroof</dc:creator><description>&lt;p&gt;Hello&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;You can read more about console and shell in the general sense here:&amp;nbsp;&lt;a href="https://medium.com/@Abhishek_kumar_/console-vs-terminal-vs-shell-difference-betweeen-them-b9acd3270dae"&gt;Console vs Shell&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Within zephyr, there are samples for the &lt;a href="https://docs.zephyrproject.org/3.2.0/samples/subsys/console/console.html"&gt;Console subsystem&lt;/a&gt; and for the &lt;a href="https://docs.zephyrproject.org/3.2.0/samples/subsys/shell/fs/README.html"&gt;Shell subsystem&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Repos for the console and shell code is present here:&amp;nbsp;&lt;a href="https://github.com/zephyrproject-rtos/zephyr/tree/main/subsys/console"&gt;Console&lt;/a&gt;&amp;nbsp; &amp;nbsp;&lt;a href="https://github.com/zephyrproject-rtos/zephyr/tree/main/subsys/shell"&gt;Shell&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The config CONFIG_CONSOLE would allow the console drivers to be included, and the config CONFIG_SHELL would enable shell&lt;/p&gt;
&lt;p&gt;Usually, the console would be for displaying/logging purposes, and shell could be used for commands and interaction along with logging.&lt;/p&gt;
&lt;p&gt;The shell module would allow you to create and handle user-defined command set. It supports features like:&lt;/p&gt;
&lt;p&gt;multiple instances, advanced logging, static and dynamic commands etc.&lt;/p&gt;
&lt;p&gt;Zephyr shell module is described here:&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/services/shell/index.html"&gt;Shell&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Regards,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Naeem&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>