<?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>Compiler Error with &amp;quot;Bluetooth LE Direct Test Mode&amp;quot; Example</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/104057/compiler-error-with-bluetooth-le-direct-test-mode-example</link><description>Hallo, 
 when creating an new example which is based on the &amp;quot;Bluetooth LE Direct Test Mode&amp;quot;, the build process ends with error. 
 
 Hardware: nRF5340-DK 
 SDK: 2.4.2 
 build Configuration: 
 
 Build Output: 
 
 
 With the SDK 2.0.0 there was no problem</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 26 Sep 2023 13:01:41 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/104057/compiler-error-with-bluetooth-le-direct-test-mode-example" /><item><title>RE: Compiler Error with "Bluetooth LE Direct Test Mode" Example</title><link>https://devzone.nordicsemi.com/thread/447732?ContentTypeID=1</link><pubDate>Tue, 26 Sep 2023 13:01:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c4609b82-7807-4e71-96c5-83308cfb0347</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi Georg,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I&amp;#39;m sorry for misunderstanding. I was now able to recreate the scenario.&lt;/p&gt;
&lt;p&gt;As you mention,&amp;nbsp;you explicitly select &amp;quot;prj.conf&amp;quot;, the build system does not seem to pick up child_image&amp;#39;s, like the &amp;quot;remote_shell&amp;quot;, and fail to build due to this missing image for the app core cpu.&lt;/p&gt;
&lt;p&gt;The problem is that it will still pick up the boards/nrf5340dk_nrf5340_cpunet.overlay file, which points to the IPC interface (for communication between the two cores), but the IPC itself isn&amp;#39;t included (ie. the boards/nrf5340dk_nrf5340_cpunet&lt;strong&gt;.conf&lt;/strong&gt; file), as we&amp;#39;ve overridden the CONF_FILE parameter.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;In the console, we can see the echo&amp;#39;ed west command for a non-working build:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;west build --build-dir /tmp/direct_test_mode_1/build_4 /tmp/direct_test_mode_1 --pristine --board nrf5340dk_nrf5340_cpunet --no-sysbuild -- -DNCS_TOOLCHAIN_VERSION:STRING=&amp;quot;NONE&amp;quot; -DCONF_FILE:STRING=&amp;quot;/tmp/direct_test_mode_1/prj.conf&amp;quot;&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;vs. a working build:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;west build --build-dir /tmp/direct_test_mode_1/build_6 /tmp/direct_test_mode_1 --pristine --board nrf5340dk_nrf5340_cpunet --no-sysbuild -- -DNCS_TOOLCHAIN_VERSION:STRING=&amp;quot;NONE&amp;quot;&lt;/pre&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;CONF_FILE will override overall kconfig selection, while the&amp;nbsp;wanted functionality in this scenario would likely be;&amp;nbsp;EXTRA_CONF_FILE will overload (ie. add a new) Kconfig selection:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://docs.zephyrproject.org/latest/develop/application/index.html#important-build-system-variables"&gt;https://docs.zephyrproject.org/latest/develop/application/index.html#important-build-system-variables&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The latter functionality is provided in vscode via the &amp;quot;Kconfig fragments&amp;quot; selection when creating the build.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Compiler Error with "Bluetooth LE Direct Test Mode" Example</title><link>https://devzone.nordicsemi.com/thread/447657?ContentTypeID=1</link><pubDate>Tue, 26 Sep 2023 09:04:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ca424244-420e-478d-b002-0bfa98c13385</guid><dc:creator>Georg</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;when changing the build configuraion the compile error disappears.&lt;/p&gt;
&lt;p&gt;This can be achieved by changing the &lt;strong&gt;Configuraion&lt;/strong&gt; from &amp;quot;&lt;strong&gt;prj.conf&lt;/strong&gt;&amp;quot; to &amp;quot;&lt;strong&gt;Use build system default&lt;/strong&gt;&amp;quot;.&lt;/p&gt;
&lt;p&gt;&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/pastedimage1695719010591v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;What is the reason for this ?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Georg&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Compiler Error with "Bluetooth LE Direct Test Mode" Example</title><link>https://devzone.nordicsemi.com/thread/447539?ContentTypeID=1</link><pubDate>Mon, 25 Sep 2023 15:00:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a85daa71-37f1-4a07-9066-6461d2d00518</guid><dc:creator>Georg</dc:creator><description>&lt;div&gt;
&lt;div&gt;&lt;span&gt;Hello,&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div&gt;&lt;span&gt;I didn&amp;#39;t any modification. &amp;nbsp;I think you could reproduce the problem when creating your own project which is basing on the&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div&gt;&lt;span&gt;&amp;quot;Bluetooth LE Direct Test Mode&amp;quot; example.&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div&gt;&lt;span&gt;When looking at line 73 there ist just: &amp;quot;is_msb_read = false;&amp;quot;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;It seems to be ok!&lt;/span&gt;&lt;/div&gt;
&lt;/div&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/pastedimage1695653663137v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&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/pastedimage1695653649693v1.png" alt=" " /&gt;&lt;/strong&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;/p&gt;
&lt;p&gt;Georg&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Compiler Error with "Bluetooth LE Direct Test Mode" Example</title><link>https://devzone.nordicsemi.com/thread/447534?ContentTypeID=1</link><pubDate>Mon, 25 Sep 2023 14:30:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e9e77b55-726a-4b4c-9c6c-b99c402959db</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Did you make any changes to the example after copying it out?&lt;/p&gt;
&lt;p&gt;It seems to point to a line in main that does not align with a missing device:&lt;/p&gt;
[quote user=""]C:\Projekte\direct_test_mode\src\main.c:73: undefined reference to `__device_dts_ord_65&amp;#39;[/quote]
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>