<?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>nrf9160 mcuboot link failure searching for z_impl_k_sleep.. is CONFIG_MULTITHREADING required?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/101398/nrf9160-mcuboot-link-failure-searching-for-z_impl_k_sleep-is-config_multithreading-required</link><description>I am porting an application from NCS v2.3.0 -&amp;gt; NCS v2.4.0. My application runs in nrf5340dk_nrf5340_cpuapp_ns with NSIB and mcuboot. The mcuboot uses external flash for the secondary partition. The application also includes a secure partition to implement</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 17 Sep 2024 21:34:11 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/101398/nrf9160-mcuboot-link-failure-searching-for-z_impl_k_sleep-is-config_multithreading-required" /><item><title>RE: nrf9160 mcuboot link failure searching for z_impl_k_sleep.. is CONFIG_MULTITHREADING required?</title><link>https://devzone.nordicsemi.com/thread/502824?ContentTypeID=1</link><pubDate>Tue, 17 Sep 2024 21:34:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3285ed3e-5acc-4ba7-8850-2ca50e7fb8a8</guid><dc:creator>Mariano</dc:creator><description>&lt;p&gt;&lt;br /&gt;Hi everyone,&lt;br /&gt;&lt;br /&gt;I&amp;#39;m encountering an issue with MCUboot on NCS 2.7.0 and my custom board based on the nRF52840. The bootloader was functioning correctly with NCS 2.4.0, but now I&amp;#39;m unable to build due to the following error:&lt;br /&gt;&lt;br /&gt;```&lt;br /&gt;phyr-eabi/bin/ld.bfd.exe: modules/nrf/drivers/mpsl/flash_sync/lib..__nrf__drivers__mpsl__flash_sync.a(flash_sync_mpsl.c.obj): in function `k_sem_reset&amp;#39;: F:/ncs/htrace-firmwares/firmware-bt840/CB2/mcuboot/zephyr/include/generated/syscalls/kernel.h:1137: undefined reference to `z_impl_k_sem_reset&amp;#39;&lt;br /&gt;```&lt;br /&gt;&lt;br /&gt;I&amp;#39;ve created a `mcuboot.conf` file and tried adding `CONFIG_LOG_MODE_MINIMAL=y`, but the error persists.&lt;br /&gt;&lt;br /&gt;When I add `CONFIG_MULTITHREADING=y`, I can successfully build, but then I run out of flash space.&lt;br /&gt;&lt;br /&gt;Has anyone encountered this issue or can offer any suggestions? Your help would be greatly appreciated.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf9160 mcuboot link failure searching for z_impl_k_sleep.. is CONFIG_MULTITHREADING required?</title><link>https://devzone.nordicsemi.com/thread/434302?ContentTypeID=1</link><pubDate>Mon, 03 Jul 2023 18:53:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:23da4411-e199-46c8-a585-8c1830d87743</guid><dc:creator>Anthony Ambuehl</dc:creator><description>&lt;p&gt;yes mcuboot is able compile with CONFIG_LOG_MODE_MINIMAL=y without setting CONFIG_MULTITHREADING&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf9160 mcuboot link failure searching for z_impl_k_sleep.. is CONFIG_MULTITHREADING required?</title><link>https://devzone.nordicsemi.com/thread/434285?ContentTypeID=1</link><pubDate>Mon, 03 Jul 2023 17:02:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:82667e24-1c73-4189-945b-df93079d0814</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;Is it then in you case that when you set&amp;nbsp;&lt;span&gt;CONFIG_LOG_MODE_MINIMAL=y, everything works as expected?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;br /&gt;Dejan&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf9160 mcuboot link failure searching for z_impl_k_sleep.. is CONFIG_MULTITHREADING required?</title><link>https://devzone.nordicsemi.com/thread/434028?ContentTypeID=1</link><pubDate>Fri, 30 Jun 2023 22:02:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:da0252b4-d1bd-4743-9645-d3fbeebc9cc7</guid><dc:creator>Anthony Ambuehl</dc:creator><description>&lt;p&gt;It appears this problem is due to not setting CONFIG_LOG_MODE_MINIMAL=y.&amp;nbsp; For nr5340 the CONFIG_LOG_MODE_MINIMAL is always y, but for nrf9160 its necessary to explicitly set it to y.&lt;/p&gt;
&lt;p&gt;With CONFIG_LOG_MODE_MINIMAL=n (or not set) then CONFIG_MULTITHREADING is required to support the logging thread.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>