<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[wolfSSL - Embedded SSL Library — Memory overflow error with nRF5340]]></title>
		<link>https://www.wolfssl.com/forums/topic2015-memory-overflow-error-with-nrf5340.html</link>
		<atom:link href="https://www.wolfssl.com/forums/feed-rss-topic2015.xml" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Memory overflow error with nRF5340.]]></description>
		<lastBuildDate>Tue, 20 Jun 2023 18:10:31 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Memory overflow error with nRF5340]]></title>
			<link>https://www.wolfssl.com/forums/post7154.html#p7154</link>
			<description><![CDATA[<p>Hi Kareem,</p><p>Sorry for the late response, was busy with some other high priority task.</p><p>I configured the template file as you suggested and I do not see any significant change in the build size.<br />Please see below memory report when I try to build the project in nRF5340 with TF-M disabled and wolfSSL enabled.<br /></p><div class="quotebox"><blockquote><p>Memory region&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Used Size&nbsp; Region Size&nbsp; %age Used<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; FLASH:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;362612 B&nbsp; &nbsp; &nbsp;441856 B&nbsp; &nbsp; &nbsp;82.07%<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; RAM:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;81120 B&nbsp; &nbsp; &nbsp; &nbsp; 440 KB&nbsp; &nbsp; &nbsp;18.00%<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;IDT_LIST:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0 GB&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 2 KB&nbsp; &nbsp; &nbsp; 0.00%</p></blockquote></div><p>I added below line to my prj.conf file<br /></p><div class="codebox"><pre><code>CONFIG_WOLFSSL_USER_SETTTINGS=&quot;user_settings_template.h&quot;</code></pre></div><p>And also I have enabled TARGET_EMBEDDED in the above template file</p><p>Please guide me if I am doing anything wrong.</p><p>Thank you in advance.</p>]]></description>
			<author><![CDATA[null@example.com (ajmal)]]></author>
			<pubDate>Tue, 20 Jun 2023 18:10:31 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post7154.html#p7154</guid>
		</item>
		<item>
			<title><![CDATA[Re: Memory overflow error with nRF5340]]></title>
			<link>https://www.wolfssl.com/forums/post7144.html#p7144</link>
			<description><![CDATA[<p>Hi kareem,</p><p>Thanks for the quick response. We will go through the document you provided.</p><p>Regarding paid support agreement, I will discuss with our team and let you know. Thank you for the support.</p>]]></description>
			<author><![CDATA[null@example.com (ajmal)]]></author>
			<pubDate>Sat, 10 Jun 2023 12:23:27 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post7144.html#p7144</guid>
		</item>
		<item>
			<title><![CDATA[Re: Memory overflow error with nRF5340]]></title>
			<link>https://www.wolfssl.com/forums/post7143.html#p7143</link>
			<description><![CDATA[<p>Hi ajmal,</p><p>You can use our user_settings.h to disable all features which are not needed for your use case.&nbsp; You can find a documented example of our common settings here: <a href="https://github.com/wolfSSL/wolfssl/blob/master/examples/configs/user_settings_template.h">https://github.com/wolfSSL/wolfssl/blob … template.h</a></p><p>For us to give personalized size optimization support, we would need a paid support agreement in place.&nbsp; If you are interested, please let me know where you are located, and I will connect you with your region&#039;s sales rep.</p><p>Thanks,<br />Kareem</p>]]></description>
			<author><![CDATA[null@example.com (kareem_wolfssl)]]></author>
			<pubDate>Fri, 09 Jun 2023 18:42:31 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post7143.html#p7143</guid>
		</item>
		<item>
			<title><![CDATA[Memory overflow error with nRF5340]]></title>
			<link>https://www.wolfssl.com/forums/post7142.html#p7142</link>
			<description><![CDATA[<p>Hi</p><p>I am working with nRF5340 device and have integrated wolfSSL library into my project.<br />I am facing memory overflow issue when I build the project with TFM(_ns) enabled.</p><p>Below is the error message I see<br /></p><div class="quotebox"><blockquote><p>zephvr/zephyr pred.elf section text&#039; will not fit in region &#039;FLASH&#039;<br />Region &#039;FLASH&#039; overflowed by 170820 bytes</p></blockquote></div><p>Attached my prj.conf file</p><p>All I need from the wolf library is to support TLS 1.2 with minimal code size so, please let me know the setup I need to use it for my project.</p><p>Let me know if any additional information is required.</p><p>Thank you in advance.</p>]]></description>
			<author><![CDATA[null@example.com (ajmal)]]></author>
			<pubDate>Fri, 09 Jun 2023 14:48:43 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post7142.html#p7142</guid>
		</item>
	</channel>
</rss>
