<?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>Solution/project configuration for family of boards</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/90756/solution-project-configuration-for-family-of-boards</link><description>We want to create solution/project for family of boards using segger embedded studio. We want to create the solution/project in such a manner that new boards software can be created by inheriting common code/config from base board. So do we need to do</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 10 Aug 2022 07:58:37 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/90756/solution-project-configuration-for-family-of-boards" /><item><title>RE: Solution/project configuration for family of boards</title><link>https://devzone.nordicsemi.com/thread/380944?ContentTypeID=1</link><pubDate>Wed, 10 Aug 2022 07:58:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c6e989b4-7023-4b2e-9db6-f773b05012bf</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;As far as I call tell, it should be possible in to have&amp;nbsp;&lt;span&gt;separate main.c for different projects in the same solution. If you are having trouble&amp;nbsp;with the SES IDE, maybe you could ask in the &lt;a href="https://forum.segger.com/index.php/Board/9-SEGGER-Embedded-Studio-related/?s=4f551e1857046620f5c8b9f16a08698f54a2747d"&gt;Segger Emebbede studio&amp;nbsp;forum&lt;/a&gt;&amp;nbsp;?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Solution/project configuration for family of boards</title><link>https://devzone.nordicsemi.com/thread/380899?ContentTypeID=1</link><pubDate>Wed, 10 Aug 2022 00:15:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d1eb193f-2601-4e81-b0b6-cdea4dc66578</guid><dc:creator>abhisheksharma</dc:creator><description>&lt;p&gt;It replaces my main.c&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Solution/project configuration for family of boards</title><link>https://devzone.nordicsemi.com/thread/380749?ContentTypeID=1</link><pubDate>Tue, 09 Aug 2022 07:57:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:097c804c-5640-4a4a-94b2-c326267aab98</guid><dc:creator>Sigurd</dc:creator><description>[quote user="abhisheksharma"]Asking because when I create new project in same solution then SES asks for replacing main.c and if I respond with a &amp;quot;No&amp;quot; then it uses same main.c for multiple projects.[/quote]
&lt;p&gt;What happened if you press &amp;#39;Yes&amp;#39; ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Solution/project configuration for family of boards</title><link>https://devzone.nordicsemi.com/thread/380674?ContentTypeID=1</link><pubDate>Mon, 08 Aug 2022 19:40:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9b6c7f86-ce65-444a-a3b4-8a7bc021a4dc</guid><dc:creator>abhisheksharma</dc:creator><description>&lt;p&gt;Thanks for your response.&lt;/p&gt;
&lt;p&gt;We are using nRF5_SDK_17.1.0_ddde560.&lt;/p&gt;
&lt;p&gt;How can we have separate main.c for different projects in the same solution.&lt;/p&gt;
&lt;p&gt;Asking because when I create new project in same solution then SES asks for replacing main.c and if I respond with a &amp;quot;No&amp;quot; then it uses same main.c for multiple projects.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Solution/project configuration for family of boards</title><link>https://devzone.nordicsemi.com/thread/380603?ContentTypeID=1</link><pubDate>Mon, 08 Aug 2022 12:11:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:39add483-0ddd-432a-b49e-710f1b37e11e</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;If you are using nRF5-SDK, it&amp;#39;s possible to some extent using build configurations in SES, but&amp;nbsp;it&amp;#39;s created and mainly used to&amp;nbsp;&lt;span&gt;differentiate debug builds from release builds. So having a sperate project per board is the best way to do it. That&amp;#39;s how it&amp;#39;s done in the nRF5-SDK.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;If you are using &lt;a href="http://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.0.2/nrf/index.html"&gt;nRF Connect SDK&lt;/a&gt;&lt;span&gt;, see this guide on how to create your board files:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.0.2/zephyr/hardware/porting/board_porting.html#create-your-board-directory"&gt;http://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.0.2/zephyr/hardware/porting/board_porting.html#create-your-board-directory&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.0.2/zephyr/hardware/porting/board_porting.html#multiple-board-revisions"&gt;http://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.0.2/zephyr/hardware/porting/board_porting.html#multiple-board-revisions&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>