<?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>nRF5340_audio buildprog aborts on Kconfig warnings</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/107391/nrf5340_audio-buildprog-aborts-on-kconfig-warnings</link><description>I am trying to build the nrf5340_audio demo application (\ncs\v2.5.1\nrf\applications\nrf5340_audio) using the suggested build script (buildprog.py). 
 I have been able to complete all the exercises in the SDK Fundamentals course with the instalation</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 18 Jan 2024 08:03:21 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/107391/nrf5340_audio-buildprog-aborts-on-kconfig-warnings" /><item><title>RE: nRF5340_audio buildprog aborts on Kconfig warnings</title><link>https://devzone.nordicsemi.com/thread/464726?ContentTypeID=1</link><pubDate>Thu, 18 Jan 2024 08:03:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b272ad94-e752-42e0-b923-a1f4e955ba14</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;I&amp;#39;m confused.&lt;/p&gt;
[quote user="Kai Harrekilde"]I&amp;#39;m using the nRF Connect SDK (and VSCode, but thats not suggested for building this app, according to the docs).[/quote]
&lt;p&gt;But you are referring to Zephyrproject 3.5.0&lt;/p&gt;
[quote user="Kai Harrekilde"] will either move or install an extra zephyrproject (v3.5.0) under &lt;span style="font-family:courier new, courier;"&gt;c:/ncs&lt;/span&gt; tomorrow[/quote]
&lt;p&gt;There should not be any reason to install zephyrproject. How did you install NCS? Through the nRF Connect for VS Code extension or our toolchain manager?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Also, in your build output it states zephyrproject (Zephyr version: 3.5.0 (C:/Users/KaiHarrekilde-Peters/Projects/test/zephyrproject/zephyr)) where if you are using NCS, it states e.g. Zephyr version: 3.4.99 (/opt/nordic/ncs/v2.5.1/zephyr)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5340_audio buildprog aborts on Kconfig warnings</title><link>https://devzone.nordicsemi.com/thread/464693?ContentTypeID=1</link><pubDate>Wed, 17 Jan 2024 21:36:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:64656fd0-11fb-4b32-8507-f187658f804a</guid><dc:creator>Kai Harrekilde</dc:creator><description>&lt;p&gt;I am stuck on this.&lt;/p&gt;
&lt;p&gt;[...]&lt;/p&gt;
&lt;p&gt;Edit: OK, the &lt;span style="font-family:courier new, courier;"&gt;--pristine&lt;/span&gt; option was what was needed to get it to pick up the new SDK location. There&amp;#39;s just too much caching of information going on IMHO.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Unfortunately, it did not make a difference - the build process breaks the same way. I will either move or install an extra zephyrproject (v3.5.0) under &lt;span style="font-family:courier new, courier;"&gt;c:/ncs&lt;/span&gt; tomorrow, just to rule out the too-long path theory.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5340_audio buildprog aborts on Kconfig warnings</title><link>https://devzone.nordicsemi.com/thread/464691?ContentTypeID=1</link><pubDate>Wed, 17 Jan 2024 20:50:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:31f5ae28-9f70-4101-9504-6b5ebe697f9f</guid><dc:creator>Kai Harrekilde</dc:creator><description>&lt;p&gt;Let me try. That&amp;#39;ll probably be tomorrow. Setting it all up takes a while.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5340_audio buildprog aborts on Kconfig warnings</title><link>https://devzone.nordicsemi.com/thread/464690?ContentTypeID=1</link><pubDate>Wed, 17 Jan 2024 20:50:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5666645d-a2f3-4efd-a92a-16ae43d214d1</guid><dc:creator>Kai Harrekilde</dc:creator><description>&lt;p&gt;I&amp;#39;m using the nRF Connect SDK (and VSCode, but thats not suggested for building this app, according to the docs).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5340_audio buildprog aborts on Kconfig warnings</title><link>https://devzone.nordicsemi.com/thread/464689?ContentTypeID=1</link><pubDate>Wed, 17 Jan 2024 20:47:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:51d7ccb7-9c97-431f-9bb0-08bf34b7b8de</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Out of curiosity, are you using nRF Connect SDK or Zephyr OS directly?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5340_audio buildprog aborts on Kconfig warnings</title><link>https://devzone.nordicsemi.com/thread/464688?ContentTypeID=1</link><pubDate>Wed, 17 Jan 2024 20:45:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7671c322-b6ce-4cfc-ae17-61c14af15cfc</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Are you able to move the SDK from c:/Users/KaiHarrekilde-Peters/Projects/test/ to e.g.&amp;nbsp;C:/ncs/ ? Wondering if the path is too long.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5340_audio buildprog aborts on Kconfig warnings</title><link>https://devzone.nordicsemi.com/thread/464685?ContentTypeID=1</link><pubDate>Wed, 17 Jan 2024 20:27:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b6a315ee-5a63-4e51-b80c-7d551dcc76a9</guid><dc:creator>Kai Harrekilde</dc:creator><description>&lt;p&gt;I did a parallel install of zephyrproject v3.5.0 to see if it made a difference.&lt;/p&gt;
&lt;p&gt;It didn&amp;#39;t&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;The warning about &lt;span style="font-family:courier new, courier;"&gt;BT_ATT_ENFORCE_FLOW&lt;/span&gt; disappears, but otherwise the problem persists.&lt;/p&gt;
&lt;p&gt;I just noticed that I forgot to mention that I had added &lt;span style="font-family:courier new, courier;"&gt;CONFIG_NEWLIB_LIBC=y&lt;/span&gt; to the &lt;span style="font-family:courier new, courier;"&gt;prj.conf&lt;/span&gt; file, but I have just confirmed that it made no difference.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;
(.venv) C:\ncs\prj\nrf5340_audio&amp;gt;python tools\buildprog\buildprog.py -c app -b debug -d gateway
+------------+----------+---------+--------------+---------------------+---------------------+
|    snr     | snr conn |  device | only reboot  | core app programmed | core net programmed |
+------------+----------+---------+--------------+---------------------+---------------------+
|    1000    |  False   | headset | Not selected |     Not selected    |     Not selected    |
| 1050170874 |   True   | gateway | Not selected |     Selected TBD    |     Not selected    |
|    1000    |  False   | headset | Not selected |     Not selected    |     Not selected    |
+------------+----------+---------+--------------+---------------------+---------------------+
Invoking build step
Run: west build C:\ncs\prj\nrf5340_audio -b nrf5340_audio_dk_nrf5340_cpuapp -d C:\ncs\prj\nrf5340_audio\build\dev_gateway\build_debug -DCONFIG_AUDIO_DEV=2
-- west build: generating a build system
Loading Zephyr default modules (Zephyr base).
-- Application: C:/ncs/prj/nrf5340_audio
-- CMake version: 3.27.9
-- Found Python3: C:/Users/KaiHarrekilde-Peters/Projects/test/zephyrproject/.venv/Scripts/python.exe (found suitable version &amp;quot;3.12.1&amp;quot;, minimum required is &amp;quot;3.8&amp;quot;) found components: Interpreter
-- Cache files will be written to: C:/Users/KaiHarrekilde-Peters/Projects/test/zephyrproject/zephyr/.cache
-- Zephyr version: 3.5.0 (C:/Users/KaiHarrekilde-Peters/Projects/test/zephyrproject/zephyr)
-- Found west (found suitable version &amp;quot;1.2.0&amp;quot;, minimum required is &amp;quot;0.14.0&amp;quot;)
-- Board: nrf5340_audio_dk_nrf5340_cpuapp
-- ZEPHYR_TOOLCHAIN_VARIANT not set, trying to locate Zephyr SDK
-- Found host-tools: zephyr 0.16.4 (C:/Users/KaiHarrekilde-Peters/Projects/zephyr-sdk-0.16.4)
-- Found toolchain: zephyr 0.16.4 (C:/Users/KaiHarrekilde-Peters/Projects/zephyr-sdk-0.16.4)
-- Found Dtc: C:/ProgramData/chocolatey/bin/dtc.exe (found suitable version &amp;quot;1.5.0&amp;quot;, minimum required is &amp;quot;1.4.6&amp;quot;)
-- Found BOARD.dts: C:/Users/KaiHarrekilde-Peters/Projects/test/zephyrproject/zephyr/boards/arm/nrf5340_audio_dk_nrf5340/nrf5340_audio_dk_nrf5340_cpuapp.dts
-- Generated zephyr.dts: C:/ncs/prj/nrf5340_audio/build/dev_gateway/build_debug/zephyr/zephyr.dts
-- Generated devicetree_generated.h: C:/ncs/prj/nrf5340_audio/build/dev_gateway/build_debug/zephyr/include/generated/devicetree_generated.h
-- Including generated dts.cmake file: C:/ncs/prj/nrf5340_audio/build/dev_gateway/build_debug/zephyr/dts.cmake

