<?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>Shell - getting started</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/85121/shell---getting-started</link><description>I&amp;#39;m using Visual Studio 1.7.1 on Windows 10 machine. With an nrf916DK. 
 I&amp;#39;m trying to learn about the shell and all seems to be working fine, based on what I&amp;#39;ve found in the Zephyr docs. But I need a little help with the high-level stuff. 
 I&amp;#39;ve got</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 25 Feb 2022 12:45:12 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/85121/shell---getting-started" /><item><title>RE: Shell - getting started</title><link>https://devzone.nordicsemi.com/thread/355025?ContentTypeID=1</link><pubDate>Fri, 25 Feb 2022 12:45:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f5381a74-5683-4d18-86c0-fde017957ddd</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;UART0 is used by default. You can use an overlay to specify another&amp;nbsp;UART instance&amp;nbsp;with &lt;a href="https://docs.zephyrproject.org/latest/reference/devicetree/api.html#devicetree-chosen-nodes"&gt;chosen&lt;/a&gt; if you want to use another instance (see an example of that in &lt;a href="https://github.com/nrfconnect/sdk-zephyr/blob/main/samples/subsys/shell/shell_module/usb.overlay"&gt;usb.overlay&lt;/a&gt; the Shell sample, though here USB is&amp;nbsp;specified&amp;nbsp; instead of a different UART instance). You can refer to &lt;a href="https://github.com/nrfconnect/sdk-zephyr/blob/main/samples/subsys/shell/shell_module/overlay-usb.conf"&gt;overlay-usb.conf&lt;/a&gt; from the same sample to see how you can specify another transport.&lt;/p&gt;
&lt;p&gt;Regarding default configurations that comes from the Kconfig files that define the configurations, for instance backends comes from&amp;nbsp;zephyr\subsys\shell\backends\Kconfig.backends. There you can see for instance &lt;a href="https://github.com/nrfconnect/sdk-zephyr/blob/e0b8c6a30c7831600c52cabf34898e8f9fd03958/subsys/shell/backends/Kconfig.backends#L17"&gt;SHELL_BACKEND_SERIAL&lt;/a&gt;&amp;nbsp;use the device tree (if present). And for the nRF9160 DK this ends up in &lt;a href="https://github.com/nrfconnect/sdk-zephyr/blob/e0b8c6a30c7831600c52cabf34898e8f9fd03958/boards/arm/nrf9160dk_nrf9160/nrf9160dk_nrf9160_common.dts#L13"&gt;zephyr\boards\arm\nrf9160dk_nrf9160\nrf9160dk_nrf9160_common.dts&lt;/a&gt;&amp;nbsp;where that is specified to uart0. To change that use an overlay as explained above.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>