<?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>undefined reference to `z_impl_k_sem_give&amp;#39; 2.5.1 SDK</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/107618/undefined-reference-to-z_impl_k_sem_give-2-5-1-sdk</link><description>How do i fix undefined reference to `z_impl_k_sem_give&amp;#39; in the nrf connect 2.5.1 SDK/Toolchain nrf52840</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sun, 28 Jan 2024 18:49:08 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/107618/undefined-reference-to-z_impl_k_sem_give-2-5-1-sdk" /><item><title>RE: undefined reference to `z_impl_k_sem_give' 2.5.1 SDK</title><link>https://devzone.nordicsemi.com/thread/466360?ContentTypeID=1</link><pubDate>Sun, 28 Jan 2024 18:49:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:82dbaa35-1d80-4834-ac6e-edb1419260c1</guid><dc:creator>Jacques Williams</dc:creator><description>&lt;p&gt;i&amp;nbsp;&lt;span&gt;&amp;nbsp;added&amp;nbsp;CONFIG_MULTITHREADING=y to&amp;nbsp;C:/ncs/v2.5.1/bootloader/mcuboot/boot/zephyr/prj.conf and it worked&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: undefined reference to `z_impl_k_sem_give' 2.5.1 SDK</title><link>https://devzone.nordicsemi.com/thread/466325?ContentTypeID=1</link><pubDate>Sat, 27 Jan 2024 12:02:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:70b461df-5914-4ef9-b008-e9b5eeaffa94</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;So you added&amp;nbsp;CONFIG_MULTITHREADING=y to&amp;nbsp;C:/ncs/v2.5.1/bootloader/mcuboot/boot/zephyr/prj.conf and it still did not work? If so, please check the generated .config file to see whether the symbol actually ended up being enabled or not.&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1706356507374v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Normally you should avoid changing Kconfig files in the SDK tree. If there are settings you want to change for a child-image such as MCUBoot in this case, you can create a Kconfig fragment/overlay by creating a folder named &amp;#39;child_image&amp;#39; in your project source directory like this:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/pastedimage1706356836912v7.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Note: you must do a pristine build after adding the mcuboot.conf file for it to be detected by the build system.&lt;/p&gt;
&lt;p&gt;Please post the build log if you still get the &amp;#39;undefined reference&amp;#39; error after verifying that CONFIG_MULTITHREADING is enabled.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: undefined reference to `z_impl_k_sem_give' 2.5.1 SDK</title><link>https://devzone.nordicsemi.com/thread/466318?ContentTypeID=1</link><pubDate>Sat, 27 Jan 2024 01:26:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1d7f4aa7-1957-4f94-8b77-3d785a8c44d2</guid><dc:creator>Jacques Williams</dc:creator><description>&lt;p&gt;i got it to build adding it to the prj.conf file.&lt;br /&gt;C:/ncs/v2.5.1/bootloader/mcuboot/boot/zephyr/prj.conf&amp;#39;&lt;/p&gt;
&lt;p&gt;Thank You!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: undefined reference to `z_impl_k_sem_give' 2.5.1 SDK</title><link>https://devzone.nordicsemi.com/thread/465250?ContentTypeID=1</link><pubDate>Mon, 22 Jan 2024 10:11:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e691f0cd-1290-45d2-9933-6fe674b1f7eb</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;This error is typically raised if you have a bootloader that requires multithreading support but don&amp;#39;t have &amp;#39;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/kconfig/index.html#CONFIG_MULTITHREADING"&gt;CONFIG_MULTITHREADING&lt;/a&gt;=y&amp;#39; enabled in the bootloader project. Please enable this Kconfig symbol in your bootloader and see if it fixes the problem.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Vidar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>