<?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>Error build compilation MPSL Enable with MCU_Boot or Secure BOOT</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/104315/error-build-compilation-mpsl-enable-with-mcu_boot-or-secure-boot</link><description>Hi, 
 I start a new project with nRF Connect SDK (i was using nRF5 SDK since 5 years). 
 For my device we are using a custom nrf52833 board with a fem skyworks66408, so i create my custom board and add an overlay to manage fem. 
 The fem is working with</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 02 Oct 2023 13:07:50 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/104315/error-build-compilation-mpsl-enable-with-mcu_boot-or-secure-boot" /><item><title>RE: Error build compilation MPSL Enable with MCU_Boot or Secure BOOT</title><link>https://devzone.nordicsemi.com/thread/448521?ContentTypeID=1</link><pubDate>Mon, 02 Oct 2023 13:07:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6d1570f0-b7fb-45d2-90d2-4b78c432b196</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;Nice!&lt;/p&gt;
&lt;p&gt;As MCUboot is a bootloader, you want it to be as small as possible and have as little complexity as possible. Therefore I suggest that you move all configurations needed only for the application to prj.conf.&lt;/p&gt;
&lt;p&gt;The board file then only has configurations which is relevant for the whole board.&lt;br /&gt;Alternativley, you can disable configurations inside child_image/mcuboot.conf, or use a little bit of both of these.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Error build compilation MPSL Enable with MCU_Boot or Secure BOOT</title><link>https://devzone.nordicsemi.com/thread/448505?ContentTypeID=1</link><pubDate>Mon, 02 Oct 2023 12:16:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:81d98382-35dd-4d8a-a0aa-8be4c5bc82e5</guid><dc:creator>Julien</dc:creator><description>&lt;p&gt;To complete,&lt;/p&gt;
&lt;p&gt;Indeed my&amp;nbsp;&lt;span&gt;CONFIG_MPSL was set in board config. If i add it on prj.conf it&amp;#39;s successful.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;And no more warning message.&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;Julien&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Error build compilation MPSL Enable with MCU_Boot or Secure BOOT</title><link>https://devzone.nordicsemi.com/thread/448498?ContentTypeID=1</link><pubDate>Mon, 02 Oct 2023 11:52:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:519e8570-ca9b-496a-a45b-498a6efd7434</guid><dc:creator>Julien</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;To configure I add&amp;nbsp;&lt;span&gt;CONFIG_BOOTLOADER_MCUBOOT&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I tried with&amp;nbsp;&lt;/span&gt;CONFIG_SECURE_BOOT but still the same issue.&lt;/p&gt;
&lt;p&gt;I create child_image/mcuboot.conf and add the line&amp;nbsp;&lt;span&gt;CONFIG_MULTITHREADING&lt;/span&gt;&lt;span&gt;=y.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;So now the build is successful but I have the message&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;br /&gt;&lt;span style="color:#ff0000;"&gt;warning: MPSL_FEM (defined at C:/ncs/v2.4.1/nrf\subsys\mpsl\fem/Kconfig:37) was assigned the value&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#ff0000;"&gt;&amp;#39;y&amp;#39; but got the value &amp;#39;n&amp;#39;. Check these unsatisfied dependencies: MPSL_FEM_ANY_SUPPORT (=n). See&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#ff0000;"&gt;&lt;a href="http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_MPSL_FEM"&gt;docs.zephyrproject.org/.../kconfig.html&lt;/a&gt; and/or look up MPSL_FEM in the&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#ff0000;"&gt;menuconfig/guiconfig interface. The Application Development Primer, Setting Configuration Values,&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#ff0000;"&gt;and Kconfig - Tips and Best Practices sections of the manual might be helpful.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#000000;"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#000000;"&gt;How to configure MPSL only as an appliation configuration?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#000000;"&gt;Regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#000000;"&gt;Julien&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Error build compilation MPSL Enable with MCU_Boot or Secure BOOT</title><link>https://devzone.nordicsemi.com/thread/448496?ContentTypeID=1</link><pubDate>Mon, 02 Oct 2023 11:38:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6343e092-41fc-4589-96fd-0d05be3e1c26</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user=""]But when i add it[/quote]
&lt;p&gt;How do you add MCUboot? MCUboot is the default, so I recommend using that instead of Nordic Secure Immutable Bootloader (NSIB).&lt;/p&gt;
[quote user=""]but i disable&amp;nbsp;CONFIG_MPSL[/quote]
&lt;p&gt;Where have you set CONFIG_MPSL?&lt;/p&gt;
&lt;p&gt;I suspect that you have set CONFIG_MPSL for your board files, and then the bootloader will inherit this configuration.&lt;br /&gt;Instead, set CONFIG_MPSL as an application configuration.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Sigurd Hellesvik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>