warning: NCS_INCLUDE_RPMSG_CHILD_IMAGE (defined at C:/ncs/prj/nrf5340_audio\Kconfig.defaults:23) defined without a typeParsing C:/ncs/prj/nrf5340_audio/Kconfig
Loaded configuration &amp;#39;C:/Users/KaiHarrekilde-Peters/Projects/test/zephyrproject/zephyr/boards/arm/nrf5340_audio_dk_nrf5340/nrf5340_audio_dk_nrf5340_cpuapp_defconfig&amp;#39;
Merged configuration &amp;#39;C:/ncs/prj/nrf5340_audio/prj.conf&amp;#39;
Merged configuration &amp;#39;C:/ncs/prj/nrf5340_audio/build/dev_gateway/build_debug/zephyr/misc/generated/extra_kconfig_options.conf&amp;#39;


warning: RESET_ON_FATAL_ERROR (defined at C:/ncs/prj/nrf5340_audio\Kconfig.defaults:28) defined without a type

warning: HW_CODEC_CIRRUS_LOGIC (defined at C:/ncs/prj/nrf5340_audio\Kconfig.defaults:32) defined without a type

warning: CONTIN_ARRAY (defined at C:/ncs/prj/nrf5340_audio\Kconfig.defaults:62) defined without a type

