<?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>Call to SystemInit() required?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/85566/call-to-systeminit-required</link><description>Hi, 
 I&amp;#39;ve just returned to working on an nRF52811-based project after a year so I&amp;#39;m a little rusty, and I&amp;#39;m wondering if it is necessary to explicitly call SystemInit() (in system_nrf52811.c) in my main file? I&amp;#39;ve not seen this done anywhere in the examples</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 08 Mar 2022 14:34:34 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/85566/call-to-systeminit-required" /><item><title>RE: Call to SystemInit() required?</title><link>https://devzone.nordicsemi.com/thread/356933?ContentTypeID=1</link><pubDate>Tue, 08 Mar 2022 14:34:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:39b28ad3-2011-423e-b79a-f425d99f17a8</guid><dc:creator>Pete W</dc:creator><description>&lt;p&gt;Ah, so it&amp;#39;s called from inside the startup .s file. Thanks for the reply Vidar. I&amp;#39;m using Eclipse with GCC but I can see the&amp;nbsp;gcc_startup_nrf52811.S file in my makefile. And if I comment out the system_nrf52811.c file I get a compile error (can&amp;#39;t find SystemInit() ), as expected.&lt;/p&gt;
&lt;p&gt;Thanks again.&lt;/p&gt;
&lt;p&gt;Pete&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Call to SystemInit() required?</title><link>https://devzone.nordicsemi.com/thread/356906?ContentTypeID=1</link><pubDate>Tue, 08 Mar 2022 13:31:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c4c684be-a9e8-46ad-af98-ac5affcdbbe7</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;SystemInit() should get called by your startup code before reaching main(). The call is made here if you use SES and the SDK provided startup files:&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1646746255418v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Vidar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>