<?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>Linking problem after enabling CONFIG_BOOTLOADER_MCUBOOT</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/83573/linking-problem-after-enabling-config_bootloader_mcuboot</link><description>My Zephyr based application is buildable and working fine. I followed this tutorial, trying to enable bluetooth OTA for my app: Add DFU support to your application - Software - nRF Connect SDK guides - Nordic DevZone (nordicsemi.com) 
 After enabling</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 18 Jan 2022 04:24:11 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/83573/linking-problem-after-enabling-config_bootloader_mcuboot" /><item><title>RE: Linking problem after enabling CONFIG_BOOTLOADER_MCUBOOT</title><link>https://devzone.nordicsemi.com/thread/348160?ContentTypeID=1</link><pubDate>Tue, 18 Jan 2022 04:24:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:60629546-996b-45e7-b379-85f24dc5770c</guid><dc:creator>Dymek117</dc:creator><description>&lt;p&gt;Final solution was adding this lione to CMakeList.txt:&lt;br /&gt;&lt;strong&gt;set(mcuboot_OVERLAY_CONFIG &amp;quot;${CMAKE_CURRENT_SOURCE_DIR}/mcuboot.conf&amp;quot;)&lt;/strong&gt;&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/div&gt;
&lt;div&gt;And setting option, withing config file mentioned above (i had to create such one)
&lt;div&gt;
&lt;div&gt;&lt;strong&gt;CONFIG_MULTITHREADING=y&lt;/strong&gt;&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;Priyanka, thhank you so much for support :)&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Linking problem after enabling CONFIG_BOOTLOADER_MCUBOOT</title><link>https://devzone.nordicsemi.com/thread/348156?ContentTypeID=1</link><pubDate>Tue, 18 Jan 2022 03:19:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5912c338-c384-417b-91d9-cfc1f226794d</guid><dc:creator>Dymek117</dc:creator><description>&lt;p&gt;OK, so I am pretty sure that mcuboot should gain&amp;nbsp;&lt;span&gt;CONFIG_MULTITHREADING&amp;nbsp;&amp;nbsp;to solve this, thanks&amp;nbsp;&lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&lt;br /&gt;Before I was only setting this for my app, not bootloader.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;But how can I add&amp;nbsp;&lt;/strong&gt;&lt;span&gt;&lt;strong&gt;CONFIG_MULTITHREADING&amp;nbsp; or CONFIG_ADC options to mcuboot?&lt;/strong&gt;&lt;br /&gt;&lt;/span&gt;&lt;span&gt;Before, I was editing .config file in buil/mcuboot/zephyr but it can be only temporary solution.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I&amp;#39;ve added something like this to my CMakeList.txt:&lt;br /&gt;&lt;/span&gt;&lt;span&gt;set&lt;/span&gt;&lt;span&gt;(mcuboot_CONF_FILE &lt;/span&gt;&lt;span&gt;&amp;quot;${CMAKE_CURRENT_SOURCE_DIR}/mcuboot.conf&amp;quot;&lt;/span&gt;&lt;span&gt;)&lt;br /&gt;But this wil overwrite all default NCS mcuboot configuration, could you please suggest a proper way to modify one option in mcuboot conifg? I&amp;#39;m using mcuboot from nordic SDK.&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Linking problem after enabling CONFIG_BOOTLOADER_MCUBOOT</title><link>https://devzone.nordicsemi.com/thread/348102?ContentTypeID=1</link><pubDate>Mon, 17 Jan 2022 15:11:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:70144201-e5f7-47d7-b6be-4b7ac1c7f8c6</guid><dc:creator>Priyanka</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Your error code actually mentions that the ADC library cannot find the &amp;#39;&lt;strong&gt;k_sem_give&lt;/strong&gt;&amp;#39;. This looks similar to the problem mentioned &lt;a href="https://github.com/simon-iversen/sdk-nrf/blob/d1a11f2c39e3b8fb0af7652e7e720626f0e1298e/samples/nrf9160/http_update/application_update/child_image/mcuboot/boards/nrf9160dk_nrf9160.conf#L5-L7"&gt;here&lt;/a&gt;. You mention that you need the ADC in your application. So when you try disabling the ADC for mcuboot, doesn&amp;#39;t this affect your application too? Also, did you enable the CONFIG_MULTITHREADING for the mcuboot or the application?&lt;/p&gt;
&lt;p&gt;Since your error came from the mcuboot, you could try disabling the&amp;nbsp;&lt;span&gt;CONFIG_MULTITHREADING&amp;nbsp;in the mcuboot. You could also disable the ADC if you are not using it.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Priyanka&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Linking problem after enabling CONFIG_BOOTLOADER_MCUBOOT</title><link>https://devzone.nordicsemi.com/thread/347828?ContentTypeID=1</link><pubDate>Fri, 14 Jan 2022 16:36:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eb355738-9200-46ed-937d-88043fa3275b</guid><dc:creator>Dymek117</dc:creator><description>&lt;p&gt;I actually use ADC in my app, therefore I set&amp;nbsp;&lt;span&gt;CONFIG_ADC=y.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;a href="https://github.com/simon-iversen/sdk-nrf/blob/d1a11f2c39e3b8fb0af7652e7e720626f0e1298e/samples/nrf9160/http_update/application_update/child_image/mcuboot/boards/nrf9160dk_nrf9160.conf#L5-L7"&gt;CONFIG_MULTITHREADING=y&lt;/a&gt;&amp;nbsp;does not help,&amp;nbsp;I see the same error. The only solution that helps is turning off ADC for&amp;nbsp;mcu boot, but is it good solution? I guess mcuboot may use ADC for some purpose (i.e. cryptography, etc) but this is only my guess.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Linking problem after enabling CONFIG_BOOTLOADER_MCUBOOT</title><link>https://devzone.nordicsemi.com/thread/347716?ContentTypeID=1</link><pubDate>Fri, 14 Jan 2022 09:58:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b47d43d4-7b0a-4b82-a841-26dd02c06a26</guid><dc:creator>Priyanka</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;You could try setting the &lt;a href="https://github.com/simon-iversen/sdk-nrf/blob/d1a11f2c39e3b8fb0af7652e7e720626f0e1298e/samples/nrf9160/http_update/application_update/child_image/mcuboot/boards/nrf9160dk_nrf9160.conf#L5-L7"&gt;CONFIG_MULTITHREADING=y&lt;/a&gt;. But in case you want the COFIG_MULTITHREADING = , then you could try disabling the CONFIG_ADC in the prj.conf.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Priyanka&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Linking problem after enabling CONFIG_BOOTLOADER_MCUBOOT</title><link>https://devzone.nordicsemi.com/thread/347526?ContentTypeID=1</link><pubDate>Thu, 13 Jan 2022 08:29:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dd5bc7f5-6f43-4953-bd13-d3b9dc607a5a</guid><dc:creator>Dymek117</dc:creator><description>&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/scr.PNG" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Linking problem after enabling CONFIG_BOOTLOADER_MCUBOOT</title><link>https://devzone.nordicsemi.com/thread/347525?ContentTypeID=1</link><pubDate>Thu, 13 Jan 2022 08:29:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6070eae2-24a1-4c3d-93e7-32d74ceffcdd</guid><dc:creator>Dymek117</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/0257.log.txt"&gt;devzone.nordicsemi.com/.../0257.log.txt&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Linking problem after enabling CONFIG_BOOTLOADER_MCUBOOT</title><link>https://devzone.nordicsemi.com/thread/347456?ContentTypeID=1</link><pubDate>Wed, 12 Jan 2022 16:59:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:62b847d2-a120-411f-b0eb-f70147a75d2f</guid><dc:creator>Priyanka</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;It would be more helpful if you don&amp;#39;t truncate the error message that you get. Would it be possible to share a file of the entire output message that you get in the &amp;quot;Output&amp;quot; terminal of VSCode? And also of the &amp;quot;Problems&amp;quot; window too.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1642006725869v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Priyanka&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Linking problem after enabling CONFIG_BOOTLOADER_MCUBOOT</title><link>https://devzone.nordicsemi.com/thread/347448?ContentTypeID=1</link><pubDate>Wed, 12 Jan 2022 16:39:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a341b968-d792-4ca4-a47d-b0b5a43c9e65</guid><dc:creator>Dymek117</dc:creator><description>&lt;p&gt;I&amp;#39;m working on Windows and build for DK board.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Linking problem after enabling CONFIG_BOOTLOADER_MCUBOOT</title><link>https://devzone.nordicsemi.com/thread/347402?ContentTypeID=1</link><pubDate>Wed, 12 Jan 2022 14:04:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8572f6f0-6d05-40f5-a75b-49a61ce46f8a</guid><dc:creator>Priyanka</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Are you using the nRF52832 DK, PDK or a custom board? Also, what platform are you working on? (Windows, Linux or MacOS)&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Priyanka&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>