warning: PCM_MIX (defined at C:/ncs/prj/nrf5340_audio\Kconfig.defaults:68) defined without a type

warning: TONE (defined at C:/ncs/prj/nrf5340_audio\Kconfig.defaults:71) defined without a type

warning: PSCM (defined at C:/ncs/prj/nrf5340_audio\Kconfig.defaults:74) defined without a type

warning: DATA_FIFO (defined at C:/ncs/prj/nrf5340_audio\Kconfig.defaults:77) defined without a type

warning: BT_LL_ACS_NRF53 (defined at C:/ncs/prj/nrf5340_audio\Kconfig.defaults:145) defined without a type

warning: CONFIG_BT_MAX_PAIRED (defined at C:/ncs/prj/nrf5340_audio\Kconfig.defaults:156) defined without a type

warning: CONFIG_LC3_ENC_CHAN_MAX (defined at C:/ncs/prj/nrf5340_audio\Kconfig.defaults:160) defined without a type

warning: CONFIG_LIBLC3 (defined at C:/ncs/prj/nrf5340_audio\Kconfig.defaults:164) defined without a type

warning: CMSIS_DSP_FASTMATH (defined at C:/ncs/prj/nrf5340_audio\src/audio\Kconfig.defaults:20) defined without a type

warning: LC3_ENC_CHAN_MAX (defined at C:/ncs/prj/nrf5340_audio\src/audio\Kconfig.defaults:33, C:/ncs/prj/nrf5340_audio\src/audio\Kconfig.defaults:68) defined without a type

warning: LC3_DEC_CHAN_MAX (defined at C:/ncs/prj/nrf5340_audio\src/audio\Kconfig.defaults:36, C:/ncs/prj/nrf5340_audio\src/audio\Kconfig.defaults:71) defined without a type

warning: BT_PACS_SNK_CONTEXT (defined at C:/ncs/prj/nrf5340_audio\src/bluetooth\bt_stream/unicast\Kconfig.defaults:97) defined without a type

warning: BT_PACS_SRC_CONTEXT (defined at C:/ncs/prj/nrf5340_audio\src/bluetooth\bt_stream/unicast\Kconfig.defaults:101) defined without a type

error: Aborting due to Kconfig warnings

CMake Error at C:/Users/KaiHarrekilde-Peters/Projects/test/zephyrproject/zephyr/cmake/modules/kconfig.cmake:355 (message):
  command failed with return code: 1
Call Stack (most recent call first):
  C:/Users/KaiHarrekilde-Peters/Projects/test/zephyrproject/zephyr/cmake/modules/zephyr_default.cmake:129 (include)
  C:/Users/KaiHarrekilde-Peters/Projects/test/zephyrproject/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:66 (include)
  C:/Users/KaiHarrekilde-Peters/Projects/test/zephyrproject/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:92 (include_boilerplate)
  CMakeLists.txt:52 (find_package)


-- Configuring incomplete, errors occurred!
mFATAL ERROR: command exited with status 1: &amp;#39;C:\Program Files\CMake\bin\cmake.EXE&amp;#39; -DWEST_PYTHON=C:/Users/KaiHarrekilde-Peters/Projects/test/zephyrproject/.venv/Scripts/python.exe &amp;#39;-BC:\ncs\prj\nrf5340_audio\build\dev_gateway\build_debug&amp;#39; -GNinja -DBOARD=nrf5340_audio_dk_nrf5340_cpuapp -DCONFIG_AUDIO_DEV=2 &amp;#39;-SC:\ncs\prj\nrf5340_audio&amp;#39;
Traceback (most recent call last):
  File &amp;quot;C:\ncs\prj\nrf5340_audio\tools\buildprog\buildprog.py&amp;quot;, line 439, in &amp;lt;module&amp;gt;
    __main()
  File &amp;quot;C:\ncs\prj\nrf5340_audio\tools\buildprog\buildprog.py&amp;quot;, line 421, in __main
    __build_module(build_cfg, options)
  File &amp;quot;C:\ncs\prj\nrf5340_audio\tools\buildprog\buildprog.py&amp;quot;, line 167, in __build_module
    raise Exception(&amp;quot;cmake error: &amp;quot; + str(ret_val))
Exception: cmake error: 1

(.venv) C:\ncs\prj\nrf5340_audio&amp;gt;&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5340_audio buildprog aborts on Kconfig warnings</title><link>https://devzone.nordicsemi.com/thread/464353?ContentTypeID=1</link><pubDate>Tue, 16 Jan 2024 10:29:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:22efc5e4-53c7-4425-b2f7-4d69057808a6</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Hello,&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Sorry for the late reply. I will have a look at this and get back to you.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Kind regards,&lt;br /&gt;Øyvind&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>