<?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>Zephyr 3.4.99: main function conflicts with one in MCUboot</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/111257/zephyr-3-4-99-main-function-conflicts-with-one-in-mcuboot</link><description>Hello, 
 I &amp;#39;m updating from Zephyr 3 .2.99 to Zephyr 3 . 4.99 . 
 I attempted to add a main() function to my application . (Heretofore I have not been using a main() function , just spawning threads . ) 
 I &amp;#39;m using MCUboot . 
 I got this build failure</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 21 May 2024 13:32:28 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/111257/zephyr-3-4-99-main-function-conflicts-with-one-in-mcuboot" /><item><title>RE: Zephyr 3.4.99: main function conflicts with one in MCUboot</title><link>https://devzone.nordicsemi.com/thread/485145?ContentTypeID=1</link><pubDate>Tue, 21 May 2024 13:32:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:555d6b09-a8a0-4eb5-a98a-88a463879c13</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Did you include MCUBoot as a child image (see&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.6.1/nrf/config_and_build/multi_image.html#multi-image-builds"&gt;Multi-image builds&lt;/a&gt;) in your project by adding&amp;nbsp;CONFIG_BOOTLOADER_MCUBOOT=y prj.conf, or did you do in some other way? I don&amp;#39;t see how or why the mcuboot project would build with source files from your &amp;quot;common&amp;quot; directory, that is not something I have encountered before.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Vidar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zephyr 3.4.99: main function conflicts with one in MCUboot</title><link>https://devzone.nordicsemi.com/thread/484764?ContentTypeID=1</link><pubDate>Thu, 16 May 2024 16:52:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b10fbb9a-ed6c-47d1-b18a-f7bbf3fb8565</guid><dc:creator>Yaron Shragai</dc:creator><description>&lt;p&gt;Turns out that the issue is that I placed that &lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;main()&lt;/span&gt; function in a file in the &lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;common&lt;/span&gt; dir of my project.&lt;/p&gt;
&lt;p&gt;Looks like MCUboot includes the &lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;common&lt;/span&gt; dir of my project.&lt;/p&gt;
&lt;p&gt;Is there something magickal about any dir, anywhere, whose name is &amp;quot;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;common&lt;/span&gt;&amp;quot;? Does MCUboot automatically include those?&lt;/p&gt;
&lt;p&gt;What are other magickal aspects of the MCUboot build that I should be aware of?&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>