<?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>Build in debug mode</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/112075/build-in-debug-mode</link><description>An error occurs when building nRF5340 Audio in debug mode using a script. 
 The version of ncs is 2.5.0. 
 The error is as follows: 
 -- Configuring incomplete, errors occurred! ←[91mFATAL ERROR: command exited with status 1: &amp;#39;C:\ncs\toolchains\c57af46cb7</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 25 Jun 2024 07:27:07 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/112075/build-in-debug-mode" /><item><title>RE: Build in debug mode</title><link>https://devzone.nordicsemi.com/thread/490491?ContentTypeID=1</link><pubDate>Tue, 25 Jun 2024 07:27:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1e2b8b26-b657-4fd1-9d7b-7335e8dc103d</guid><dc:creator>AHaug</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Noted.&lt;/p&gt;
&lt;p&gt;Could you expand on what OS you&amp;#39;re using, and how you&amp;#39;re building the application (just to exclude any simple mistakes for me when trying to recreate this behavior?&lt;/p&gt;
&lt;p&gt;Do you see the same error in NCS 2.5.3 as you do in NCS 2.5.0?&lt;/p&gt;
&lt;p&gt;What Audio controller are you aiming to use? Packetcraft controller or the Nordic Softdevice Controller? If it is the Softdevice controller (which is what we recommend that you use) you would have to migrate to NCS 2.6.x or newer.&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Build in debug mode</title><link>https://devzone.nordicsemi.com/thread/490142?ContentTypeID=1</link><pubDate>Mon, 24 Jun 2024 05:36:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eddd1242-a472-444e-8003-ec85fde3b233</guid><dc:creator>Junichi</dc:creator><description>&lt;p&gt;Thank you for your reply.&lt;/p&gt;
&lt;p&gt;I have not made any changes to the base source.&lt;/p&gt;
&lt;p&gt;I have added the following to the config file.&lt;/p&gt;
&lt;p&gt;CONFIG_TRANSPORT_BIS=n&lt;br /&gt;CONFIG_TRANSPORT_CIS=y&lt;br /&gt;CONFIG_STREAM_BIDIRECTIONAL=y&lt;br /&gt;CONFIG_AUDIO_SOURCE_USB=n&lt;br /&gt;CONFIG_AUDIO_SOURCE_I2S=y&lt;br /&gt;CONFIG_BOARD_ENABLE_DCDC_APP=n&lt;br /&gt;CONFIG_BOARD_ENABLE_DCDC_NET=n&lt;/p&gt;
&lt;p&gt;No errors occur when running with the Release script.&lt;/p&gt;
&lt;p&gt;An error occurs when using debug.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Build in debug mode</title><link>https://devzone.nordicsemi.com/thread/489002?ContentTypeID=1</link><pubDate>Mon, 17 Jun 2024 07:31:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2b3a8586-20d4-479b-8649-2311e0948da6</guid><dc:creator>AHaug</dc:creator><description>[quote user="Junichi"]error: BT_AUDIO_TX (defined at&lt;br /&gt;C:/Users/TSP_M1/nrf5340_audio\src/bluetooth\bt_stream/broadcast\Kconfig.defaults:86,&lt;br /&gt;C:/Users/TSP_M1/nrf5340_audio\src/bluetooth\bt_stream/unicast\Kconfig.defaults:113,&lt;br /&gt;C:/Users/TSP_M1/nrf5340_audio\src/bluetooth\bt_stream/unicast\Kconfig.defaults:183,&lt;br /&gt;C:/ncs/v2.5.0/zephyr/subsys/bluetooth/host\../audio/Kconfig:28,&lt;br /&gt;subsys/bluetooth\host\../audio/Kconfig:28) is assigned in a configuration file, but is not directly&lt;br /&gt;user-configurable (has no prompt). It gets its value indirectly from other symbols. See&lt;br /&gt;&lt;a href="http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_BT_AUDIO_TX"&gt;docs.zephyrproject.org/.../kconfig.html&lt;/a&gt; and/or look up BT_AUDIO_TX in&lt;br /&gt;the menuconfig/guiconfig interface. The Application Development Primer, Setting Configuration&lt;br /&gt;Values, and Kconfig - Tips and Best Practices sections of the manual might be helpful too.[/quote]
&lt;p&gt;Did you make any changes to the base application? I&amp;#39;m referring to this error which suggests that a configuration that is not user-configurable has been set in a configuration file.&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Andreas&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Build in debug mode</title><link>https://devzone.nordicsemi.com/thread/488774?ContentTypeID=1</link><pubDate>Fri, 14 Jun 2024 00:50:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3eeaeea5-c4e6-40de-bbd8-c6c9de93cf73</guid><dc:creator>Junichi</dc:creator><description>&lt;p&gt;List all the output from the build.&lt;/p&gt;
&lt;p&gt;C:\Users\TSP_M1\nrf5340_audio\tools\buildprog&amp;gt;python buildprog.py -c both -b debug -d both&lt;br /&gt;+------------+----------+---------+--------------+---------------------+---------------------+&lt;br /&gt;| snr | snr conn | device | only reboot | core app programmed | core net programmed |&lt;br /&gt;+------------+----------+---------+--------------+---------------------+---------------------+&lt;br /&gt;| 1050188709 | True | headset | Not selected | Selected TBD | Selected TBD |&lt;br /&gt;| 1050198852 | True | gateway | Not selected | Selected TBD | Selected TBD |&lt;br /&gt;| 1000 | False | headset | Not selected | Selected TBD | Selected TBD |&lt;br /&gt;+------------+----------+---------+--------------+---------------------+---------------------+&lt;br /&gt;Invoking build step&lt;br /&gt;Net core uses precompiled hex&lt;br /&gt;Run: west build C:\Users\TSP_M1\nrf5340_audio -b nrf5340_audio_dk_nrf5340_cpuapp -d C:\Users\TSP_M1\nrf5340_audio\build\dev_headset\build_debug -DCONFIG_AUDIO_DEV=1&lt;br /&gt;-- west build: generating a build system&lt;br /&gt;Loading Zephyr default modules (Zephyr base).&lt;br /&gt;-- Application: C:/Users/TSP_M1/nrf5340_audio&lt;br /&gt;-- CMake version: 3.20.5&lt;br /&gt;-- Using NCS Toolchain 2.5.20231017.848171396279 for building. (C:/ncs/toolchains/c57af46cb7/cmake)&lt;br /&gt;CMake Deprecation Warning at C:/ncs/v2.5.0/zephyr/cmake/modules/FindDeprecated.cmake:121 (message):&lt;br /&gt; &amp;#39;PYTHON_PREFER&amp;#39; variable is deprecated. Please use Python3_EXECUTABLE&lt;br /&gt; instead.&lt;br /&gt;Call Stack (most recent call first):&lt;br /&gt; C:/ncs/v2.5.0/zephyr/cmake/modules/python.cmake:16 (find_package)&lt;br /&gt; C:/ncs/v2.5.0/zephyr/cmake/modules/zephyr_default.cmake:129 (include)&lt;br /&gt; C:/ncs/v2.5.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:66 (include)&lt;br /&gt; C:/ncs/v2.5.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:92 (include_boilerplate)&lt;br /&gt; CMakeLists.txt:46 (find_package)&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;-- Found Python3: C:/ncs/toolchains/c57af46cb7/opt/bin/python.exe (found suitable version &amp;quot;3.8.2&amp;quot;, minimum required is &amp;quot;3.8&amp;quot;) found components: Interpreter&lt;br /&gt;-- Cache files will be written to: C:/ncs/v2.5.0/zephyr/.cache&lt;br /&gt;-- Zephyr version: 3.4.99 (C:/ncs/v2.5.0/zephyr)&lt;br /&gt;-- Found west (found suitable version &amp;quot;1.1.0&amp;quot;, minimum required is &amp;quot;0.14.0&amp;quot;)&lt;br /&gt;-- Board: nrf5340_audio_dk_nrf5340_cpuapp&lt;br /&gt;-- Found host-tools: zephyr 0.16.1 (C:/ncs/toolchains/c57af46cb7/opt/zephyr-sdk)&lt;br /&gt;-- Found toolchain: zephyr 0.16.1 (C:/ncs/toolchains/c57af46cb7/opt/zephyr-sdk)&lt;br /&gt;-- Found Dtc: C:/ncs/toolchains/c57af46cb7/opt/bin/dtc.exe (found suitable version &amp;quot;1.4.7&amp;quot;, minimum required is &amp;quot;1.4.6&amp;quot;)&lt;/p&gt;
&lt;p&gt;-- Found BOARD.dts: C:/ncs/v2.5.0/zephyr/boards/arm/nrf5340_audio_dk_nrf5340/nrf5340_audio_dk_nrf5340_cpuapp.dts&lt;br /&gt;-- Generated zephyr.dts: C:/Users/TSP_M1/nrf5340_audio/build/dev_headset/build_debug/zephyr/zephyr.dts&lt;br /&gt;-- Generated devicetree_generated.h: C:/Users/TSP_M1/nrf5340_audio/build/dev_headset/build_debug/zephyr/include/generated/devicetree_generated.h&lt;br /&gt;-- Including generated dts.cmake file: C:/Users/TSP_M1/nrf5340_audio/build/dev_headset/build_debug/zephyr/dts.cmake&lt;br /&gt;Parsing C:/Users/TSP_M1/nrf5340_audio/Kconfig&lt;br /&gt;Loaded configuration &amp;#39;C:/ncs/v2.5.0/zephyr/boards/arm/nrf5340_audio_dk_nrf5340/nrf5340_audio_dk_nrf5340_cpuapp_defconfig&amp;#39;&lt;br /&gt;Merged configuration &amp;#39;C:/Users/TSP_M1/nrf5340_audio/prj.conf&amp;#39;&lt;br /&gt;Merged configuration &amp;#39;C:/Users/TSP_M1/nrf5340_audio/build/dev_headset/build_debug/zephyr/misc/generated/extra_kconfig_options.conf&amp;#39;&lt;/p&gt;
&lt;p&gt;error: BT_AUDIO_TX (defined at&lt;br /&gt;C:/Users/TSP_M1/nrf5340_audio\src/bluetooth\bt_stream/broadcast\Kconfig.defaults:86,&lt;br /&gt;C:/Users/TSP_M1/nrf5340_audio\src/bluetooth\bt_stream/unicast\Kconfig.defaults:113,&lt;br /&gt;C:/Users/TSP_M1/nrf5340_audio\src/bluetooth\bt_stream/unicast\Kconfig.defaults:183,&lt;br /&gt;C:/ncs/v2.5.0/zephyr/subsys/bluetooth/host\../audio/Kconfig:28,&lt;br /&gt;subsys/bluetooth\host\../audio/Kconfig:28) is assigned in a configuration file, but is not directly&lt;br /&gt;user-configurable (has no prompt). It gets its value indirectly from other symbols. See&lt;br /&gt;&lt;a href="http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_BT_AUDIO_TX"&gt;docs.zephyrproject.org/.../kconfig.html&lt;/a&gt; and/or look up BT_AUDIO_TX in&lt;br /&gt;the menuconfig/guiconfig interface. The Application Development Primer, Setting Configuration&lt;br /&gt;Values, and Kconfig - Tips and Best Practices sections of the manual might be helpful too.&lt;/p&gt;
&lt;p&gt;CMake Error at C:/ncs/v2.5.0/zephyr/cmake/modules/kconfig.cmake:348 (message):&lt;br /&gt; command failed with return code: 1&lt;br /&gt;Call Stack (most recent call first):&lt;br /&gt; C:/ncs/v2.5.0/nrf/cmake/modules/kconfig.cmake:29 (include)&lt;br /&gt; C:/ncs/v2.5.0/zephyr/cmake/modules/zephyr_default.cmake:129 (include)&lt;br /&gt; C:/ncs/v2.5.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:66 (include)&lt;br /&gt; C:/ncs/v2.5.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:92 (include_boilerplate)&lt;br /&gt; CMakeLists.txt:46 (find_package)&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;-- Configuring incomplete, errors occurred!&lt;br /&gt;&amp;larr;[91mFATAL ERROR: command exited with status 1: &amp;#39;C:\ncs\toolchains\c57af46cb7\opt\bin\cmake.EXE&amp;#39; -DWEST_PYTHON=C:/ncs/toolchains/c57af46cb7/opt/bin/python.exe &amp;#39;-BC:\Users\TSP_M1\nrf5340_audio\build\dev_headset\build_debug&amp;#39; -GNinja -DBOARD=nrf5340_audio_dk_nrf5340_cpuapp -DCONFIG_AUDIO_DEV=1 &amp;#39;-SC:\Users\TSP_M1\nrf5340_audio&amp;#39;&lt;br /&gt;&amp;larr;[0mTraceback (most recent call last):&lt;br /&gt; File &amp;quot;buildprog.py&amp;quot;, line 439, in &amp;lt;module&amp;gt;&lt;br /&gt; __main()&lt;br /&gt; File &amp;quot;buildprog.py&amp;quot;, line 421, in __main&lt;br /&gt; __build_module(build_cfg, options)&lt;br /&gt; File &amp;quot;buildprog.py&amp;quot;, line 167, in __build_module&lt;br /&gt; raise Exception(&amp;quot;cmake error: &amp;quot; + str(ret_val))&lt;br /&gt;Exception: cmake error: 1&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Build in debug mode</title><link>https://devzone.nordicsemi.com/thread/488664?ContentTypeID=1</link><pubDate>Thu, 13 Jun 2024 11:54:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c61d41fb-a1d9-4eb4-81d0-031d8e49c1d7</guid><dc:creator>AHaug</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Could you attach the entire build log?&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>