<?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>Strange ARCH_HAS_STACK_PROTECTION behavior</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/104212/strange-arch_has_stack_protection-behavior</link><description>I&amp;#39;m developing custom board based on nrf52833. After creating new board via nRF connect extension I tried to enable FOTA. And got next warning. 
 
 But if I try to enable HW_STACK_PROTECTION via Kconfig gui it says &amp;quot;Direct Dependencies: (=y)&amp;quot;. 
 
 This</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 27 Sep 2023 17:34:47 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/104212/strange-arch_has_stack_protection-behavior" /><item><title>RE: Strange ARCH_HAS_STACK_PROTECTION behavior</title><link>https://devzone.nordicsemi.com/thread/448022?ContentTypeID=1</link><pubDate>Wed, 27 Sep 2023 17:34:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:701a7274-2bed-499a-a119-bf9dbcac2983</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;In this case, I think the warning for&amp;nbsp;UART_NRFX&amp;nbsp; and&amp;nbsp;UART_CONSOLE causes the build error if you use the default custom board files which don&amp;#39;t include UART. You can compare the&amp;nbsp;&lt;span&gt;board files of the custom board and &lt;a href="https://github.com/nrfconnect/sdk-zephyr/tree/main/boards/arm/nrf52833dk_nrf52833"&gt;nRF52833DK&lt;/a&gt;.&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;warning: UART_NRFX (defined at drivers/serial/Kconfig.nrfx:6) has direct dependencies (DT_HAS_NORDIC_NRF_UART_ENABLED || DT_HAS_NORDIC_NRF_UARTE_ENABLED) &amp;amp;&amp;amp; SERIAL with value n, but is currently being y-selected by the following symbols:
 - SECURE_BOOT_DEBUG_UART (defined at /home/yura/ncs/v2.4.2/nrf/subsys/bootloader/Kconfig:222), with value y, direct dependencies &amp;lt;choice SECURE_BOOT_DEBUG_BACKEND&amp;gt; (value: y), and select condition &amp;lt;choice SECURE_BOOT_DEBUG_BACKEND&amp;gt; (value: y)

warning: UART_CONSOLE (defined at drivers/console/Kconfig:43) has direct dependencies SERIAL &amp;amp;&amp;amp; SERIAL_HAS_DRIVER &amp;amp;&amp;amp; CONSOLE with value n, but is currently being y-selected by the following symbols:
 - SECURE_BOOT_DEBUG_UART (defined at /home/yura/ncs/v2.4.2/nrf/subsys/bootloader/Kconfig:222), with value y, direct dependencies &amp;lt;choice SECURE_BOOT_DEBUG_BACKEND&amp;gt; (value: y), and select condition &amp;lt;choice SECURE_BOOT_DEBUG_BACKEND&amp;gt; (value: y)
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Even using nRF52833DK to build with your configs, it would get the HW_STACK_PROTECTION warning. However, it would not cause the build to fail.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>