<?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>nRF54L15 reduce build time</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/122083/nrf54l15-reduce-build-time</link><description>Hi, 
 I assume this would apply to most new boards - but I am finding that the build time since upgrading to newer hardware has increased significantly. Perhaps due to sysbuild and the the psa_crypto_config related steps? 
 For development, I am not concerned</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 06 Jun 2025 13:01:53 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/122083/nrf54l15-reduce-build-time" /><item><title>RE: nRF54L15 reduce build time</title><link>https://devzone.nordicsemi.com/thread/538425?ContentTypeID=1</link><pubDate>Fri, 06 Jun 2025 13:01:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:89def29e-15b8-493c-b340-cb134fc40068</guid><dc:creator>SwRa</dc:creator><description>&lt;p&gt;Hi Ryan,&lt;/p&gt;
&lt;p&gt;A few seps you can incorporate into your application to reduce the build time as well as optimize the memory are as follows:&lt;/p&gt;
&lt;p&gt;1.&amp;nbsp;If you don&amp;#39;t need MCUboot or other secondary images for development, you can disable them by removing or commenting out related Kconfig options in your prj.conf:&amp;nbsp;&lt;span&gt;CONFIG_BOOTLOADER_MCUBOOT=n&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;2.&amp;nbsp;&lt;span&gt;If you are not concerned about security during development, you can disable related features in your&amp;nbsp;&lt;/span&gt;&lt;code dir="ltr"&gt;prj.conf&lt;/code&gt;&lt;span&gt;&amp;nbsp;to skip unnecessary configuration and build steps. Eg:&amp;nbsp;&lt;/span&gt;CONFIG_MBEDTLS_PSA_CRYPTO_C=n and CONFIG_MBEDTLS_USE_PSA_CRYPTO=n&lt;/p&gt;
&lt;p&gt;&lt;span&gt;3. Use minimal build configuration: (For simple applications like Blinky, you can use a minimal&amp;nbsp;&lt;code dir="ltr"&gt;prj.conf&lt;/code&gt;&amp;nbsp;to reduce the number of drivers, features, and threads included in the build.&amp;nbsp;)&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;4. Avoid pristine build as discussed in this thread:&amp;nbsp;&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/112928/build-time-with-west-for-zephyr-projects-how-to-re-build-without-the-build-setup-phase-eg-when-just-recompiling-c-files"&gt;build time with west for zephyr projects : how to re-build without the &amp;#39;build setup&amp;#39; phase eg when just recompiling C files&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;5. You can also configure your project to not sysbuild by default whenever invoking &amp;nbsp;&amp;nbsp;&lt;code&gt;&lt;span&gt;west&lt;/span&gt;&amp;nbsp;&lt;span&gt;build.&amp;nbsp;&lt;/span&gt;&lt;/code&gt;See here:&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/app_dev/config_and_build/sysbuild/sysbuild_configuring_west.html#sysbuild-enabled-ncs-configuring"&gt;docs.nordicsemi.com/.../sysbuild_configuring_west.html&lt;/a&gt;&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;Swathy&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>