<?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>cannot build zephyr bluetooth tests in nrf-sdk</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/108351/cannot-build-zephyr-bluetooth-tests-in-nrf-sdk</link><description>Following the installation guide for the latest nrf-connect sdk (v2.5.2) I am unable to run the zephyr bsim unit tests for the bluetooth mesh stack 
 
 
 
 I am following the Readme on how to run these tests 
 - github.com/.../README.md 
 I have built</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sat, 17 Feb 2024 18:12:42 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/108351/cannot-build-zephyr-bluetooth-tests-in-nrf-sdk" /><item><title>RE: cannot build zephyr bluetooth tests in nrf-sdk</title><link>https://devzone.nordicsemi.com/thread/469346?ContentTypeID=1</link><pubDate>Sat, 17 Feb 2024 18:12:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:468e1f41-cde8-4337-bb14-93e9b2216730</guid><dc:creator>pquevedo</dc:creator><description>&lt;p&gt;Found out via discord that you have to explicitly define `CONFIG_BT_LL_SW_SPLIT=y` in the file `zephyr/tests/bsim/bluetooth/mesh/prj.conf` to get this to work.&amp;nbsp;Appears nrf-sdk defaults to the nordic softdevice and you to have to override it or something...&lt;/p&gt;
&lt;p&gt;Also this: &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/105782/using-babblesim-with-softdevice-controller"&gt;devzone.nordicsemi.com/.../using-babblesim-with-softdevice-controller&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: cannot build zephyr bluetooth tests in nrf-sdk</title><link>https://devzone.nordicsemi.com/thread/469225?ContentTypeID=1</link><pubDate>Fri, 16 Feb 2024 12:26:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c675f6a4-75c4-4d63-b864-625ff7027696</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I&amp;#39;m not so familiar with the unit test. But even for simulation, you still need to include the library for it to compile. So you would need to choose one of the folders.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: cannot build zephyr bluetooth tests in nrf-sdk</title><link>https://devzone.nordicsemi.com/thread/469220?ContentTypeID=1</link><pubDate>Fri, 16 Feb 2024 12:21:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e2d3a521-9076-4677-84cc-d3b616e6883d</guid><dc:creator>pquevedo</dc:creator><description>&lt;p&gt;These are unit-tests running on babblesim (posix environment). There is no physical target.&lt;/p&gt;
&lt;p&gt;Is the&amp;nbsp;nrf52_bsim board not supported in the nrf-sdk then?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: cannot build zephyr bluetooth tests in nrf-sdk</title><link>https://devzone.nordicsemi.com/thread/469211?ContentTypeID=1</link><pubDate>Fri, 16 Feb 2024 11:52:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:33f6adfe-b78c-4bbe-b072-24296407e539</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi pquevedo,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;It seems that the compiler couldn&amp;#39;t find the binary libraries:&amp;nbsp;libsoftdevice_controller_multirole.a ,&amp;nbsp;libmpsl.a.&amp;nbsp;&lt;br /&gt;You can find&amp;nbsp;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span&gt;libsoftdevice_controller_multirole.a in&amp;nbsp;\nrfxlib\softdevice_controller\lib\cortex-m4&lt;br /&gt;&lt;/span&gt;And&amp;nbsp;&lt;span&gt;libmpsl.a in&amp;nbsp;\nrfxlib\mpsl\lib\cortex-m4.&amp;nbsp;&lt;br /&gt;YOu would need to select the library folder that match with your chip floating point configuration. Then you&amp;nbsp;include in the project configuration the CONFIG_SOFTDEVICE_CONTROLLER_LIB_DIR and CONFIG_MPSL_LIB_DIR that point to the right folder.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;br /&gt;The reason you don&amp;#39;t have an issue with Zephyr controller is that Zephyr controller doesn&amp;#39;t use MPSL or Softdevice controller library.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>