<?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>Serial LTE Modem fails to build in ncs v1.8.0 without UART hardware flow control</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/83338/serial-lte-modem-fails-to-build-in-ncs-v1-8-0-without-uart-hardware-flow-control</link><description>Hi, 
 we use UART with /delete-property/ hw-flow-control; /delete-property/ rts-pin; /delete-property/ cts-pin; in UART DTS 
 Serial LTE Modem started to fail in build in ncs v1.8.0 
 Problematic code is in https://github.com/nrfconnect/sdk-nrf/blob/main</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 06 Jan 2022 12:25:02 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/83338/serial-lte-modem-fails-to-build-in-ncs-v1-8-0-without-uart-hardware-flow-control" /><item><title>RE: Serial LTE Modem fails to build in ncs v1.8.0 without UART hardware flow control</title><link>https://devzone.nordicsemi.com/thread/346458?ContentTypeID=1</link><pubDate>Thu, 06 Jan 2022 12:25:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cfab2f51-e3a0-4f64-9d1b-e31e3ae54428</guid><dc:creator>hubpav</dc:creator><description>&lt;p&gt;Hi. Perfect. Thanks for the confirmation. We can help with testing before it gets to the release if you tell us the commit, so we can cherry-pick it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Serial LTE Modem fails to build in ncs v1.8.0 without UART hardware flow control</title><link>https://devzone.nordicsemi.com/thread/346443?ContentTypeID=1</link><pubDate>Thu, 06 Jan 2022 11:39:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a3b063fb-e699-4a5f-b7bb-7be154c114cf</guid><dc:creator>pirun lee</dc:creator><description>&lt;p&gt;This is actually configuration problem.&lt;/p&gt;
&lt;p&gt;We assumed that UART HW flow control would be enabled default.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;If UART HW flow control is not necessary, you can ignore the code section as workaround by changing...&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;#if defined(CONFIG_UART_0_NRF_HW_ASYNC_TIMER)

#if defined(CONFIG_UART_2_NRF_HW_ASYNC_TIMER)&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;to&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;#if false&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;We will fix this with DT node checking soon.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Serial LTE Modem fails to build in ncs v1.8.0 without UART hardware flow control</title><link>https://devzone.nordicsemi.com/thread/345992?ContentTypeID=1</link><pubDate>Tue, 04 Jan 2022 21:00:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:91277dcb-c836-4abb-869f-ae3c4115827d</guid><dc:creator>hubpav</dc:creator><description>&lt;p&gt;Hello, I will follow up on Michal&amp;#39;s ticket (as his colleague) with a possible solution but subject to discussion...&lt;/p&gt;
&lt;p&gt;If we delete&amp;nbsp;this definition in our custom-board DTS&amp;nbsp;for UART0 node:&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;pre class="ui-code" data-mode="text"&gt;/delete-property/ hw-flow-control;
/delete-property/ rts-pin;
/delete-property/ cts-pin;&lt;/pre&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;...&amp;nbsp;&lt;/span&gt;&lt;span&gt;and instead put this in there:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;pre class="ui-code" data-mode="text"&gt;rts-pin = &amp;lt;0xffffffff&amp;gt;;
cts-pin = &amp;lt;0xffffffff&amp;gt;;&lt;/pre&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;span&gt;... the build finishes and the SLM application seems to work well. However, we are not sure whether this is a valid approach. I found this inspiration in the&amp;nbsp;NCS tree:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;a href="https://github.com/nrfconnect/sdk-nrf/blob/3edafd5d3f05860962e17263a80d7928fec1bf15/samples/nrf9160/modem_shell/esp_8266_nrf9160ns.overlay#L27-L28"&gt;https://github.com/nrfconnect/sdk-nrf/blob/3edafd5d3f05860962e17263a80d7928fec1bf15/samples/nrf9160/modem_shell/esp_8266_nrf9160ns.overlay#L27-L28&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;So the question is:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Is this approach invalid? If it is, what is the right solution - i.e. isn&amp;#39;t this a configuration problem in the recently released SLM application?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thank you.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>