<?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>Release build fails for BLE mesh Light switch Proxy.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/40064/release-build-fails-for-ble-mesh-light-switch-proxy</link><description>Hi, I am using the BLE mesh 2.2.0 with nRF5_SDK_15.0.0_a53641a. I am using Segger embedded studio as toolchain. I was able to compile and flash the default app code onto NRF52 DK without any issues. If I do a &amp;quot;release build&amp;quot; or &amp;quot;ReleaseWithDebugInformation</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 05 Nov 2018 10:04:07 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/40064/release-build-fails-for-ble-mesh-light-switch-proxy" /><item><title>RE: Release build fails for BLE mesh Light switch Proxy.</title><link>https://devzone.nordicsemi.com/thread/155899?ContentTypeID=1</link><pubDate>Mon, 05 Nov 2018 10:04:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1297aa2b-867d-4f3b-a9a6-948cfa7d769f</guid><dc:creator>Joakim Jakobsen</dc:creator><description>&lt;p&gt;Hi again.&lt;/p&gt;
&lt;p&gt;If you could try changing some code in nrf_mesh_section.h (line 101):&lt;/p&gt;
&lt;p&gt;Change:&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;#define NRF_MESH_SECTION_FOR_EACH(section_name, data_type, variable)                                \
    for (data_type * variable = (data_type *) NRF_MESH_SECTION_START(section_name);                 \
        variable != (data_type *) NRF_MESH_SECTION_END(section_name);                               \
        variable++)&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;to: &lt;br /&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;#define NRF_MESH_SECTION_FOR_EACH(section_name, data_type, variable)                                \
    for (data_type * variable = (data_type *) NRF_MESH_SECTION_START(section_name);                 \
        (intptr_t)variable != (intptr_t) NRF_MESH_SECTION_END(section_name);                        \
        variable++)&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Read more about this in &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/38409/assert-in-entry_validation"&gt;this thread. &lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Best regards, &lt;/em&gt;&lt;br /&gt;&lt;em&gt;Joakim&lt;/em&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Release build fails for BLE mesh Light switch Proxy.</title><link>https://devzone.nordicsemi.com/thread/155638?ContentTypeID=1</link><pubDate>Thu, 01 Nov 2018 17:50:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6051c7b1-9bef-432b-9aaf-d2fd941af1f2</guid><dc:creator>VijayS</dc:creator><description>&lt;p&gt;I am using light switch proxy server.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Vjay&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Release build fails for BLE mesh Light switch Proxy.</title><link>https://devzone.nordicsemi.com/thread/155589?ContentTypeID=1</link><pubDate>Thu, 01 Nov 2018 14:23:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cdbe335b-2d01-46a6-beb7-cb83ce455814</guid><dc:creator>Joakim Jakobsen</dc:creator><description>&lt;p&gt;Hi.&lt;/p&gt;
&lt;p&gt;Is it the Light Switch Proxy Server or Light Switch Proxy Client example you are seeing this issue with?&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Best regards, &lt;/em&gt;&lt;br /&gt;&lt;em&gt;Joakim&lt;/em&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Release build fails for BLE mesh Light switch Proxy.</title><link>https://devzone.nordicsemi.com/thread/155485?ContentTypeID=1</link><pubDate>Thu, 01 Nov 2018 08:04:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dd269eb1-1509-4126-9e81-e4da1dbcb161</guid><dc:creator>VijayS</dc:creator><description>&lt;p&gt;I kept break point at 1st statement (initialize();) in main. Code is failing even before that.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Vijay&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Release build fails for BLE mesh Light switch Proxy.</title><link>https://devzone.nordicsemi.com/thread/155483?ContentTypeID=1</link><pubDate>Thu, 01 Nov 2018 07:56:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6a0cb9b7-dfc9-4528-bc12-3793eb696dcb</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;As you&amp;#39;ve done&amp;nbsp;&lt;span&gt;ReleaseWithDebugInformation, have you stepped it in the debugger to see where &amp;amp; when that&amp;#39;s happening?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>