<?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>Soft Reset function</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/87435/soft-reset-function</link><description>Hi, all 
 I need to implement a software reset function please, which API shall I call please? 
 I use v1.9.1 connect SDK and nrf52833. 
 Regards! 
 Ping</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 04 May 2022 08:29:06 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/87435/soft-reset-function" /><item><title>RE: Soft Reset function</title><link>https://devzone.nordicsemi.com/thread/366121?ContentTypeID=1</link><pubDate>Wed, 04 May 2022 08:29:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1bea3b8e-eaca-4c46-9548-2ff4d60ef592</guid><dc:creator>Einarh</dc:creator><description>&lt;p&gt;Yes it seems to be y by default, so you don&amp;#39;t have to set it in prj.conf.&lt;/p&gt;
&lt;p&gt;Good to hear that it worked!&lt;/p&gt;
&lt;p&gt;-Einar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Soft Reset function</title><link>https://devzone.nordicsemi.com/thread/366051?ContentTypeID=1</link><pubDate>Tue, 03 May 2022 15:40:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7de1e82f-0ca3-4b4b-a882-90b5d5ef6044</guid><dc:creator>PingISTL</dc:creator><description>&lt;p&gt;Hi, Eidnar&lt;/p&gt;
&lt;p&gt;Thanks for your reply, yes, I am able to remove it from pri.conf and still compiles and works.&lt;/p&gt;
&lt;p&gt;I tried to add it in without space in between, and it works too, no compiling warning. Sorry, that was my fault.&amp;nbsp;but does it mean it is y be default?&lt;/p&gt;
&lt;p&gt;Thank you!&lt;/p&gt;
&lt;p&gt;Ping&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Soft Reset function</title><link>https://devzone.nordicsemi.com/thread/366047?ContentTypeID=1</link><pubDate>Tue, 03 May 2022 15:30:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b08514ab-00b1-49e7-b6e4-04e646870331</guid><dc:creator>Einarh</dc:creator><description>&lt;p&gt;You were able to call sys_reboot() successfully without including CONFIG_REBOOT in prj.conf?&lt;/p&gt;
&lt;p&gt;Can you see if it compiles if you remove the spaces and write it like &amp;quot;CONFIG_REBOOT=y&amp;quot;?&lt;/p&gt;
&lt;p&gt;-Einar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Soft Reset function</title><link>https://devzone.nordicsemi.com/thread/365944?ContentTypeID=1</link><pubDate>Tue, 03 May 2022 10:49:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3798e757-8261-4416-bd67-c333563ed247</guid><dc:creator>PingISTL</dc:creator><description>&lt;p&gt;Hi, Einar&lt;/p&gt;
&lt;p&gt;I removed&amp;nbsp;CONFIG_REBOOT&amp;nbsp;from pri.conf, and works fine.&lt;/p&gt;
&lt;p&gt;Thank you, just let you know.&lt;/p&gt;
&lt;p&gt;Ping&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Soft Reset function</title><link>https://devzone.nordicsemi.com/thread/365930?ContentTypeID=1</link><pubDate>Tue, 03 May 2022 10:11:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5c80a772-be27-47fc-8546-fecd2348f1f5</guid><dc:creator>PingISTL</dc:creator><description>&lt;p&gt;Hi, Einar&lt;/p&gt;
&lt;p&gt;Thank for your reply, I tried , but it doesn&amp;#39;t compile, it gives me a warning in pri.conf -&amp;nbsp;&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;pre class="ui-code" data-mode="text"&gt;#allow soft reset 
CONFIG_REBOOT = y&lt;/pre&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;&lt;br /&gt;&lt;span style="font-size:75%;"&gt;&lt;em&gt;&amp;quot;D:\WORK\ncs\MyProjects\central_multilink\prj.conf:16: warning: attempt to assign the value &amp;#39; y&amp;#39; to the undefined symbol REBOOT&lt;/em&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:75%;"&gt;&lt;em&gt;error: Aborting due to Kconfig warnings&amp;quot;&lt;/em&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Any idea please?&lt;strong&gt;&lt;em&gt;&amp;nbsp;&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Ping&lt;/em&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Soft Reset function</title><link>https://devzone.nordicsemi.com/thread/365814?ContentTypeID=1</link><pubDate>Mon, 02 May 2022 14:05:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:303802ba-9eca-40f5-895d-7e0e0f8ab27b</guid><dc:creator>Einarh</dc:creator><description>&lt;p&gt;Hello&lt;/p&gt;
&lt;p&gt;If you include &lt;a href="http://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/kconfig/index.html#CONFIG_REBOOT"&gt;CONFIG_REBOOT&lt;/a&gt; in your prj.conf file, and include &lt;a href="https://docs.zephyrproject.org/apidoc/latest/reboot_8h.html"&gt;sys/reboot.h&lt;/a&gt;&amp;nbsp;in your source code, you should be able to use the sys_reboot() API in your application.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Einar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>