<?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>Which build version do I use on in Visual Studio for the nrf5340-Audio-DK?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/106738/which-build-version-do-i-use-on-in-visual-studio-for-the-nrf5340-audio-dk</link><description>When I edit the build configuration I get the following options. Which one am I supposed to use? I am trying to run the blinky example. 
 
 
 Options: 
 nrf5340_audio_dk_nrf5340_cpuapp nrf5340_audio_dk_nrf5340_cpuapp_ns nrf5340_audio_dk_nrf5340_cpune</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 18 Dec 2023 08:41:58 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/106738/which-build-version-do-i-use-on-in-visual-studio-for-the-nrf5340-audio-dk" /><item><title>RE: Which build version do I use on in Visual Studio for the nrf5340-Audio-DK?</title><link>https://devzone.nordicsemi.com/thread/460739?ContentTypeID=1</link><pubDate>Mon, 18 Dec 2023 08:41:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b116ce6a-d17c-440a-87a8-26b036311157</guid><dc:creator>runsiv</dc:creator><description>&lt;p&gt;Hi Antonio&amp;nbsp;&lt;/p&gt;
&lt;p&gt;As the Nrf5340 has two cores, you have the option to build for either the network core or the application core.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;quot;&lt;/p&gt;
&lt;p&gt;The application core is a full-featured Arm Cortex-M33 processor including DSP instructions and FPU. Use this core for tasks that require high performance and for application-level logic.&lt;/p&gt;
&lt;p&gt;The M33 TrustZone, one of Cortex-M Security Extensions (CMSE), divides the application MCU into Secure Processing Environment (SPE) and Non-Secure Processing Environment (NSPE). When the MCU boots, it always starts executing from the secure area.&lt;/p&gt;
&lt;p&gt;In Zephyr, the firmware of the application core is built using one of the following build targets:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;&lt;span&gt;nrf5340dk_nrf5340_cpuapp&lt;/span&gt;&lt;/code&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;for build targets with CMSE disabled.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;&lt;span&gt;nrf5340dk_nrf5340_cpuapp_ns&lt;/span&gt;&lt;/code&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;for build targets that have CMSE enabled and have the SPE firmware alongside the NSPE firmware.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;For information about CMSE and the difference between the two environments, see&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/config_and_build/board_support.html#app-boards-spe-nspe"&gt;&lt;span&gt;Processing environments&lt;/span&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&amp;quot;&lt;/p&gt;
&lt;p&gt;In your case I would build for either the _cpuapp or the _cpuapp_ns. All depending if you need the security features&amp;nbsp;available on the NRF5340 or not.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You can read more about the different targets for the NRF5340 &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/device_guides/working_with_nrf/nrf53/nrf5340.html#ug-nrf5340"&gt;here&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Runar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>