<?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>nRF5340: BLE in PSA template</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/100227/nrf5340-ble-in-psa-template</link><description>Hi there, 
 I&amp;#39;m in the development phase of a new project with the nRF5340 and the nRF Connect SDK 2.2.0. In a first stage, the project shall make use of TF-M together with BLE. 
 As a start I&amp;#39;m trying to implement the Bluetooth: Peripheral LBS example</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 31 May 2023 18:38:40 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/100227/nrf5340-ble-in-psa-template" /><item><title>RE: nRF5340: BLE in PSA template</title><link>https://devzone.nordicsemi.com/thread/428568?ContentTypeID=1</link><pubDate>Wed, 31 May 2023 18:38:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3ddd6653-e8a5-4b78-b56d-90d3feff89aa</guid><dc:creator>SirBuhi</dc:creator><description>&lt;p&gt;Dear Vidar,&lt;/p&gt;
&lt;p&gt;Thanks for your response.&lt;/p&gt;
&lt;p&gt;Found &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/94523/downsizing-the-tfm-with-psa-support/399075"&gt;this ticket&lt;/a&gt; and it seems my plan of extending&amp;nbsp;&lt;span&gt;TF-M: PSA template with BLE and the further libraries needed in the project will result in a too big firmware size.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Will therefore have to rethink that approach.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Kind regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Patrick&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5340: BLE in PSA template</title><link>https://devzone.nordicsemi.com/thread/428154?ContentTypeID=1</link><pubDate>Tue, 30 May 2023 11:48:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d85594bc-962a-4db5-9ae5-a58cdd993ad4</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;TF-M is included automatically if you select &amp;#39;nrf5340dk_nrf5340_cpuapp_&lt;strong&gt;ns&amp;#39;&lt;/strong&gt; as your build target, see &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/app_dev/tfm/index.html#ug-tfm"&gt;Running applications with Trusted Firmware-M&lt;/a&gt;&amp;nbsp;for details.&lt;/p&gt;
[quote userid="121019" url="~/f/nordic-q-a/100227/nrf5340-ble-in-psa-template"]&lt;p&gt;My guess is, that it is coming from the NET Core, as there is not enough space for the entire PSA code as well as the hci_rpmsg.&lt;/p&gt;
&lt;p&gt;Now the question, where can I control, that for now only the hci_rpmsg goes on the NET core and then step by step include the further PSA components such as the b0n and the MCUboot?&lt;/p&gt;[/quote]
&lt;p&gt;The&amp;nbsp;&lt;span&gt;hci_rpmsg image will always go on the netcore if you build the LBS sample&amp;nbsp;whileTF-M image will be on the app core.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Note that you can generate a memory report to see what the flash layout looks like for each core:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1685447221979v1.png" alt=" " /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1685447238633v2.png" alt=" " /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Kind regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Vidar&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>