<?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>Weird Compilation issue from v2.4.1 to v2.5.0</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/115541/weird-compilation-issue-from-v2-4-1-to-v2-5-0</link><description>Hi All, 
 I am trying to migrate my toolchain/sdk v2.4.1 project to toolchain/sdk v2.5.0. And I am having these weird issues related to mbedtls. The same project without any changes is compiling fine on v2.4.1 but on v2.5.0 it is not. Some of the modules</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 22 Oct 2024 14:12:03 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/115541/weird-compilation-issue-from-v2-4-1-to-v2-5-0" /><item><title>RE: Weird Compilation issue from v2.4.1 to v2.5.0</title><link>https://devzone.nordicsemi.com/thread/507401?ContentTypeID=1</link><pubDate>Tue, 22 Oct 2024 14:12:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:85b3dd21-f747-43cc-9265-e1aebfb7e6ba</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;Then I would recommend removing one module at the time to isolate the issues, and to see what needs to upgraded/migrated to something else. Migration from one NCS version to another can unfortunately be a bit cumbersome. Especially with multiple large modules like MCUBoot and matter.&lt;/p&gt;
[quote user="Jacky Ortega"]Though I also found out that &amp;#39;mgmt&amp;#39; module API and Callback mechanism were also changed for v2.5.0 and they are not documented in the &amp;#39;migration guide&amp;#39;.&lt;br /&gt;[/quote]
&lt;p&gt;I can add this to the migration guide, but&amp;nbsp;note that&amp;nbsp;not every change is documented.&lt;/p&gt;
[quote user="Jacky Ortega"]The initial error as you can see from the logs above are pointing to the &amp;#39;socket_TLS&amp;#39; file present as part of the v2.5.0 zephyr OS SDK.&lt;br /&gt;[/quote]
&lt;p&gt;Seems like&amp;nbsp;&lt;span&gt;mbedtls isn&amp;#39;t being linked correctly. Comparing your project to a default sample that uses&amp;nbsp;mbedtls&amp;nbsp;in NCS 2.5 might be useful.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;MBEDTLS_ENTROPY_C, CONFIG_MBEDTLS_RSA_C,&amp;nbsp;CONFIG_MBEDTLS_BUILTIN needing to be enabled is mentioned as a culprit in some other cases I&amp;#39;ve seen here. &lt;a href="https://devzone.nordicsemi.com/support-private/support/328453"&gt;This entire case here with a similar situation might be interesting to you&lt;/a&gt;. &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;One other potential issue I should mention considering that you are using the &amp;#39;5340 is that some configurations needs to be enabled for the child image as well. If it is a brand new install of the SDK it is also good to make sure that default samples build on it, to make sure that you&amp;#39;ve indeed cloned the entire SDK (some people have issues installing it completely).&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Elfving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Weird Compilation issue from v2.4.1 to v2.5.0</title><link>https://devzone.nordicsemi.com/thread/506641?ContentTypeID=1</link><pubDate>Thu, 17 Oct 2024 08:13:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6c1cbb43-662d-40bb-9b89-2c891b323cc5</guid><dc:creator>Jacky Ortega</dc:creator><description>&lt;p&gt;Hi Elfving,&lt;/p&gt;
&lt;p&gt;I already made the VERSION file migration. I also re-viewed the &amp;#39;migration guide for 2.5&amp;#39; the funny thing is there are no changes related to &amp;#39;matter&amp;#39; and &amp;#39;mbedtls&amp;#39;. The same modules,packages and configurations are working fine on &lt;strong&gt;v2.4.1.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/strong&gt;Though I also found out that &amp;#39;mgmt&amp;#39; module API and Callback mechanism were also changed for v2.5.0 and they are not documented in the &amp;#39;migration guide&amp;#39;.&lt;br /&gt;&lt;br /&gt;I am still confused even after enabling all the required &amp;#39;configuration&amp;#39; flags it is still saying undefined functions for functionality related to use of mbedTLS.&lt;br /&gt;&lt;br /&gt;The initial error as you can see from the logs above are pointing to the &amp;#39;socket_TLS&amp;#39; file present as part of the v2.5.0 zephyr OS SDK.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Note:&lt;br /&gt;The issue is still not resolved.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Weird Compilation issue from v2.4.1 to v2.5.0</title><link>https://devzone.nordicsemi.com/thread/506547?ContentTypeID=1</link><pubDate>Wed, 16 Oct 2024 13:46:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7e678b91-bba1-42db-b0b8-a01e50adb8f3</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;You can have a look at the &lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/releases_and_maturity/migration/migration_guide_2.5.html"&gt;migration guide for 2.5&lt;/a&gt; to see if there is anything in particular that needs to be done (note for instance the new&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a title="(in Zephyr Project v3.7.99)" href="https://docs.nordicsemi.com/bundle/ncs-latest/page/zephyr/build/version/index.html#app-version-details"&gt;&lt;span&gt;application VERSION file&lt;/span&gt;&lt;/a&gt;), besides that there is unfortunately no go-to way to migrate from one NCS version to another that won&amp;#39;t result in any conflicts like these. You&amp;#39;ll have to just go through these issues one at the time.&lt;/p&gt;
&lt;p&gt;So after searching for one of these issues, I see that enabling&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-2.5.0/page/kconfig/index.html#CONFIG_MBEDTLS_DEBUG_C"&gt;&lt;code&gt;CONFIG_MBEDTLS_DEBUG_C&lt;/code&gt;&lt;/a&gt;&lt;span&gt;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-2.5.0/page/kconfig/index.html#CONFIG_MBEDTLS_DEBUG_C"&gt;&amp;nbsp;&lt;/a&gt;might be worth a try.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Elfving&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>