<?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>Trouble migrating from NCS 2.6 to 2.8</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/117362/trouble-migrating-from-ncs-2-6-to-2-8</link><description>Due to issues with the wifi stack, I have to move my project from 2.6 to 2.8. 
 I downloaded the new tools set (toolchains\cf2149caf2) and new nordic connect version 2.8.0 as per 
 https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/installation/updating</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sun, 12 Jan 2025 13:17:18 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/117362/trouble-migrating-from-ncs-2-6-to-2-8" /><item><title>RE: Trouble migrating from NCS 2.6 to 2.8</title><link>https://devzone.nordicsemi.com/thread/518057?ContentTypeID=1</link><pubDate>Sun, 12 Jan 2025 13:17:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cd126ab4-9f91-4439-8a0c-d5b8768efbe0</guid><dc:creator>willdean</dc:creator><description>&lt;p&gt;Please accept&amp;nbsp;my gratitude for working through this!&amp;nbsp; I have just moved a project from 2.7 to 2.9 and&amp;nbsp;had exactly this problem (among others).&amp;nbsp; Your two weeks (of undoubted misery) was a great benefit to me.&lt;/p&gt;
&lt;p&gt;What a shambles this project is.&amp;nbsp; Not sure who the target audience is, but I don&amp;#39;t feel like I&amp;#39;m it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Trouble migrating from NCS 2.6 to 2.8</title><link>https://devzone.nordicsemi.com/thread/516776?ContentTypeID=1</link><pubDate>Fri, 03 Jan 2025 10:45:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3b94f1c0-8b82-456a-88dc-ce462d09e7d5</guid><dc:creator>BrianW</dc:creator><description>&lt;p&gt;Running the debugger through the bt_enable code (not fun with the different in-line and macro encapsulations btw...) led me to think that the function hooks for the hci ipc driver are not initialised correctly.&lt;/p&gt;
&lt;p&gt;The code has a lot of macros of type DT_HAS_DRIVERxxx, searching the forum found me this post&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/117369/nrf5340-custom-board-bt_hci_core-no-hci-driver-registered---bluetooth-init-failed-err--19"&gt;nrf5340 custom board:  bt_hci_core: No HCI driver registered - Bluetooth init failed (err -19)&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Although I had a crash rather than a error code, it turned out to be a similar issue.&lt;/p&gt;
&lt;p&gt;My DTS from 2.6 had in the chosen section the correct chosen name:&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;nbsp; &amp;nbsp;chosen {&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;...&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; zephyr,bt-hci = &amp;amp;ipc0;&amp;nbsp; &amp;nbsp; &amp;nbsp; // BAD&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; zephyr,bt-hci-ipc = &amp;amp;ipc0;&amp;nbsp; // IRRELEVANT&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;...&lt;/span&gt;&lt;/div&gt;
&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;};&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;Turns out that in NCS 2.8, &lt;strong&gt;you MUST have the chosen point to the specific bt_hci_ipc0 node:&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; zephyr,bt-hci = &amp;amp;bt_hci_ipc0;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;If you don&amp;#39;t set it at all you get the init failed log, if you set it to &amp;amp;ipc0 you will get the core dump (thanks for that).&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;btw, the chosen name &amp;quot;&lt;span&gt;zephyr,bt-hci-ipc&amp;quot;&amp;nbsp;now appears to be ignored and can be omitted.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;The definition of bt_hci_ipc0 is found in zephyr/dts/arm/nordic/nrf5340_cpuapp_ipc.dtsi:&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;ipc0: ipc0 {&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;nbsp; &amp;nbsp; compatible = &amp;quot;zephyr,ipc-openamp-static-vrings&amp;quot;;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;nbsp; &amp;nbsp; memory-region = &amp;lt;&amp;amp;sram0_shared&amp;gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;nbsp; &amp;nbsp; mboxes = &amp;lt;&amp;amp;mbox 0&amp;gt;, &amp;lt;&amp;amp;mbox 1&amp;gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;nbsp; &amp;nbsp; mbox-names = &amp;quot;tx&amp;quot;, &amp;quot;rx&amp;quot;;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;nbsp; &amp;nbsp; role = &amp;quot;host&amp;quot;;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;nbsp; &amp;nbsp; status = &amp;quot;okay&amp;quot;;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;nbsp; &amp;nbsp; bt_hci_ipc0: bt_hci_ipc0 {&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; compatible = &amp;quot;zephyr,bt-hci-ipc&amp;quot;;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; status = &amp;quot;okay&amp;quot;;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;nbsp; &amp;nbsp; };&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;};&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;Why the chosen has to point to bt_hci_ipc0 and not ipc0 is completely opaque to me, I can find NO documentation about this in the nordic or zephyr docs.&amp;nbsp;&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;Also, just for fun, note that the CPUNET dts requires this chosen line:&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;zephyr,bt-hci-ipc = &amp;amp;ipc0;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;and &lt;strong&gt;cannot&lt;/strong&gt; refer to bt_hci_ipc0 as this node does not exist for the CPUNET image build (in nrf5340_cpunet.dtsi there is just ipc0)...&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;On tyhe positive side, it seems that the NCS 2.6 CPUNET build image will work with the 2.8 CPUAPP image, although I haven&amp;#39;t fully tested everything yet due to the need to clean up all the various changes made over the last 2 weeks trying to get this to run....&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Trouble migrating from NCS 2.6 to 2.8</title><link>https://devzone.nordicsemi.com/thread/516220?ContentTypeID=1</link><pubDate>Tue, 24 Dec 2024 12:02:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:63288d82-53d0-4c2c-9eec-83b68c5f99b5</guid><dc:creator>BrianW</dc:creator><description>&lt;p&gt;Blocking issue for now is that I cannot get the BLE HCI to start without this error:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;[00:00:09.128,051] &amp;lt;wrn&amp;gt; app: NetBLE starting....
[00:00:09.134,338] &amp;lt;err&amp;gt; os: ***** USAGE FAULT *****
[00:00:09.139,923] &amp;lt;err&amp;gt; os:   Unaligned memory access
[00:00:09.145,751] &amp;lt;err&amp;gt; os: r0/a1:  0xc8c3b562  r1/a2:  0x601d8767  r2/a3:  0x9939399b
[00:00:09.154,418] &amp;lt;err&amp;gt; os: r3/a4:  0x0002dff5 r12/ip:  0x01010101 r14/lr:  0x0002e01d
[00:00:09.163,085] &amp;lt;err&amp;gt; os:  xpsr:  0x21000200
[00:00:09.168,304] &amp;lt;err&amp;gt; os: Faulting instruction address (r15/pc): 0x00073cde
[00:00:09.176,208] &amp;lt;err&amp;gt; os: &amp;gt;&amp;gt;&amp;gt; ZEPHYR FATAL ERROR 31: Unknown error on CPU 0
[00:00:09.184,082] &amp;lt;err&amp;gt; os: Current thread: 0x20007d60 (sysworkq)
[00:00:09.190,948] &amp;lt;err&amp;gt; os: Halting system
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;This is as soon as the application calls bt_enable(NULL); The wifi stack is not yet started BTW so shouldn&amp;#39;t be causing an issue....&lt;/p&gt;
&lt;p&gt;Call stack from the debugger:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;arch_system_halt@0x000b59ee (c:\ncs\v2.8.0\zephyr\kernel\fatal.c:30)
k_sys_fatal_error_handler@0x000742d6 (c:\ncs\v2.8.0\zephyr\kernel\fatal.c:44)
z_fatal_error@0x00074378 (c:\ncs\v2.8.0\zephyr\kernel\fatal.c:119)
z_arm_fatal_error@0x0004b594 (c:\ncs\v2.8.0\zephyr\arch\arm\core\fatal.c:86)
z_arm_fault@0x0004bad8 (c:\ncs\v2.8.0\zephyr\arch\arm\core\cortex_m\fault.c:1157)
z_arm_usage_fault@0x0004bbbc (c:\ncs\v2.8.0\zephyr\arch\arm\core\cortex_m\fault_s.S:102)
&amp;lt;signal handler called&amp;gt;@0xfffffffd (Unknown Source:0)
rpmsg_send_offchannel_raw@0x00073cde (c:\ncs\v2.8.0\modules\lib\open-amp\open-amp\lib\rpmsg\rpmsg.c:131)
rpmsg_send@0x0002e01c (c:\ncs\v2.8.0\modules\lib\open-amp\open-amp\lib\include\openamp\rpmsg.h:204)
send@0x0002e01c (c:\ncs\v2.8.0\zephyr\subsys\ipc\ipc_service\backends\ipc_rpmsg_static_vrings.c:525)
hci_core_send_cmd@0x0004ef36 (c:\ncs\v2.8.0\zephyr\subsys\bluetooth\host\hci_core.c:3012)
process_pending_cmd@0x0004ef36 (c:\ncs\v2.8.0\zephyr\subsys\bluetooth\host\hci_core.c:4722)
bt_hci_cmd_send_sync@0x0004f016 (c:\ncs\v2.8.0\zephyr\subsys\bluetooth\host\hci_core.c:422)
common_init@0x0004f0d0 (c:\ncs\v2.8.0\zephyr\subsys\bluetooth\host\hci_core.c:3222)
hci_init@0x0004f0d0 (c:\ncs\v2.8.0\zephyr\subsys\bluetooth\host\hci_core.c:3974)
bt_init@0x0004f0d0 (c:\ncs\v2.8.0\zephyr\subsys\bluetooth\host\hci_core.c:4187)
_netble_start@0x0001396e (c:\work\dev\if-device-nrf53\cc1-med\src\net\netble.c:1338)
_app_event_handler@0x0001396e (c:\work\dev\if-device-nrf53\cc1-med\src\net\netble.c:1446)
event_processor_fn@0x000312b8 (c:\ncs\v2.8.0\nrf\subsys\app_event_manager\app_event_manager.c:190)
work_queue_main@0x00074de8 (c:\ncs\v2.8.0\zephyr\kernel\work.c:688)&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;I have tried with the prj.conf setup reduced to the minimum:&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;# BT/BLE config&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;CONFIG_BT=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;CONFIG_BT_PERIPHERAL=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&lt;span style="font-family:arial, helvetica, sans-serif;"&gt;but still the same error.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&lt;span style="font-family:arial, helvetica, sans-serif;"&gt;This happens whether using the CPU-NET image from previous 2.6 build, from the current&amp;nbsp; project&amp;#39;s hci_ipc v2.8 build, or from the sample &amp;#39;extended_adv/advertiser&amp;#39; built with v2.8.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&lt;span style="font-family:arial, helvetica, sans-serif;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&lt;span style="font-family:arial, helvetica, sans-serif;"&gt;hci_ipc.conf:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&lt;span style="font-family:arial, helvetica, sans-serif;"&gt;&lt;pre class="ui-code" data-mode="text"&gt;#
# Copyright (c) 2021 Nordic Semiconductor
#
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
#

CONFIG_BT_CTLR_ADV_SET=2
CONFIG_BT_CTLR_ADV_EXT=y
CONFIG_BT_CTLR_DATA_LENGTH_MAX=251
CONFIG_BT_BUF_ACL_RX_SIZE=251
CONFIG_BT_BUF_ACL_TX_SIZE=251
CONFIG_BT_MAX_CONN=1

CONFIG_BT_EXT_ADV=y
CONFIG_BT_EXT_ADV_MAX_ADV_SET=2
CONFIG_BT_DATA_LEN_UPDATE=y
CONFIG_BT_USER_DATA_LEN_UPDATE=y
# added to try to get 2.8 working
CONFIG_IPC_SERVICE=y
CONFIG_MBOX=y
CONFIG_BT_HCI_RAW=y
CONFIG_BT_BUF_CMD_TX_COUNT=10
&lt;/pre&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&lt;span style="font-family:arial, helvetica, sans-serif;"&gt;(I copied in the lines from the advertiser sample to see if that helped, but no...)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&lt;span style="font-family:arial, helvetica, sans-serif;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&lt;span style="font-family:arial, helvetica, sans-serif;"&gt;The advertiser sample runs OK with the hci_ipc CPU-NET build from its project, but gives:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&lt;span style="font-family:arial, helvetica, sans-serif;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;Bluetooth init failed (err -5)&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&lt;span style="font-family:arial, helvetica, sans-serif;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&lt;span style="font-family:arial, helvetica, sans-serif;"&gt;with either the v2.6 project build CPU-NET, or the v2.8 main project CPU-NET...&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&lt;span style="font-family:arial, helvetica, sans-serif;"&gt;(but no memory fault in either case)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&lt;span style="font-family:arial, helvetica, sans-serif;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&lt;span style="font-family:arial, helvetica, sans-serif;"&gt;Any ideas on what I can try?&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Trouble migrating from NCS 2.6 to 2.8</title><link>https://devzone.nordicsemi.com/thread/516154?ContentTypeID=1</link><pubDate>Mon, 23 Dec 2024 15:20:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:38488e3f-092a-4912-8bba-d5e52c41811d</guid><dc:creator>BrianW</dc:creator><description>&lt;p&gt;I have posted this as a seperate case together with my &amp;#39;fix&amp;#39;, to check if the change I made is reasonable and reliable or not. Please see:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/117535/nrf5340-anomaly-159-workaround-not-a-workaround-breaks-qpsi-flash-use-on-ncs-2-8-0"&gt;nrf5340 Anomaly 159 Workaround : not a workaround? Breaks QPSI Flash use on NCS 2.8.0&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;and give me an opinion.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Trouble migrating from NCS 2.6 to 2.8</title><link>https://devzone.nordicsemi.com/thread/516152?ContentTypeID=1</link><pubDate>Mon, 23 Dec 2024 14:36:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:95d08301-e3aa-4659-97e0-89a4457547ac</guid><dc:creator>BrianW</dc:creator><description>[quote userid="134465" url="~/f/nordic-q-a/117362/trouble-migrating-from-ncs-2-6-to-2-8/516111"]&lt;p&gt;now stuck with external flash access (as FAT32 filesystem) as this happens:&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div class="evolution-code-editor theme-clouds"&gt;&lt;a href="#" class="fullscreen"&gt;Fullscreen&lt;/a&gt;&lt;div style="width:100%;height:28px;" class=" ace_editor ace-clouds"&gt;&lt;div class="ace_gutter"&gt;&lt;div class="ace_layer ace_gutter-layer ace_folding-enabled" style="margin-top:0px;height:56px;width:40px;"&gt;&lt;div class="ace_gutter-cell " style="height:14px;"&gt;1&lt;/div&gt;&lt;div class="ace_gutter-cell " style="height:14px;"&gt;2&lt;/div&gt;&lt;/div&gt;&lt;div class="ace_gutter-active-line" style="display:none;"&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="ace_scroller" style="left:40px;right:0px;bottom:0px;"&gt;&lt;div class="ace_content" style="margin-top:0px;width:622px;height:56px;margin-left:0px;"&gt;&lt;div class="ace_layer ace_print-margin-layer"&gt;&lt;div class="ace_print-margin" style="left:531.825px;"&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="ace_layer ace_marker-layer"&gt;&lt;/div&gt;&lt;div class="ace_layer ace_text-layer" style="padding:0px 4px;"&gt;&lt;div class="ace_line" style="height:14px;"&gt;[00:00:09.943,542] &amp;lt;err&amp;gt; qspi_nor: nRF5340 anomaly 159 conditions detected&lt;/div&gt;&lt;div class="ace_line" style="height:14px;"&gt;[00:00:09.951,019] &amp;lt;err&amp;gt; qspi_nor: Set the CPU clock to 64 MHz before starting QSPI operation&lt;/div&gt;&lt;/div&gt;&lt;div class="ace_layer ace_marker-layer"&gt;&lt;/div&gt;&lt;div class="ace_layer ace_cursor-layer ace_hidden-cursors"&gt;&lt;div class="ace_cursor" style="left:4px;top:0px;width:6.59781px;height:14px;"&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="ace_scrollbar ace_scrollbar-v" style="display:none;width:22px;bottom:0px;"&gt;&lt;div class="ace_scrollbar-inner" style="width:22px;height:28px;"&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="ace_scrollbar ace_scrollbar-h" style="display:none;height:22px;left:40px;right:0px;"&gt;&lt;div class="ace_scrollbar-inner" style="height:22px;width:622px;"&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style="height:auto;width:auto;top:0px;left:0px;position:absolute;white-space:pre;font:inherit;overflow:hidden;"&gt;&lt;div style="height:auto;width:auto;top:0px;left:0px;position:absolute;white-space:pre;font:inherit;overflow:visible;"&gt;&lt;/div&gt;&lt;div style="height:auto;width:auto;top:0px;left:0px;position:absolute;white-space:pre;font-style:inherit;font-size:inherit;line-height:inherit;font-family:inherit;overflow:visible;"&gt;XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="content-scrollable-wrapper" style="max-width:100%;overflow:auto;max-height:none;"&gt;&lt;pre class="ui-code" data-mode="text" style="display:none;"&gt;[00:00:09.943,542] &amp;lt;err&amp;gt; qspi_nor: nRF5340 anomaly 159 conditions detected
[00:00:09.951,019] &amp;lt;err&amp;gt; qspi_nor: Set the CPU clock to 64 MHz before starting QSPI operation&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;
&lt;p&gt;and then the filesystem access (ELM) is broken.&lt;/p&gt;
&lt;p&gt;This appears to be a &amp;#39;fix&amp;#39; for anomly 159 (which I was not aware of experiencing). Why does this break FS access? (which stops the app loading the wifi config to test WPA connection!)&lt;/p&gt;[/quote]
&lt;p&gt;Digging into this, the log comes from zephyr/drivers/flasqh/nrf_qspi_nor.c (which uses modules/hal/nordic/nrfx/drivers/src/nrf_qpsi.c). The log is actually just when the code translates the underlying error of&amp;nbsp; NRFX_ERROR_FORBIDDEN into a ECANCELED:&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;#if NRF53_ERRATA_159_ENABLE_WORKAROUND&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;nbsp; &amp;nbsp; case NRFX_ERROR_FORBIDDEN:&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; LOG_ERR(&amp;quot;nRF5340 anomaly 159 conditions detected&amp;quot;);&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; LOG_ERR(&amp;quot;Set the CPU clock to 64 MHz before starting QSPI operation&amp;quot;);&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return -ECANCELED;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;#endif&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;The code in nrf_qspi&amp;ccedil;nor.c deals with forcing the first condition for the workaround of the anomaly 159 (HCLK_192M divider should be 0), but not the second (CPU clock must be 64HMz ie divider set to 1). And this is what is detected in nrfs_qspi.c :&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;pre class="ui-code" data-mode="text"&gt;static bool .qspi_errata_159_conditions_check(void)
{
#if NRF_CLOCK_HAS_HFCLK192M &amp;amp;&amp;amp; NRF53_ERRATA_159_ENABLE_WORKAROUND
    if ((nrf_clock_hfclk192m_div_get(NRF_CLOCK) != NRF_CLOCK_HFCLK_DIV_1) ||
        (nrf_clock_hfclk_div_get(NRF_CLOCK) != NRF_CLOCK_HFCLK_DIV_2))
    {
        return true;
    }
    else
#endif
    {
        return false;
    }
}&lt;/pre&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;Given that the flash qspi access already does the job of changing the hclk192M divider before and after access, why doesn&amp;#39;t it also change the CPU clock to avoid the issue? Instead it just logs that it detected it and thats why your&amp;nbsp;app is stuffed...&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Trouble migrating from NCS 2.6 to 2.8</title><link>https://devzone.nordicsemi.com/thread/516111?ContentTypeID=1</link><pubDate>Mon, 23 Dec 2024 12:04:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:717d0e9e-a3c8-4c83-98cb-6f654211c5b1</guid><dc:creator>BrianW</dc:creator><description>&lt;p&gt;Update:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;- updated app code to deal with I2S and PDM API breaking changes&lt;/p&gt;
&lt;p&gt;&amp;nbsp;-&amp;nbsp;updated BLE code to deal with removal of&amp;nbsp;bt_read_static_address()&lt;/p&gt;
&lt;p&gt;&amp;nbsp;The build now completes in child_image mode (sysbuild is for another day).&lt;/p&gt;
&lt;p&gt;Subsequently testing the generated image:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;- increased system heap size from 70kB to 100kB to deal with increased malloc demands (probably wpa_supplient)&lt;/p&gt;
&lt;p&gt;&amp;nbsp;- increased syswordq stack size from 4kB to 8kB to avoid stack overflow&lt;/p&gt;
&lt;p&gt;&amp;nbsp;- disabled BLE as this crashes when calling bt_enable(NULL).&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt; [00:01:32.781,463] &amp;lt;err&amp;gt; os: ***** BUS FAULT *****
[00:01:32.786,865] &amp;lt;err&amp;gt; os:   Precise data bus error
[00:01:32.792,602] &amp;lt;err&amp;gt; os:   BFAR Address: 0xb722ca38
[00:01:32.798,522] &amp;lt;err&amp;gt; os: r0/a1:  0xb722c9b4  r1/a2:  0x3fa470b8  r2/a3:  0x6a22f762
[00:01:32.807,189] &amp;lt;err&amp;gt; os: r3/a4:  0x0002e335 r12/ip:  0x01010101 r14/lr:  0x0002e35d
[00:01:32.815,826] &amp;lt;err&amp;gt; os:  xpsr:  0x21000200
[00:01:32.821,044] &amp;lt;err&amp;gt; os: Faulting instruction address (r15/pc): 0x00075c16
[00:01:32.828,948] &amp;lt;err&amp;gt; os: &amp;gt;&amp;gt;&amp;gt; ZEPHYR FATAL ERROR 25: Unknown error on CPU 0
[00:01:32.836,822] &amp;lt;err&amp;gt; os: Current thread: 0x20007ba0 (sysworkq)
[00:01:32.843,688] &amp;lt;err&amp;gt; os: Halting system
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;I cannot find what causes this yet - the debugger shows its in the hci_init(). This worked fine on 2.6. Removed any shared ram/HCI partition stuff but no difference...I have tried updating the CPU-NET image with the new build in case not compatible but no difference.... (hoping that this is not necessary as this will make DFU for my existing devices hard as hadn&amp;#39;t got CPU-NET update to work yet with mcuboot...)&lt;/p&gt;
&lt;p&gt;Any ideas?&lt;/p&gt;
&lt;p&gt;- got wifi to run (but not sure if its working properly as can&amp;#39;t config it) after changing the DTS setup&lt;/p&gt;
&lt;p&gt;&amp;nbsp;- now stuck with external flash access (as FAT32 filesystem) as this happens:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;[00:00:09.943,542] &amp;lt;err&amp;gt; qspi_nor: nRF5340 anomaly 159 conditions detected
[00:00:09.951,019] &amp;lt;err&amp;gt; qspi_nor: Set the CPU clock to 64 MHz before starting QSPI operation&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;and then the filesystem access (ELM) is broken.&lt;/p&gt;
&lt;p&gt;This appears to be a &amp;#39;fix&amp;#39; for anomly 159 (which I was not aware of experiencing). Why does this break FS access? (which stops the app loading the wifi config to test WPA connection!)&lt;/p&gt;
&lt;p&gt;So now I have 2 blocking runtime issues (bt_enable() crash, QPSI &amp;#39;fix breaks file system).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Trouble migrating from NCS 2.6 to 2.8</title><link>https://devzone.nordicsemi.com/thread/515982?ContentTypeID=1</link><pubDate>Fri, 20 Dec 2024 16:16:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:110fde8b-80e4-402f-8981-edf690cf4be5</guid><dc:creator>BrianW</dc:creator><description>[quote userid="107683" url="~/f/nordic-q-a/117362/trouble-migrating-from-ncs-2-6-to-2-8/515973"]I&amp;#39;m not 100% sure, but this might be a child image/sysbuild rooted issue, i.e that CONFIG_&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;DISK_DRIVER_FLASH&lt;/span&gt; should be present within mcuboot.conf as well as within prj.conf[/quote]
&lt;p&gt;Well, currently I&amp;#39;m just building in child image mode (I know the sysbuild is breaking with a failure to find some partition stuff anyway).&amp;nbsp;&lt;/p&gt;
&lt;p&gt;And mcuboot seems to build ok for the CPUNET image, and also should not access the external flash as a &amp;#39;disk&amp;#39; anyway.&lt;/p&gt;
&lt;p&gt;So I&amp;#39;m pretty sure its because the DTC is not generating the&amp;nbsp;&lt;span&gt;DT_HAS_ZEPHYR_FLASH_DISK_ENABLED&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;I put in the DTS:&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;amp;mx25r64 {&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;nbsp; &amp;nbsp; partitions {&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; compatible = &amp;quot;fixed-partitions&amp;quot;;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; #address-cells = &amp;lt;1&amp;gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; #size-cells = &amp;lt;1&amp;gt;;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; fatfs_partition: partition@0 {&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; label = &amp;quot;storage&amp;quot;;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; reg = &amp;lt;0x00000000 0x00600000&amp;gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; };&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;nbsp; &amp;nbsp; };&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;};&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;/ {&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;nbsp; &amp;nbsp; msc_disk0 {&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; compatible = &amp;quot;zephyr,flash-disk&amp;quot;;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; partition = &amp;lt;&amp;amp;fatfs_partition&amp;gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; disk-name = &amp;quot;NAND&amp;quot;;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; cache-size = &amp;lt;4096&amp;gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;nbsp; &amp;nbsp; };&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;};&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:arial, helvetica, sans-serif;"&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:arial, helvetica, sans-serif;"&gt;Which appears to have fixed it! (to be tested once I have an actually running image)&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:arial, helvetica, sans-serif;"&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:arial, helvetica, sans-serif;"&gt;So now... the build breaks because&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:arial, helvetica, sans-serif;"&gt;1/ the nrfx I2S API has been updated with breaking changes (to v3.7.0?)&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:arial, helvetica, sans-serif;"&gt;2/ The nrfx PDM API has been updated with breaking changes...&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:arial, helvetica, sans-serif;"&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;[quote userid="107683" url="~/f/nordic-q-a/117362/trouble-migrating-from-ncs-2-6-to-2-8/515973"]As mentioned I will be out of office for a while now, and I wish you good luck if you&amp;#39;ll keep working until I&amp;#39;m back. I will pick up the case(s) on the 6th of January.[/quote]
&lt;p&gt;Well, I hope the entire support isn&amp;#39;t just you? Some of us have projects to deliver, and so far this migration has cost me a full week and its not done yet...&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Trouble migrating from NCS 2.6 to 2.8</title><link>https://devzone.nordicsemi.com/thread/515973?ContentTypeID=1</link><pubDate>Fri, 20 Dec 2024 15:15:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2be977da-233d-4095-9949-d90f936ee086</guid><dc:creator>AHaug</dc:creator><description>&lt;p&gt;Just saw your latest reply, so reposting.&lt;/p&gt;
[quote user="BrianW"]&lt;p&gt;It seems this is due to having this in prj.conf:&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;CONFIG_NRF_WIFI_PATCHES_BUILTIN=y&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;[/quote]
&lt;p&gt;Ah, I&amp;#39;ll use this sample as a comparison basis myself then, since it might be more relevant to the audio sample.&lt;/p&gt;
&lt;p&gt;One thing that might be the reason for the errors you saw is if you&amp;#39;re using the regular build or &amp;quot;build with pristine&amp;quot; actions in the extension. Sometimes these configure or build with artifacts from your previous build remaining (can&amp;#39;t quite explain it, but the short explanation is &amp;quot;pristine&amp;quot; is not the same as &amp;quot;delete the previous build and build fresh with new configurations&amp;quot;). As a sanity check for those types of error I typically remove the build folder before building the project.&lt;/p&gt;
[quote user="BrianW"]CONFIG_NRF_WIFI_PATCHES_BUILTIN=y[/quote]
&lt;p&gt;I&amp;#39;m not 100% sure, but this might be a child image/sysbuild rooted issue, i.e that CONFIG_&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;DISK_DRIVER_FLASH&lt;/span&gt; should be present within mcuboot.conf as well as within prj.conf&lt;/p&gt;
&lt;p&gt;It could also be that something is missing w.r.t how the flash device is listed &lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/zephyr/services/storage/disk/access.html#emulated_block_device_on_flash_partition_support"&gt;https://docs.nordicsemi.com/bundle/ncs-latest/page/zephyr/services/storage/disk/access.html&lt;/a&gt; (this is just throwing a link I&amp;#39;ve seen elsewhere in somewhat similar error messages at the problem and I&amp;#39;ve not verified that it&amp;#39;s working. Hopefully it might be something else than a wild guess, but let me know if it was helpful)&lt;/p&gt;
[quote user="BrianW"]We&amp;#39;ll see if any of this actually works once I get the build to fully complete![/quote]
&lt;p&gt;Glad to hear that atleast those two warnings were resolved!&lt;/p&gt;
[quote user="BrianW"]CONFIG_NRF_WIFI_PATCHES_BUILTIN=y[/quote]
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I can&amp;#39;t quite see why the Kconfig would cause configuring issues, but if I should guess it might be due to it not knowing where to place the files in the memory map. This config is not present in wifi/sta by defualt? &lt;a href="https://github.com/nrfconnect/sdk-nrf/blob/main/samples/wifi/sta/prj.conf"&gt;https://github.com/nrfconnect/sdk-nrf/blob/main/samples/wifi/sta/prj.conf&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;As mentioned I will be out of office for a while now, and I wish you good luck if you&amp;#39;ll keep working until I&amp;#39;m back. I will pick up the case(s) on the 6th of January.&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: Trouble migrating from NCS 2.6 to 2.8</title><link>https://devzone.nordicsemi.com/thread/515969?ContentTypeID=1</link><pubDate>Fri, 20 Dec 2024 15:06:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3affcc40-5e6e-4717-8576-671fdbb5a973</guid><dc:creator>BrianW</dc:creator><description>&lt;p&gt;So, wrt the build failing at the CMake config step, which is due to this error (in build/cc1-med/CMakeFiles/CMakeError.log):&lt;/p&gt;
[quote userid="134465" url="~/f/nordic-q-a/117362/trouble-migrating-from-ncs-2-6-to-2-8/515814"]&lt;p&gt;Its failing to link a cmake tool?&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;c:/ncs/toolchains/2d382dcd92/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.exe: c:/ncs/toolchains/2d382dcd92/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/lib\libc.a(lib_a-exit.o): in function `exit&amp;#39;:&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;exit.c:(.text.exit+0x34): undefined reference to `_exit&amp;#39;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;collect2.exe: error: ld returned 1 exit status&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;[/quote]
&lt;p&gt;It seems this is due to having this in prj.conf:&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;CONFIG_NRF_WIFI_PATCHES_BUILTIN=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;WTF is pretty much all I can say.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;This is very frustrating to find this kind of issue, which has wasted 2 days of my time to hunt down...&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;Lets see if any of the wifi stuff works when it finally builds...&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Trouble migrating from NCS 2.6 to 2.8</title><link>https://devzone.nordicsemi.com/thread/515932?ContentTypeID=1</link><pubDate>Fri, 20 Dec 2024 13:55:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3ea8151e-14bd-4856-970e-5613ea17c77f</guid><dc:creator>BrianW</dc:creator><description>[quote userid="107683" url="~/f/nordic-q-a/117362/trouble-migrating-from-ncs-2-6-to-2-8/515896"]&lt;blockquote class="quote"&gt;&lt;div class="quote-user"&gt;BrianW said:&lt;/div&gt;&lt;div class="quote-content"&gt;2/ a more serious looking warning, but related (as far as I can tell) to dts definitions in the SDK&lt;/div&gt;&lt;/blockquote&gt;&lt;div class="quote-footer"&gt;&lt;/div&gt;
&lt;p&gt;This warning seems to be interesting as it is not present in the default audio application configuration (and in neither of the other samples I&amp;#39;ve built to test). &lt;/p&gt;[/quote]
&lt;p&gt;This was down to having the gpio definition for the I2S amp&amp;#39;s &amp;#39;enable&amp;#39; input (/SDMODE on the MAX device)) inside the i2s0 node.Once i moved it out to be a seperate node&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;i2s_sdmode: sdmode {&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; compatible = &amp;quot;nordic,gpio-pins&amp;quot;;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; gpios = &amp;lt;&amp;amp;gpio1 14 GPIO_ACTIVE_HIGH&amp;gt;; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// P1.14&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;nbsp; &amp;nbsp; };&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:arial, helvetica, sans-serif;"&gt;then the warning went away....&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:arial, helvetica, sans-serif;"&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;[quote userid="107683" url="~/f/nordic-q-a/117362/trouble-migrating-from-ncs-2-6-to-2-8/515896"]&lt;blockquote class="quote"&gt;&lt;div class="quote-user"&gt;BrianW said:&lt;/div&gt;&lt;div class="quote-content"&gt;3/ enabling the PDM driver&amp;nbsp;&lt;/div&gt;&lt;/blockquote&gt;&lt;div class="quote-footer"&gt;&lt;/div&gt;
&lt;p&gt;Looks to me that this has changed from _PDM to _PDM0 in 2.8.0: &lt;a href="https://docs.nordicsemi.com/bundle/ncs-2.8.0/page/kconfig/index.html#CONFIG_NRFX_PDM0"&gt;https://docs.nordicsemi.com/bundle/ncs-2.8.0/page/kconfig/index.html#CONFIG_NRFX_PDM0&lt;/a&gt;&lt;/p&gt;[/quote]
&lt;p&gt;Ok, the error goes away with this name change.&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:arial, helvetica, sans-serif;"&gt;&lt;span style="font-family:arial, helvetica, sans-serif;"&gt;&lt;span style="font-family:arial, helvetica, sans-serif;"&gt;We&amp;#39;ll see if any of this actually works once I get the build to fully complete!&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Trouble migrating from NCS 2.6 to 2.8</title><link>https://devzone.nordicsemi.com/thread/515926?ContentTypeID=1</link><pubDate>Fri, 20 Dec 2024 13:25:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9df8ca1f-b1ec-4c17-8456-10c93b91ea76</guid><dc:creator>BrianW</dc:creator><description>&lt;p&gt;thanks for the info above. Its true the jump 2.6-&amp;gt;2.7/2.8 is very hard, especially due to the zephyr updates, and lacking a set of detailled release notes that show exactly what is been deleted/updated/added doesn&amp;#39;t help.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;My strategy since yesterday is that I have started with the wifi/sta sample prj.conf (which doesn&amp;#39;t build completely but gets past the config step to actually compile source files), and worked forwards from that... somehow this has resolved the CMake ld error, but I have no idea why.&lt;/p&gt;
&lt;p&gt;I hope to get the non-sysbuild working first as ou suggest, but I&amp;#39;m still stuck with a couple of issues&lt;/p&gt;
&lt;p&gt;1 points quickly (I hope)&lt;/p&gt;
&lt;p&gt;USB FAT32 flash disk operation&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;warning: DISK_DRIVER_FLASH (defined at drivers/disk/Kconfig.flash:4) was assigned the value &amp;#39;y&amp;#39; but&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;got the value &amp;#39;n&amp;#39;. Check these unsatisfied dependencies: DT_HAS_ZEPHYR_FLASH_DISK_ENABLED (=n). See&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&lt;a href="http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_DISK_DRIVER_FLASH"&gt;docs.zephyrproject.org/.../kconfig.html&lt;/a&gt; and/or look up&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;DISK_DRIVER_FLASH in the menuconfig/guiconfig interface. The Application Development Primer, Setting&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;Configuration Values, and Kconfig - Tips and Best Practices sections of the manual might be helpful&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;too.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;which leads to:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;CMake Warning at C:/ncs/v2.8.0/zephyr/CMakeLists.txt:952 (message):&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; No SOURCES given to Zephyr library: drivers__disk&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;Excluding target from build.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:arial, helvetica, sans-serif;"&gt;What is required to satisfy&amp;nbsp;&lt;span&gt;DT_HAS_ZEPHYR_FLASH_DISK_ENABLED&amp;nbsp;&lt;/span&gt;&amp;nbsp;? (again, this is a change from 2.6)? I have tried the usb disk example from 2.8, but can&amp;#39;t work out what the key difference is between the dts files?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:arial, helvetica, sans-serif;"&gt;thanx&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Trouble migrating from NCS 2.6 to 2.8</title><link>https://devzone.nordicsemi.com/thread/515908?ContentTypeID=1</link><pubDate>Fri, 20 Dec 2024 11:54:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c22ba1bb-db11-4ce0-a10b-ab4ac82fd171</guid><dc:creator>AHaug</dc:creator><description>&lt;p&gt;Two more notes:&lt;/p&gt;
&lt;p&gt;See &lt;a href="https://github.com/nrfconnect/sdk-zephyr/blob/7f8d857bf1f57b07e832d52263beaa23c91fef24/boards/nordic/nrf5340_audio_dk/nrf5340_audio_dk_nrf5340_cpuapp_common.dtsi#L122"&gt;https://github.com/nrfconnect/sdk-zephyr/blob/7f8d857bf1f57b07e832d52263beaa23c91fef24/boards/nordic/nrf5340_audio_dk/nrf5340_audio_dk_nrf5340_cpuapp_common.dtsi#L122&lt;/a&gt; w.r.t i2s0 device and how it is set up for the audio dk and &lt;a href="https://stackoverflow.com/questions/21871362/how-to-put-comments-in-device-tree-source-files#21892052"&gt;https://stackoverflow.com/questions/21871362/how-to-put-comments-in-device-tree-source-files#21892052&lt;/a&gt; w.r.t commenting out lines in dts (which is present within our dts files. Interesting...)&lt;br /&gt;&lt;br /&gt;Edit: Never mind the commenting, it is a syntax in dts: &lt;a href="https://www.kernel.org/doc/Documentation/devicetree/booting-without-of.txt"&gt;https://www.kernel.org/doc/Documentation/devicetree/booting-without-of.txt&lt;/a&gt; &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: Trouble migrating from NCS 2.6 to 2.8</title><link>https://devzone.nordicsemi.com/thread/515896?ContentTypeID=1</link><pubDate>Fri, 20 Dec 2024 11:16:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a6fdf823-e22b-49b5-8d8e-33fa54474137</guid><dc:creator>AHaug</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;&lt;span style="text-decoration:underline;"&gt;&lt;strong&gt;HWM2&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
[quote user="BrianW"]I can ignore these, yes?[/quote]
&lt;p&gt;I wouldn&amp;#39;t recommend you to ignore any compilation warnings. The warnings you mention are labeled as deprecated.&lt;/p&gt;
[quote user="BrianW"]2/ a more serious looking warning, but related (as far as I can tell) to dts definitions in the SDK[/quote]
&lt;p&gt;This warning seems to be interesting as it is not present in the default audio application configuration (and in neither of the other samples I&amp;#39;ve built to test). Could you add your modification to the i2s0 device within for instance &lt;a href="https://github.com/nrfconnect/sdk-nrf/tree/main/applications/nrf5340_audio"&gt;https://github.com/nrfconnect/sdk-nrf/tree/main/applications/nrf5340_audio&lt;/a&gt; or any of the other audio samples and see if you&amp;#39;re able to force the warning w.r.t address and size from there?&lt;/p&gt;
[quote user="BrianW"]3/ enabling the PDM driver&amp;nbsp;[/quote]
&lt;p&gt;Looks to me that this has changed from _PDM to _PDM0 in 2.8.0: &lt;a href="https://docs.nordicsemi.com/bundle/ncs-2.8.0/page/kconfig/index.html#CONFIG_NRFX_PDM0"&gt;https://docs.nordicsemi.com/bundle/ncs-2.8.0/page/kconfig/index.html#CONFIG_NRFX_PDM0&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="text-decoration:underline;"&gt;&lt;strong&gt;Sysbuild:&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="text-decoration:underline;"&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;I see you&amp;#39;ve addressed some of the sysbuild questions/uncertainties in the reply following the longer set of sysbuild questions so I&amp;#39;ll start there:&lt;/p&gt;
[quote user="BrianW"]I&amp;#39;m thinking that with sysbuild the &amp;#39;main app&amp;#39; prj.conf is NOT merged in with the mcuboot one, so this has to stand on its own?[/quote]
&lt;p&gt;Yes, this is correct. You still need to have a prj.conf for your app. Sysbuild only handles companion images&lt;/p&gt;
[quote user="BrianW"]Ok, I see the example has the file called mcuboot.conf, however if I name it that then I get:[/quote]
&lt;p&gt;You can see the structure of sysbuild companion images here as well: &lt;a href="https://github.com/nrfconnect/sdk-nrf/tree/main/applications/nrf5340_audio/sysbuild"&gt;https://github.com/nrfconnect/sdk-nrf/tree/main/applications/nrf5340_audio/sysbuild&lt;/a&gt;. I&amp;#39;m not sure if my explanation of the structure caused any misunderstandings.&lt;/p&gt;
&lt;p&gt;It is unfortunately too many changes simultaneously that causes the build crashes with no useful information you listed in your replies from yesterday.&lt;/p&gt;
&lt;p&gt;Here&amp;#39;s a breakdown of what I would&amp;#39;ve done if I were to migrate from 2.6.1 to 2.8.0:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Start with the audio app and montior changes from 2.6.1 to 2.8.0. Pay attention to changes from child_image/ to sysbuild/ as well as the addition to sysbuild.conf together with prj.conf&lt;/li&gt;
&lt;li&gt;Compare the board files within said project and the board files for the 5340 in 2.6.1 and 2.8.0. These are the changes w.r.t hwm1 and hwm2 in addition to the migration note for this &lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/releases_and_maturity/migration/migration_hwmv2.html"&gt;https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/releases_and_maturity/migration/migration_hwmv2.html&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;After you&amp;#39;ve migrated to hwmv2, try to build with &amp;quot;--no-sysbuild&amp;quot;. This should allow you to build with child and parent images. This is still supported in 2.8.0, but will not be in 2.9.0.&lt;/li&gt;
&lt;li&gt;Resolve any configuration errors and make it compile without sysbuild&lt;/li&gt;
&lt;li&gt;Start with migration from child/parent images to sysbuild. Make note of the changes in item 1 and the two links you sent in the start&lt;br /&gt;
&lt;p&gt;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/releases_and_maturity/migration/migration_sysbuild.html"&gt;https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/releases_and_maturity/migration/migration_sysbuild.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/releases_and_maturity/migration/migration_guide_2.8.html"&gt;https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/releases_and_maturity/migration/migration_guide_2.8.html&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Unfortunately there will be some downtime in the coming weeks due to holidays here in Norway, so activity will be slow on devzone until early Janaury. I&amp;#39;m sorry for not being able to help you pinpoint the migration issues before now but I strongly believe that if you methodically follow the 5 steps I listed you will succeed.&lt;br /&gt;&lt;br /&gt;&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: Trouble migrating from NCS 2.6 to 2.8</title><link>https://devzone.nordicsemi.com/thread/515814?ContentTypeID=1</link><pubDate>Thu, 19 Dec 2024 16:54:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6e874e5b-8cd8-4838-802a-c600abbf6259</guid><dc:creator>BrianW</dc:creator><description>&lt;p&gt;The full build output:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;C:\work\dev\if-device-nrf53&amp;gt;west build --build-dir cc1-med/build cc1-med --board cc2v1/nrf5340/cpuapp --pristine -DBOARD_ROOT=/work/dev/if-device-nrf53
-- west build: making build dir C:\work\dev\if-device-nrf53\cc1-med\build pristine
-- west build: generating a build system
Loading Zephyr module(s) (Zephyr base): sysbuild_default
-- Found Python3: C:/ncs/toolchains/2d382dcd92/opt/bin/python.exe (found suitable version &amp;quot;3.12.4&amp;quot;, minimum required is &amp;quot;3.8&amp;quot;) found components: Interpreter
-- Cache files will be written to: C:/ncs/v2.8.0/zephyr/.cache
-- Found west (found suitable version &amp;quot;1.2.0&amp;quot;, minimum required is &amp;quot;0.14.0&amp;quot;)
-- Board: cc2v1, qualifiers: nrf5340/cpuapp
Parsing C:/work/dev/if-device-nrf53/cc1-med/Kconfig.sysbuild
Loaded configuration &amp;#39;C:/work/dev/if-device-nrf53/cc1-med/build/_sysbuild/empty.conf&amp;#39;
Merged configuration &amp;#39;C:/work/dev/if-device-nrf53/cc1-med/sysbuild.conf&amp;#39;
Configuration saved to &amp;#39;C:/work/dev/if-device-nrf53/cc1-med/build/zephyr/.config&amp;#39;
Kconfig header saved to &amp;#39;C:/work/dev/if-device-nrf53/cc1-med/build/_sysbuild/autoconf.h&amp;#39;
--
   *****************************
   * Running CMake for mcuboot *
   *****************************

Loading Zephyr default modules (Zephyr base).
-- Application: C:/ncs/v2.8.0/bootloader/mcuboot/boot/zephyr
-- CMake version: 3.21.0
-- Using NCS Toolchain 2.8.20241106.194216054162 for building. (C:/ncs/toolchains/2d382dcd92/cmake)
-- Found Python3: C:/ncs/toolchains/2d382dcd92/opt/bin/python.exe (found suitable version &amp;quot;3.12.4&amp;quot;, minimum required is &amp;quot;3.8&amp;quot;) found components: Interpreter
-- Cache files will be written to: C:/ncs/v2.8.0/zephyr/.cache
-- Zephyr version: 3.7.99 (C:/ncs/v2.8.0/zephyr)
-- Found west (found suitable version &amp;quot;1.2.0&amp;quot;, minimum required is &amp;quot;0.14.0&amp;quot;)
-- Board: cc2v1, qualifiers: nrf5340/cpuapp
-- Found host-tools: zephyr 0.16.8 (C:/ncs/toolchains/2d382dcd92/opt/zephyr-sdk)
-- Found toolchain: zephyr 0.16.8 (C:/ncs/toolchains/2d382dcd92/opt/zephyr-sdk)
-- Found Dtc: C:/ncs/toolchains/2d382dcd92/opt/bin/dtc.exe (found suitable version &amp;quot;1.4.7&amp;quot;, minimum required is &amp;quot;1.4.6&amp;quot;)

-- Found BOARD.dts: C:/work/dev/if-device-nrf53/boards/infrafon/cc2v1/cc2v1_nrf5340_cpuapp.dts
&amp;#39;label&amp;#39; is marked as deprecated in &amp;#39;properties:&amp;#39; in C:/ncs/v2.8.0/zephyr/dts/bindings\audio\nordic,nrf-pdm.yaml for node /soc/peripheral@50000000/pdm@26000.
&amp;#39;label&amp;#39; is marked as deprecated in &amp;#39;properties:&amp;#39; in C:/ncs/v2.8.0/zephyr/dts/bindings\i2s\nordic,nrf-i2s.yaml for node /soc/peripheral@50000000/i2s@28000.
-- Generated zephyr.dts: C:/work/dev/if-device-nrf53/cc1-med/build/mcuboot/zephyr/zephyr.dts
-- Generated devicetree_generated.h: C:/work/dev/if-device-nrf53/cc1-med/build/mcuboot/zephyr/include/generated/zephyr/devicetree_generated.h
-- Including generated dts.cmake file: C:/work/dev/if-device-nrf53/cc1-med/build/mcuboot/zephyr/dts.cmake
CMake Warning at C:/ncs/v2.8.0/zephyr/cmake/modules/dts.cmake:389 (message):
  dtc raised one or more warnings:

  &amp;lt;stdout&amp;gt;: Warning (avoid_unnecessary_addr_size):
  /soc/peripheral@50000000/i2s@28000: unnecessary #address-cells/#size-cells
  without &amp;quot;ranges&amp;quot; or child &amp;quot;reg&amp;quot; property

Call Stack (most recent call first):
  C:/ncs/v2.8.0/zephyr/cmake/modules/zephyr_default.cmake:133 (include)
  C:/ncs/v2.8.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:66 (include)
  C:/ncs/v2.8.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:92 (include_boilerplate)
  CMakeLists.txt:12 (find_package)


Parsing C:/ncs/v2.8.0/bootloader/mcuboot/boot/zephyr/Kconfig
Loaded configuration &amp;#39;C:/work/dev/if-device-nrf53/boards/infrafon/cc2v1/cc2v1_nrf5340_cpuapp_defconfig&amp;#39;
Merged configuration &amp;#39;C:/work/dev/if-device-nrf53/cc1-med/sysbuild/mcuboot/prj.conf&amp;#39;
Merged configuration &amp;#39;C:/ncs/v2.8.0/nrf/subsys/partition_manager/ext_flash_mcuboot_secondary.conf&amp;#39;
Merged configuration &amp;#39;C:/work/dev/if-device-nrf53/cc1-med/build/mcuboot/zephyr/.config.sysbuild&amp;#39;
Configuration saved to &amp;#39;C:/work/dev/if-device-nrf53/cc1-med/build/mcuboot/zephyr/.config&amp;#39;
Kconfig header saved to &amp;#39;C:/work/dev/if-device-nrf53/cc1-med/build/mcuboot/zephyr/include/generated/zephyr/autoconf.h&amp;#39;
-- Found GnuLd: c:/ncs/toolchains/2d382dcd92/opt/zephyr-sdk/arm-zephyr-eabi/arm-zephyr-eabi/bin/ld.bfd.exe (found version &amp;quot;2.38&amp;quot;)
-- The C compiler identification is GNU 12.2.0
-- The CXX compiler identification is GNU 12.2.0
-- The ASM compiler identification is GNU
-- Found assembler: C:/ncs/toolchains/2d382dcd92/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc.exe
-- Setting build type to &amp;#39;MinSizeRel&amp;#39; as none was specified.
MCUBoot bootloader key file: /work/dev/if-device-nrf53/keys/bootloader_priv-ecdsa256.pem
-- Configuring done
-- Generating done
-- Build files have been written to: C:/work/dev/if-device-nrf53/cc1-med/build/mcuboot
--
   *****************************
   * Running CMake for hci_ipc *
   *****************************

Loading Zephyr default modules (Zephyr base).
-- Application: C:/ncs/v2.8.0/zephyr/samples/bluetooth/hci_ipc
-- CMake version: 3.21.0
-- Using NCS Toolchain 2.8.20241106.194216054162 for building. (C:/ncs/toolchains/2d382dcd92/cmake)
-- Found Python3: C:/ncs/toolchains/2d382dcd92/opt/bin/python.exe (found suitable version &amp;quot;3.12.4&amp;quot;, minimum required is &amp;quot;3.8&amp;quot;) found components: Interpreter
-- Cache files will be written to: C:/ncs/v2.8.0/zephyr/.cache
-- Zephyr version: 3.7.99 (C:/ncs/v2.8.0/zephyr)
-- Found west (found suitable version &amp;quot;1.2.0&amp;quot;, minimum required is &amp;quot;0.14.0&amp;quot;)
-- Board: cc2v1, qualifiers: nrf5340/cpunet
-- Found host-tools: zephyr 0.16.8 (C:/ncs/toolchains/2d382dcd92/opt/zephyr-sdk)
-- Found toolchain: zephyr 0.16.8 (C:/ncs/toolchains/2d382dcd92/opt/zephyr-sdk)
-- Found Dtc: C:/ncs/toolchains/2d382dcd92/opt/bin/dtc.exe (found suitable version &amp;quot;1.4.7&amp;quot;, minimum required is &amp;quot;1.4.6&amp;quot;)

-- Found BOARD.dts: C:/work/dev/if-device-nrf53/boards/infrafon/cc2v1/cc2v1_nrf5340_cpunet.dts
-- Generated zephyr.dts: C:/work/dev/if-device-nrf53/cc1-med/build/hci_ipc/zephyr/zephyr.dts
-- Generated devicetree_generated.h: C:/work/dev/if-device-nrf53/cc1-med/build/hci_ipc/zephyr/include/generated/zephyr/devicetree_generated.h
-- Including generated dts.cmake file: C:/work/dev/if-device-nrf53/cc1-med/build/hci_ipc/zephyr/dts.cmake
Parsing C:/ncs/v2.8.0/zephyr/Kconfig
Loaded configuration &amp;#39;C:/work/dev/if-device-nrf53/boards/infrafon/cc2v1/cc2v1_nrf5340_cpunet_defconfig&amp;#39;
Merged configuration &amp;#39;C:/work/dev/if-device-nrf53/cc1-med/sysbuild/hci_ipc/prj.conf&amp;#39;
Merged configuration &amp;#39;C:/work/dev/if-device-nrf53/cc1-med/build/hci_ipc/zephyr/.config.sysbuild&amp;#39;
Configuration saved to &amp;#39;C:/work/dev/if-device-nrf53/cc1-med/build/hci_ipc/zephyr/.config&amp;#39;
Kconfig header saved to &amp;#39;C:/work/dev/if-device-nrf53/cc1-med/build/hci_ipc/zephyr/include/generated/zephyr/autoconf.h&amp;#39;
-- Found GnuLd: c:/ncs/toolchains/2d382dcd92/opt/zephyr-sdk/arm-zephyr-eabi/arm-zephyr-eabi/bin/ld.bfd.exe (found version &amp;quot;2.38&amp;quot;)
-- The C compiler identification is GNU 12.2.0
-- The CXX compiler identification is GNU 12.2.0
-- The ASM compiler identification is GNU
-- Found assembler: C:/ncs/toolchains/2d382dcd92/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc.exe
-- libmetal version: 1.6.0 (C:/ncs/v2.8.0/zephyr/samples/bluetooth/hci_ipc)
-- Build type:
-- Host:    Windows/AMD64
-- Target:  Generic/arm
-- Machine: arm
-- Looking for include file stdatomic.h
-- Looking for include file stdatomic.h - found
-- open-amp version: 1.6.1 (C:/ncs/v2.8.0/modules/lib/open-amp/open-amp)
-- Host:    Windows/AMD64
-- Target:  Generic/arm
-- Machine: arm
-- C_FLAGS :  -Wall -Wextra
-- Looking for include file fcntl.h
-- Looking for include file fcntl.h - found
-- Setting build type to &amp;#39;MinSizeRel&amp;#39; as none was specified.
-- Configuring done
-- Generating done
-- Build files have been written to: C:/work/dev/if-device-nrf53/cc1-med/build/hci_ipc
--
   *****************************
   * Running CMake for cc1-med *
   *****************************

Loading Zephyr default modules (Zephyr base).
-- Application: C:/work/dev/if-device-nrf53/cc1-med
-- CMake version: 3.21.0
-- Using NCS Toolchain 2.8.20241106.194216054162 for building. (C:/ncs/toolchains/2d382dcd92/cmake)
-- Found Python3: C:/ncs/toolchains/2d382dcd92/opt/bin/python.exe (found suitable version &amp;quot;3.12.4&amp;quot;, minimum required is &amp;quot;3.8&amp;quot;) found components: Interpreter
-- Cache files will be written to: C:/ncs/v2.8.0/zephyr/.cache
-- Zephyr version: 3.7.99 (C:/ncs/v2.8.0/zephyr)
-- Found west (found suitable version &amp;quot;1.2.0&amp;quot;, minimum required is &amp;quot;0.14.0&amp;quot;)
-- Board: cc2v1, qualifiers: nrf5340/cpuapp
-- Found host-tools: zephyr 0.16.8 (C:/ncs/toolchains/2d382dcd92/opt/zephyr-sdk)
-- Found toolchain: zephyr 0.16.8 (C:/ncs/toolchains/2d382dcd92/opt/zephyr-sdk)
-- Found Dtc: C:/ncs/toolchains/2d382dcd92/opt/bin/dtc.exe (found suitable version &amp;quot;1.4.7&amp;quot;, minimum required is &amp;quot;1.4.6&amp;quot;)

-- Found BOARD.dts: C:/work/dev/if-device-nrf53/boards/infrafon/cc2v1/cc2v1_nrf5340_cpuapp.dts
&amp;#39;label&amp;#39; is marked as deprecated in &amp;#39;properties:&amp;#39; in C:/ncs/v2.8.0/zephyr/dts/bindings\audio\nordic,nrf-pdm.yaml for node /soc/peripheral@50000000/pdm@26000.
&amp;#39;label&amp;#39; is marked as deprecated in &amp;#39;properties:&amp;#39; in C:/ncs/v2.8.0/zephyr/dts/bindings\i2s\nordic,nrf-i2s.yaml for node /soc/peripheral@50000000/i2s@28000.
-- Generated zephyr.dts: C:/work/dev/if-device-nrf53/cc1-med/build/cc1-med/zephyr/zephyr.dts
-- Generated devicetree_generated.h: C:/work/dev/if-device-nrf53/cc1-med/build/cc1-med/zephyr/include/generated/zephyr/devicetree_generated.h
-- Including generated dts.cmake file: C:/work/dev/if-device-nrf53/cc1-med/build/cc1-med/zephyr/dts.cmake
CMake Warning at C:/ncs/v2.8.0/zephyr/cmake/modules/dts.cmake:389 (message):
  dtc raised one or more warnings:

  &amp;lt;stdout&amp;gt;: Warning (avoid_unnecessary_addr_size):
  /soc/peripheral@50000000/i2s@28000: unnecessary #address-cells/#size-cells
  without &amp;quot;ranges&amp;quot; or child &amp;quot;reg&amp;quot; property

Call Stack (most recent call first):
  C:/ncs/v2.8.0/zephyr/cmake/modules/zephyr_default.cmake:133 (include)
  C:/ncs/v2.8.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:66 (include)
  C:/ncs/v2.8.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:92 (include_boilerplate)
  CMakeLists.txt:8 (find_package)



warning: NRF_SECURITY (defined at C:/ncs/v2.8.0/nrf\subsys\nrf_security/Kconfig:32) was assigned the
value &amp;#39;n&amp;#39; but got the value &amp;#39;y&amp;#39;. See
http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_NRF_SECURITY and/or look up NRF_SECURITY in
the menuconfig/guiconfig interface. The Application Development Primer, Setting Configuration
Values, and Kconfig - Tips and Best Practices sections of the manual might be helpful too.


warning: DISK_DRIVER_FLASH (defined at drivers/disk/Kconfig.flash:4) was assigned the value &amp;#39;y&amp;#39; but
got the value &amp;#39;n&amp;#39;. Check these unsatisfied dependencies: DT_HAS_ZEPHYR_FLASH_DISK_ENABLED (=n). See
http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_DISK_DRIVER_FLASH and/or look up
DISK_DRIVER_FLASH in the menuconfig/guiconfig interface. The Application Development Primer, Setting
Configuration Values, and Kconfig - Tips and Best Practices sections of the manual might be helpful
too.


warning: Deprecated symbol MBEDTLS_LEGACY_CRYPTO_C is enabled.


warning: Experimental symbol WIFI_READY_LIB is enabled.


warning: Experimental symbol WIFI_NM_WPA_SUPPLICANT is enabled.


warning: Experimental symbol WIFI_NM_WPA_SUPPLICANT is enabled.


warning: Experimental symbol NRF_WIFI_RPU_RECOVERY is enabled.


warning: Experimental symbol POSIX_ASYNCHRONOUS_IO is enabled.


warning: Experimental symbol POSIX_DEVICE_IO is enabled.


warning: Experimental symbol POSIX_FD_MGMT is enabled.


warning: Experimental symbol POSIX_MULTI_PROCESS is enabled.


warning: Experimental symbol POSIX_REALTIME_SIGNALS is enabled.


warning: Experimental symbol POSIX_SIGNALS is enabled.


warning: Experimental symbol NET_SOCKETS_SERVICE is enabled.

Parsing C:/ncs/v2.8.0/zephyr/Kconfig
Loaded configuration &amp;#39;C:/work/dev/if-device-nrf53/boards/infrafon/cc2v1/cc2v1_nrf5340_cpuapp_defconfig&amp;#39;
Merged configuration &amp;#39;C:/work/dev/if-device-nrf53/cc1-med/prj.conf&amp;#39;
Merged configuration &amp;#39;C:/work/dev/if-device-nrf53/cc1-med/build/cc1-med/zephyr/.config.sysbuild&amp;#39;
Configuration saved to &amp;#39;C:/work/dev/if-device-nrf53/cc1-med/build/cc1-med/zephyr/.config&amp;#39;
Kconfig header saved to &amp;#39;C:/work/dev/if-device-nrf53/cc1-med/build/cc1-med/zephyr/include/generated/zephyr/autoconf.h&amp;#39;
-- Found GnuLd: c:/ncs/toolchains/2d382dcd92/opt/zephyr-sdk/arm-zephyr-eabi/arm-zephyr-eabi/bin/ld.bfd.exe (found version &amp;quot;2.38&amp;quot;)
-- The C compiler identification is GNU 12.2.0
-- The CXX compiler identification is GNU 12.2.0
-- The ASM compiler identification is GNU
-- Found assembler: C:/ncs/toolchains/2d382dcd92/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc.exe
=========== Generating psa_crypto_config ===============
Backup: CONFIG_MBEDTLS_PSA_CRYPTO_SPM: False
Backup: CONFIG_MBEDTLS_PSA_CRYPTO_C: True
Backup: CONFIG_MBEDTLS_PSA_CRYPTO_KEY_ID_ENCODES_OWNER: False
Backup: CONFIG_MBEDTLS_PLATFORM_SETUP_TEARDOWN_ALT: False
Backup: CONFIG_MBEDTLS_THREADING: False
Backup: CONFIG_MBEDTLS_THREADING_ALT: True
=========== Checkpoint: backup ===============
Restore: CONFIG_MBEDTLS_PSA_CRYPTO_SPM: False
Restore: CONFIG_MBEDTLS_PSA_CRYPTO_C: True
Restore: CONFIG_MBEDTLS_PSA_CRYPTO_KEY_ID_ENCODES_OWNER: False
Restore: CONFIG_MBEDTLS_PLATFORM_SETUP_TEARDOWN_ALT: False
Restore: CONFIG_MBEDTLS_THREADING: False
Restore: CONFIG_MBEDTLS_THREADING_ALT: True
=========== End psa_crypto_config ===============
=========== Generating psa_crypto_library_config ===============
Backup: CONFIG_MBEDTLS_PSA_CRYPTO_C: True
Backup: CONFIG_MBEDTLS_PSA_CRYPTO_KEY_ID_ENCODES_OWNER: False
Backup: CONFIG_MBEDTLS_PSA_CRYPTO_SPM: False
Backup: CONFIG_MBEDTLS_USE_PSA_CRYPTO: False
Backup: CONFIG_MBEDTLS_PLATFORM_PRINTF_ALT: False
Backup: CONFIG_MBEDTLS_THREADING: False
Backup: CONFIG_MBEDTLS_THREADING_ALT: True
=========== Checkpoint: backup ===============
Restore: CONFIG_MBEDTLS_PSA_CRYPTO_C: True
Restore: CONFIG_MBEDTLS_PSA_CRYPTO_KEY_ID_ENCODES_OWNER: False
Restore: CONFIG_MBEDTLS_PSA_CRYPTO_SPM: False
Restore: CONFIG_MBEDTLS_USE_PSA_CRYPTO: False
Restore: CONFIG_MBEDTLS_PLATFORM_PRINTF_ALT: False
Restore: CONFIG_MBEDTLS_THREADING: False
Restore: CONFIG_MBEDTLS_THREADING_ALT: True
=========== End psa_crypto_library_config ===============
CMake Error at C:/ncs/v2.8.0/zephyr/cmake/modules/extensions.cmake:695 (add_custom_target):
  add_custom_target cannot create target
  &amp;quot;gen_nrf70_bin_inc_77552e44891130fb8290820867cdfb8b&amp;quot; because another target
  with the same name already exists.  The existing target is a custom target
  created in source directory &amp;quot;C:/ncs/v2.8.0/zephyr/drivers/wifi/nrfwifi&amp;quot;.
  See documentation for policy CMP0002 for more details.
Call Stack (most recent call first):
  C:/ncs/v2.8.0/nrf/subsys/net/lib/nrf70_fw_ext/CMakeLists.txt:45 (generate_inc_file_for_target)


-- libmetal version: 1.6.0 (C:/work/dev/if-device-nrf53/cc1-med)
-- Build type:
-- Host:    Windows/AMD64
-- Target:  Generic/arm
-- Machine: arm
-- Looking for include file stdatomic.h
-- Looking for include file stdatomic.h - found
-- open-amp version: 1.6.1 (C:/ncs/v2.8.0/modules/lib/open-amp/open-amp)
-- Host:    Windows/AMD64
-- Target:  Generic/arm
-- Machine: arm
-- C_FLAGS :  -Wall -Wextra
-- Looking for include file fcntl.h
-- Looking for include file fcntl.h - found
-- Setting build type to &amp;#39;MinSizeRel&amp;#39; as none was specified.
CMake Warning at C:/ncs/v2.8.0/zephyr/CMakeLists.txt:952 (message):
  No SOURCES given to Zephyr library: drivers__disk

  Excluding target from build.


CMake Warning at C:/ncs/v2.8.0/zephyr/CMakeLists.txt:952 (message):
  No SOURCES given to Zephyr library: drivers__pwm

  Excluding target from build.


-- Including signing script: C:/ncs/v2.8.0/nrf/cmake/sysbuild/image_signing.cmake
CMake Warning at C:/ncs/v2.8.0/zephyr/CMakeLists.txt:2134 (message):
  __ASSERT() statements are globally ENABLED


-- Configuring incomplete, errors occurred!
See also &amp;quot;C:/work/dev/if-device-nrf53/cc1-med/build/cc1-med/CMakeFiles/CMakeOutput.log&amp;quot;.
See also &amp;quot;C:/work/dev/if-device-nrf53/cc1-med/build/cc1-med/CMakeFiles/CMakeError.log&amp;quot;.
CMake Error at cmake/modules/sysbuild_extensions.cmake:514 (message):
  CMake configure failed for Zephyr project: cc1-med

  Location: C:/work/dev/if-device-nrf53/cc1-med
Call Stack (most recent call first):
  cmake/modules/sysbuild_images.cmake:20 (ExternalZephyrProject_Cmake)
  cmake/modules/sysbuild_default.cmake:20 (include)
  C:/ncs/v2.8.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:75 (include)
  C:/ncs/v2.8.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:92 (include_boilerplate)
  C:/ncs/v2.8.0/zephyr/share/sysbuild-package/cmake/SysbuildConfig.cmake:8 (include)
  template/CMakeLists.txt:10 (find_package)


-- Configuring incomplete, errors occurred!
See also &amp;quot;C:/work/dev/if-device-nrf53/cc1-med/build/CMakeFiles/CMakeOutput.log&amp;quot;.
←[91mFATAL ERROR: command exited with status 1: &amp;#39;C:\ncs\toolchains\2d382dcd92\opt\bin\cmake.EXE&amp;#39; -DWEST_PYTHON=C:/ncs/toolchains/2d382dcd92/opt/bin/python.exe &amp;#39;-BC:\work\dev\if-device-nrf53\cc1-med\build&amp;#39; -GNinja -DBOARD=cc2v1/nrf5340/cpuapp -DBOARD_ROOT=/work/dev/if-device-nrf53 &amp;#39;-SC:\ncs\v2.8.0\zephyr\share\sysbuild&amp;#39; &amp;#39;-DAPP_DIR:PATH=C:\work\dev\if-device-nrf53\cc1-med&amp;#39;
←[0m&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;The CMakeError.log:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;Compiling the C compiler identification source file &amp;quot;CMakeCCompilerId.c&amp;quot; failed.
Compiler: C:/ncs/toolchains/2d382dcd92/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc.exe 
Build flags: 
Id flags:  

The output was:
1
c:/ncs/toolchains/2d382dcd92/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.exe: c:/ncs/toolchains/2d382dcd92/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/lib\libc.a(lib_a-exit.o): in function `exit&amp;#39;:
exit.c:(.text.exit+0x34): undefined reference to `_exit&amp;#39;
collect2.exe: error: ld returned 1 exit status


Compiling the CXX compiler identification source file &amp;quot;CMakeCXXCompilerId.cpp&amp;quot; failed.
Compiler: C:/ncs/toolchains/2d382dcd92/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc.exe 
Build flags: 
Id flags:  

The output was:
1
c:/ncs/toolchains/2d382dcd92/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.exe: c:/ncs/toolchains/2d382dcd92/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/lib\libc.a(lib_a-exit.o): in function `exit&amp;#39;:
exit.c:(.text.exit+0x34): undefined reference to `_exit&amp;#39;
collect2.exe: error: ld returned 1 exit status


&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Its failing to link a cmake tool?&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;c:/ncs/toolchains/2d382dcd92/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.exe: c:/ncs/toolchains/2d382dcd92/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/lib\libc.a(lib_a-exit.o): in function `exit&amp;#39;:&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;exit.c:(.text.exit+0x34): undefined reference to `_exit&amp;#39;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;collect2.exe: error: ld returned 1 exit status&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;The only other error I see is this:&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;CMake Error at C:/ncs/v2.8.0/zephyr/cmake/modules/extensions.cmake:695 (add_custom_target):&lt;br /&gt; add_custom_target cannot create target&lt;br /&gt; &amp;quot;gen_nrf70_bin_inc_77552e44891130fb8290820867cdfb8b&amp;quot; because another target&lt;br /&gt; with the same name already exists. The existing target is a custom target&lt;br /&gt; created in source directory &amp;quot;C:/ncs/v2.8.0/zephyr/drivers/wifi/nrfwifi&amp;quot;.&lt;br /&gt; See documentation for policy CMP0002 for more details.&lt;br /&gt;Call Stack (most recent call first):&lt;br /&gt; C:/ncs/v2.8.0/nrf/subsys/net/lib/nrf70_fw_ext/CMakeLists.txt:45 (generate_inc_file_for_target)&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;but this seems to be linked to the nrf70 wifi stuff? Maybe no link to the cmake error?&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;I also see this:&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;warning: DISK_DRIVER_FLASH (defined at drivers/disk/Kconfig.flash:4) was assigned the value &amp;#39;y&amp;#39; but&lt;br /&gt;got the value &amp;#39;n&amp;#39;. Check these unsatisfied dependencies: DT_HAS_ZEPHYR_FLASH_DISK_ENABLED (=n).&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;which makes me wonder why it can&amp;#39;t find the flash disk definition in my DTS? What exactly does the DT_HAS_... macro look for? I have defined&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span&gt;zephyr,flash-disk&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;&amp;amp;&lt;/span&gt;&lt;span&gt;mx25r64&lt;/span&gt;&lt;span&gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Trouble migrating from NCS 2.6 to 2.8</title><link>https://devzone.nordicsemi.com/thread/515811?ContentTypeID=1</link><pubDate>Thu, 19 Dec 2024 16:43:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c4d6698a-37f9-4068-b61e-ee517c7fa2d7</guid><dc:creator>BrianW</dc:creator><description>&lt;p&gt;after finding the fix for the CONFIG_FLASH for the sysbuild, it also stops at this step. Can you explain why, given it seems to be using all the elements from the correct toolchain?&lt;/p&gt;
&lt;p&gt;Without a fix for this I am completely blocked.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Trouble migrating from NCS 2.6 to 2.8</title><link>https://devzone.nordicsemi.com/thread/515808?ContentTypeID=1</link><pubDate>Thu, 19 Dec 2024 16:24:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8bc07e50-2908-402a-beba-fd0801155416</guid><dc:creator>BrianW</dc:creator><description>[quote userid="134465" url="~/f/nordic-q-a/117362/trouble-migrating-from-ncs-2-6-to-2-8/515567"]It seems it doesn&amp;#39;t like something about the flash driver? But this worked fine in 2.6... and also I don&amp;#39;t get this error if using child_images build system...[/quote]
&lt;p&gt;After diving into a maze of nasty twisty little KConfig dependancies, it seems this is because I need CONFIG_FLASH=y in the sysbuild/mcuboot/prj.conf. Previously this was configured just in the main prj.conf for the project.&lt;/p&gt;
&lt;p&gt;I&amp;#39;m thinking that with sysbuild the &amp;#39;main app&amp;#39; prj.conf is NOT merged in with the mcuboot one, so this has to stand on its own?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Trouble migrating from NCS 2.6 to 2.8</title><link>https://devzone.nordicsemi.com/thread/515572?ContentTypeID=1</link><pubDate>Wed, 18 Dec 2024 17:25:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b6256574-b928-4fc9-99cd-141537d9229d</guid><dc:creator>BrianW</dc:creator><description>&lt;p&gt;And, as I said, with the old childimage system it gets further thru the config process (does the CPUNET, and mcuboot, then gets (I assume) to app), and&amp;nbsp;it stops with this:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;
-- Target:  Generic/arm
-- Machine: arm
-- Looking for include file stdatomic.h
-- Looking for include file stdatomic.h - found
-- open-amp version: 1.6.1 (C:/ncs/v2.8.0/modules/lib/open-amp/open-amp)
-- Host:    Windows/AMD64
-- Target:  Generic/arm
-- Machine: arm
-- C_FLAGS :  -Wall -Wextra
-- Looking for include file fcntl.h
-- Looking for include file fcntl.h - found
-- Setting build type to &amp;#39;MinSizeRel&amp;#39; as none was specified.
CMake Warning at C:/ncs/v2.8.0/zephyr/CMakeLists.txt:952 (message):
  No SOURCES given to Zephyr library: drivers__disk

  Excluding target from build.


CMake Warning at C:/ncs/v2.8.0/zephyr/CMakeLists.txt:952 (message):
  No SOURCES given to Zephyr library: drivers__pwm

  Excluding target from build.


CMake Warning at C:/ncs/v2.8.0/zephyr/CMakeLists.txt:2134 (message):
  __ASSERT() statements are globally ENABLED


CMake Deprecation Warning at C:/ncs/v2.8.0/nrf/cmake/partition_manager.cmake:32 (message):


            ---------------------------------------------------------------------
            --- WARNING: Child and parent image functionality is deprecated   ---
            --- and should be replaced with sysbuild. Child and parent image  ---
            --- support remains only to allow existing customer applications  ---
            --- to build and allow porting to sysbuild, it is no longer       ---
            --- receiving updates or new features and it will not be possible ---
            --- to build using child/parent image at all in nRF Connect SDK   ---
            --- version 2.9 onwards.                                          ---
            ---------------------------------------------------------------------
Call Stack (most recent call first):
  C:/ncs/v2.8.0/zephyr/cmake/modules/kernel.cmake:255 (include)
  C:/ncs/v2.8.0/zephyr/cmake/modules/zephyr_default.cmake:142 (include)
  C:/ncs/v2.8.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:66 (include)
  C:/ncs/v2.8.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:92 (include_boilerplate)
  CMakeLists.txt:8 (find_package)


-- Found partition manager static configuration: C:/work/dev/if-device-nrf53/cc1-med/pm_static.yml
Partition &amp;#39;mcuboot&amp;#39; is not included in the dynamic resolving since it is statically defined.
Partition &amp;#39;mcuboot_pad&amp;#39; is not included in the dynamic resolving since it is statically defined.
Partition &amp;#39;mcuboot_primary_app&amp;#39; is not included in the dynamic resolving since it is statically defined.
Partition &amp;#39;mcuboot_primary&amp;#39; is not included in the dynamic resolving since it is statically defined.
Partition &amp;#39;nvs_storage&amp;#39; is not included in the dynamic resolving since it is statically defined.
Partition &amp;#39;mcuboot_secondary&amp;#39; is not included in the dynamic resolving since it is statically defined.
Partition &amp;#39;pcd_sram&amp;#39; is not included in the dynamic resolving since it is statically defined.
Partition &amp;#39;rpmsg_nrf53_sram&amp;#39; is not included in the dynamic resolving since it is statically defined.
-- Configuring incomplete, errors occurred!
See also &amp;quot;C:/work/dev/if-device-nrf53/cc1-med/build/CMakeFiles/CMakeOutput.log&amp;quot;.
See also &amp;quot;C:/work/dev/if-device-nrf53/cc1-med/build/CMakeFiles/CMakeError.log&amp;quot;.
←[91mFATAL ERROR: command exited with status 1: &amp;#39;C:\ncs\toolchains\2d382dcd92\opt\bin\cmake.EXE&amp;#39; -DWEST_PYTHON=C:/ncs/toolchains/2d382dcd92/opt/bin/python.exe &amp;#39;-BC:\work\dev\if-device-nrf53\cc1-med\build&amp;#39; -GNinja -DBOARD=cc2v1/nrf5340/cpuapp -DBOARD_ROOT=/work/dev/if-device-nrf53 &amp;#39;-SC:\work\dev\if-device-nrf53\cc1-med&amp;#39;
←[0m&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;and in ther cc1-med/build/CMakeFiles/CMakeError.log it says:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;Compiling the C compiler identification source file &amp;quot;CMakeCCompilerId.c&amp;quot; failed.
Compiler: C:/ncs/toolchains/2d382dcd92/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc.exe 
Build flags: 
Id flags:  

The output was:
1
c:/ncs/toolchains/2d382dcd92/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.exe: c:/ncs/toolchains/2d382dcd92/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/lib\libc.a(lib_a-exit.o): in function `exit&amp;#39;:
exit.c:(.text.exit+0x34): undefined reference to `_exit&amp;#39;
collect2.exe: error: ld returned 1 exit status


Compiling the CXX compiler identification source file &amp;quot;CMakeCXXCompilerId.cpp&amp;quot; failed.
Compiler: C:/ncs/toolchains/2d382dcd92/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc.exe 
Build flags: 
Id flags:  

The output was:
1
c:/ncs/toolchains/2d382dcd92/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.exe: c:/ncs/toolchains/2d382dcd92/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/lib\libc.a(lib_a-exit.o): in function `exit&amp;#39;:
exit.c:(.text.exit+0x34): undefined reference to `_exit&amp;#39;
collect2.exe: error: ld returned 1 exit status

&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t understand?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Trouble migrating from NCS 2.6 to 2.8</title><link>https://devzone.nordicsemi.com/thread/515567?ContentTypeID=1</link><pubDate>Wed, 18 Dec 2024 16:46:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:472c9bfd-d361-43c6-b224-53686c3901c6</guid><dc:creator>BrianW</dc:creator><description>&lt;p&gt;Now for sysbuild with mcuboot. btw, if I build without sysbuild (build.sysbuild=False), then the KConfig part gives some warnings buit gets further. With sysbuild, it breaks at the KConfig checking stage.&lt;/p&gt;
[quote userid="107683" url="~/f/nordic-q-a/117362/trouble-migrating-from-ncs-2-6-to-2-8/515543"]What you previously had within &amp;lt;your_project&amp;gt;/child_images/mcuboot.conf is now present within &amp;lt;your_project&amp;gt;/sysbuild/mcuboot.conf [/quote]
&lt;p&gt;Ok, I see the example has the file called mcuboot.conf, however if I name it that then I get:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;CMake Error at C:/ncs/v2.8.0/zephyr/cmake/modules/extensions.cmake:2861 (message):
  No prj.conf file(s) was found in the
  C:/work/dev/if-device-nrf53/cc1-med/sysbuild/mcuboot folder(s), please read
  the Zephyr documentation on application development.&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;So I will name it prj.conf.&lt;/p&gt;
[quote userid="107683" url="~/f/nordic-q-a/117362/trouble-migrating-from-ncs-2-6-to-2-8/515543"]Do you have SB_CONFIG_BOOTLOADER_MCUBOOT=y within sysbuild.conf or is it just within sysbuild/mcuboot.conf?[/quote]
&lt;p&gt;In sysbuild.conf :&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;# MCU boot config now handled by sysbuild
SB_CONFIG_BOOTLOADER_MCUBOOT=y
#SB_CONFIG_MCUBOOT_BOOTLOADER_MODE_SWAP_WITHOUT_SCRATCH=y
#SB_CONFIG_MCUBOOT_GENERATE_UNSIGNED_IMAGE=y

SB_CONFIG_NETCORE_HCI_IPC=y
#SB_CONFIG_NETCORE_APP_UPDATE=y
SB_CONFIG_BOOT_SIGNATURE_TYPE_ECDSA_P256=y
SB_CONFIG_BOOT_SIGNATURE_KEY_FILE=&amp;quot;/work/dev/if-device-nrf53/keys/bootloader_priv-ecdsa256.pem&amp;quot;
#CONFIG_MCUBOOT_SIGNATURE_KEY_FILE=&amp;quot;/work/dev/if-device-nrf53/keys/bootloader_priv-ecdsa256.pem&amp;quot;

# nrf7002 firmware handled by sysbuild
SB_CONFIG_WIFI_NRF70=y
SB_CONFIG_WIFI_NRF70_SYSTEM_MODE=y

# todo get dfu packaging to work
#SB_CONFIG_WIFI_PATCHES_EXT_FLASH_XIP=y

# build of dfu packages
#SB_CONFIG_SUPPORT_NETCORE=y
#SB_CONFIG_SECURE_BOOT=y
#SB_CONFIG_SECURE_BOOT_NETCORE=y

#SB_CONFIG_DFU_MULTI_IMAGE_PACKAGE_BUILD=y
#SB_CONFIG_DFU_MULTI_IMAGE_PACKAGE_APP=y
#SB_CONFIG_DFU_MULTI_IMAGE_PACKAGE_NET=y
#SB_CONFIG_DFU_MULTI_IMAGE_PACKAGE_WIFI_FW_PATCH=y

#SB_CONFIG_DFU_ZIP=y
#SB_CONFIG_DFU_ZIP_APP=y
#SB_CONFIG_DFU_ZIP_NET=y
#SB_CONFIG_DFU_ZIP_WIFI_FW_PATCH=y

# put slot2 in external flash
SB_CONFIG_PARTITION_MANAGER=y
SB_CONFIG_PM_MCUBOOT_PAD=0x200
SB_CONFIG_PM_EXTERNAL_FLASH_MCUBOOT_SECONDARY=y
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;And my sysbuild/mcuboot/prj.conf:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;# mcuboot serial recovery makes image too big for flash space... TODO find more space
CONFIG_MCUBOOT_SERIAL=n
CONFIG_BOOT_SERIAL_CDC_ACM=n
# Enable wait for DFU functionality at boot? 
CONFIG_BOOT_SERIAL_WAIT_FOR_DFU=n
#CONFIG_BOOT_SERIAL_WAIT_FOR_DFU_TIMEOUT=5000

# DFU directly as special USB device? - nO, this required winusb zadig driver which then broke usb FS mounting...
CONFIG_BOOT_USB_DFU_WAIT=n
#CONFIG_BOOT_USB_DFU_WAIT_DELAY_MS=5000
#CONFIG_USB_DEVICE_STACK=y
#CONFIG_USB_DEVICE_PRODUCT=&amp;quot;Infrafon CC2-WDD&amp;quot;
# USB VID is MCS electronics, who sell individual PIDs. 0x138F is for CC2 purchases 25/08/2024
#CONFIG_USB_DEVICE_VID=0x16D0
#CONFIG_USB_DEVICE_PID=0x138F
#CONFIG_USB_DRIVER_LOG_LEVEL_ERR=y

CONFIG_BOOT_MAX_IMG_SECTORS=256
CONFIG_FPROTECT=n

# now handled by sysbuild
#CONFIG_BOOTLOADER_MCUBOOT=y
#CONFIG_BOOT_SIGNATURE_TYPE_ECDSA_P256=y
#CONFIG_BOOT_SIGNATURE_KEY_FILE=&amp;quot;/work/dev/if-device-nrf53/keys/bootloader_priv-ecdsa256.pem&amp;quot;
#CONFIG_MCUBOOT_SIGNATURE_KEY_FILE=&amp;quot;/work/dev/if-device-nrf53/keys/bootloader_priv-ecdsa256.pem&amp;quot;

CONFIG_MCUBOOT_BOOTLOADER_MODE_SWAP_WITHOUT_SCRATCH=y
CONFIG_MCUBOOT_SHELL=n

CONFIG_DEBUG_COREDUMP=n
CONFIG_DEBUG_COREDUMP_BACKEND_LOGGING=n
CONFIG_DEBUG_COREDUMP_MEMORY_DUMP_MIN=n

# Use minimal C library instead of the Picolib
CONFIG_MINIMAL_LIBC=y

CONFIG_DEBUG=n
CONFIG_DEBUG_INFO=n
# all functions in seperate sections so linker can discard unused code
CONFIG_COMPILER_OPT=&amp;quot;-Os&amp;quot;
# -fdata-sections -ffunction-sections -Wl,--gc-sections -Wl,--strip-all&amp;quot;
CONFIG_THREAD_NAME=n
CONFIG_THREAD_ANALYZER=n
CONFIG_THREAD_ANALYZER_USE_PRINTK=n
CONFIG_THREAD_ANALYZER_AUTO=n
CONFIG_SYS_HEAP_RUNTIME_STATS=n
CONFIG_INIT_STACKS=n
CONFIG_ASSERT=n
CONFIG_ASSERT_VERBOSE=n
CONFIG_ASSERT_NO_MSG_INFO=y
CONFIG_ASSERT_NO_COND_INFO=y
CONFIG_ASSERT_NO_FILE_INFO=y
CONFIG_STACK_SENTINEL=n
CONFIG_RESET_ON_FATAL_ERROR=y
CONFIG_REBOOT=y

# turn off serial and uart console to save space (later)
CONFIG_CONSOLE=y
CONFIG_CONSOLE_HANDLER=n
CONFIG_SERIAL=y
CONFIG_UART_CONSOLE=y
CONFIG_STDOUT_CONSOLE=y

# turn off log to save image size
CONFIG_LOG=y
CONFIG_LOG_MODE_MINIMAL=y
CONFIG_LOG_MODE_IMMEDIATE=n
#CONFIG_LOG_BACKEND_UART=y
CONFIG_LOG_DEFAULT_LEVEL=3
CONFIG_LOG_PRINTK=n
CONFIG_SHELL=n
CONFIG_SHELL_MINIMAL=n
CONFIG_SHELL_LOG_BACKEND=n

CONFIG_GPIO=n
CONFIG_GPIO_MCP230XX=n

CONFIG_USE_SEGGER_RTT=n
CONFIG_I2C=n
CONFIG_SPI=n

CONFIG_BOOT_BANNER=n
#CONFIG_TIMESLICING=n
#CONFIG_MULTITHREADING=n
CONFIG_TICKLESS_KERNEL=n
CONFIG_TIMEOUT_64BIT=n
CONFIG_NRF_ENABLE_ICACHE=n
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;This stops &amp;quot;due to Kconfig warnings&amp;quot;:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;-- west build: making build dir C:\work\dev\if-device-nrf53\cc1-med\build pristine
-- west build: generating a build system
Loading Zephyr module(s) (Zephyr base): sysbuild_default
-- Found Python3: C:/ncs/toolchains/2d382dcd92/opt/bin/python.exe (found suitable version &amp;quot;3.12.4&amp;quot;, minimum required is &amp;quot;3.8&amp;quot;) found components: Interpreter
-- Cache files will be written to: C:/ncs/v2.8.0/zephyr/.cache
-- Found west (found suitable version &amp;quot;1.2.0&amp;quot;, minimum required is &amp;quot;0.14.0&amp;quot;)
-- Board: cc2v1, qualifiers: nrf5340/cpuapp
Parsing C:/work/dev/if-device-nrf53/cc1-med/Kconfig.sysbuild
Loaded configuration &amp;#39;C:/work/dev/if-device-nrf53/cc1-med/build/_sysbuild/empty.conf&amp;#39;
Merged configuration &amp;#39;C:/work/dev/if-device-nrf53/cc1-med/sysbuild.conf&amp;#39;
Configuration saved to &amp;#39;C:/work/dev/if-device-nrf53/cc1-med/build/zephyr/.config&amp;#39;
Kconfig header saved to &amp;#39;C:/work/dev/if-device-nrf53/cc1-med/build/_sysbuild/autoconf.h&amp;#39;
--
   *****************************
   * Running CMake for mcuboot *
   *****************************

Loading Zephyr default modules (Zephyr base).
-- Application: C:/ncs/v2.8.0/bootloader/mcuboot/boot/zephyr
-- CMake version: 3.21.0
-- Using NCS Toolchain 2.8.20241106.194216054162 for building. (C:/ncs/toolchains/2d382dcd92/cmake)
-- Found Python3: C:/ncs/toolchains/2d382dcd92/opt/bin/python.exe (found suitable version &amp;quot;3.12.4&amp;quot;, minimum required is &amp;quot;3.8&amp;quot;) found components: Interpreter
-- Cache files will be written to: C:/ncs/v2.8.0/zephyr/.cache
-- Zephyr version: 3.7.99 (C:/ncs/v2.8.0/zephyr)
-- Found west (found suitable version &amp;quot;1.2.0&amp;quot;, minimum required is &amp;quot;0.14.0&amp;quot;)
-- Board: cc2v1, qualifiers: nrf5340/cpuapp
-- Found host-tools: zephyr 0.16.8 (C:/ncs/toolchains/2d382dcd92/opt/zephyr-sdk)
-- Found toolchain: zephyr 0.16.8 (C:/ncs/toolchains/2d382dcd92/opt/zephyr-sdk)
-- Found Dtc: C:/ncs/toolchains/2d382dcd92/opt/bin/dtc.exe (found suitable version &amp;quot;1.4.7&amp;quot;, minimum required is &amp;quot;1.4.6&amp;quot;)

-- Found BOARD.dts: C:/work/dev/if-device-nrf53/boards/infrafon/cc2v1/cc2v1_nrf5340_cpuapp.dts
&amp;#39;label&amp;#39; is marked as deprecated in &amp;#39;properties:&amp;#39; in C:/ncs/v2.8.0/zephyr/dts/bindings\audio\nordic,nrf-pdm.yaml for node /soc/peripheral@50000000/pdm@26000.
&amp;#39;label&amp;#39; is marked as deprecated in &amp;#39;properties:&amp;#39; in C:/ncs/v2.8.0/zephyr/dts/bindings\i2s\nordic,nrf-i2s.yaml for node /soc/peripheral@50000000/i2s@28000.
-- Generated zephyr.dts: C:/work/dev/if-device-nrf53/cc1-med/build/mcuboot/zephyr/zephyr.dts
-- Generated devicetree_generated.h: C:/work/dev/if-device-nrf53/cc1-med/build/mcuboot/zephyr/include/generated/zephyr/devicetree_generated.h
-- Including generated dts.cmake file: C:/work/dev/if-device-nrf53/cc1-med/build/mcuboot/zephyr/dts.cmake
CMake Warning at C:/ncs/v2.8.0/zephyr/cmake/modules/dts.cmake:389 (message):
  dtc raised one or more warnings:

  &amp;lt;stdout&amp;gt;: Warning (avoid_unnecessary_addr_size):
  /soc/peripheral@50000000/i2s@28000: unnecessary #address-cells/#size-cells
  without &amp;quot;ranges&amp;quot; or child &amp;quot;reg&amp;quot; property

Call Stack (most recent call first):
  C:/ncs/v2.8.0/zephyr/cmake/modules/zephyr_default.cmake:133 (include)
  C:/ncs/v2.8.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:66 (include)
  C:/ncs/v2.8.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:92 (include_boilerplate)
  CMakeLists.txt:12 (find_package)



warning: The choice symbol MCUBOOT_BOOTLOADER_MODE_SWAP_WITHOUT_SCRATCH (defined at
modules/Kconfig.mcuboot:164) was selected (set =y), but no symbol ended up as the choice selection.
See http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_MCUBOOT_BOOTLOADER_MODE_SWAP_WITHOUT_SC
RATCH and/or look up MCUBOOT_BOOTLOADER_MODE_SWAP_WITHOUT_SCRATCH in the menuconfig/guiconfig
interface. The Application Development Primer, Setting Configuration Values, and Kconfig - Tips and
Best Practices sections of the manual might be helpful too.


Parsing C:/ncs/v2.8.0/bootloader/mcuboot/boot/zephyr/Kconfig
warning: FLASH_MAP (defined at subsys/storage/flash_map/Kconfig:10) has direct dependencies FLASH_HAS_DRIVER_ENABLED with value n, but is currently being y-selected by the following symbols:
 - MCUBOOT_DEVICE_SETTINGS (defined at C:/ncs/v2.8.0/bootloader/mcuboot/boot/zephyr/Kconfig:977), with value y, direct dependencies y (value: y)Loaded configuration &amp;#39;C:/work/dev/if-device-nrf53/boards/infrafon/cc2v1/cc2v1_nrf5340_cpuapp_defconfig&amp;#39;
Merged configuration &amp;#39;C:/work/dev/if-device-nrf53/cc1-med/sysbuild/mcuboot/prj.conf&amp;#39;
Merged configuration &amp;#39;C:/ncs/v2.8.0/nrf/subsys/partition_manager/ext_flash_mcuboot_secondary.conf&amp;#39;
Merged configuration &amp;#39;C:/work/dev/if-device-nrf53/cc1-med/build/mcuboot/zephyr/.config.sysbuild&amp;#39;


error: Aborting due to Kconfig warnings

CMake Error at C:/ncs/v2.8.0/zephyr/cmake/modules/kconfig.cmake:396 (message):
  command failed with return code: 1
Call Stack (most recent call first):
  C:/ncs/v2.8.0/nrf/cmake/modules/kconfig.cmake:29 (include)
  C:/ncs/v2.8.0/zephyr/cmake/modules/zephyr_default.cmake:133 (include)
  C:/ncs/v2.8.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:66 (include)
  C:/ncs/v2.8.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:92 (include_boilerplate)
  CMakeLists.txt:12 (find_package)


-- Configuring incomplete, errors occurred!
CMake Error at cmake/modules/sysbuild_extensions.cmake:514 (message):
  CMake configure failed for Zephyr project: mcuboot

  Location: C:/ncs/v2.8.0/bootloader/mcuboot/boot/zephyr/
Call Stack (most recent call first):
  cmake/modules/sysbuild_images.cmake:20 (ExternalZephyrProject_Cmake)
  cmake/modules/sysbuild_default.cmake:20 (include)
  C:/ncs/v2.8.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:75 (include)
  C:/ncs/v2.8.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:92 (include_boilerplate)
  C:/ncs/v2.8.0/zephyr/share/sysbuild-package/cmake/SysbuildConfig.cmake:8 (include)
  template/CMakeLists.txt:10 (find_package)


-- Configuring incomplete, errors occurred!
See also &amp;quot;C:/work/dev/if-device-nrf53/cc1-med/build/CMakeFiles/CMakeOutput.log&amp;quot;.
←[91mFATAL ERROR: command exited with status 1: &amp;#39;C:\ncs\toolchains\2d382dcd92\opt\bin\cmake.EXE&amp;#39; -DWEST_PYTHON=C:/ncs/toolchains/2d382dcd92/opt/bin/python.exe &amp;#39;-BC:\work\dev\if-device-nrf53\cc1-med\build&amp;#39; -GNinja -DBOARD=cc2v1/nrf5340/cpuapp &amp;#39;-DBOARD_ROOT=C:\work\dev\if-device-nrf53&amp;#39; &amp;#39;-SC:\ncs\v2.8.0\zephyr\share\sysbuild&amp;#39; &amp;#39;-DAPP_DIR:PATH=C:\work\dev\if-device-nrf53\cc1-med&amp;#39;
←[0m&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;It seems it doesn&amp;#39;t like something about the flash driver? But this worked fine in 2.6... and also I don&amp;#39;t get this error if using child_images build system...&lt;/p&gt;
&lt;p&gt;Note I have a pm_static.yml to define my partitions as I have an external flash chip also - does this make a difference? (again, all fine on 2.6)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Trouble migrating from NCS 2.6 to 2.8</title><link>https://devzone.nordicsemi.com/thread/515562?ContentTypeID=1</link><pubDate>Wed, 18 Dec 2024 16:30:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1eee04cd-cf51-42bc-afe0-1b85d24d52e7</guid><dc:creator>BrianW</dc:creator><description>&lt;p&gt;Hi Andreas&lt;/p&gt;
&lt;p&gt;Ok. Lets start with the migration to HWMv2. I have managed to rename/update my board files so that doing west boards can see the board, and that it manages to do the dtc part.&lt;/p&gt;
&lt;p&gt;I have 3 issues I think here:&lt;/p&gt;
&lt;p&gt;1/ warnings about depreciated labels&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;-- Found BOARD.dts: C:/work/dev/if-device-nrf53/boards/infrafon/cc2v1/cc2v1_nrf5340_cpuapp.dts
&amp;#39;label&amp;#39; is marked as deprecated in &amp;#39;properties:&amp;#39; in C:/ncs/v2.8.0/zephyr/dts/bindings\audio\nordic,nrf-pdm.yaml for node /soc/peripheral@50000000/pdm@26000.
&amp;#39;label&amp;#39; is marked as deprecated in &amp;#39;properties:&amp;#39; in C:/ncs/v2.8.0/zephyr/dts/bindings\i2s\nordic,nrf-i2s.yaml for node /soc/peripheral@50000000/i2s@28000.&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;I can ignore these, yes?&lt;/p&gt;
&lt;p&gt;2/ a more serious looking warning, but related (as far as I can tell) to dts definitions in the SDK&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;-- Including generated dts.cmake file: C:/work/dev/if-device-nrf53/cc1-med/build/mcuboot/zephyr/dts.cmake
CMake Warning at C:/ncs/v2.8.0/zephyr/cmake/modules/dts.cmake:389 (message):
  dtc raised one or more warnings:

  &amp;lt;stdout&amp;gt;: Warning (avoid_unnecessary_addr_size):
  /soc/peripheral@50000000/i2s@28000: unnecessary #address-cells/#size-cells
  without &amp;quot;ranges&amp;quot; or child &amp;quot;reg&amp;quot; property

Call Stack (most recent call first):
  C:/ncs/v2.8.0/zephyr/cmake/modules/zephyr_default.cmake:133 (include)
  C:/ncs/v2.8.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:66 (include)
  C:/ncs/v2.8.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:92 (include_boilerplate)
  CMakeLists.txt:12 (find_package)

&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;The dtsi file that defines the i2s reg and address-cells for the controller is in the SDK: file zephyr/dts/arm/noridc/nrf5340_cpuapp_peripherals.dtsi :&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;i2s0: i2s@28000 {&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;nbsp; &amp;nbsp; compatible = &amp;quot;nordic,nrf-i2s&amp;quot;;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;nbsp; &amp;nbsp; #address-cells = &amp;lt;1&amp;gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;nbsp; &amp;nbsp; #size-cells = &amp;lt;0&amp;gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;nbsp; &amp;nbsp; reg = &amp;lt;0x28000 0x1000&amp;gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;nbsp; &amp;nbsp; interrupts = &amp;lt;40 NRF_DEFAULT_IRQ_PRIORITY&amp;gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;nbsp; &amp;nbsp; status = &amp;quot;disabled&amp;quot;;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;};&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;My dts just enables it and adds pinctrl definition, as well as a gpio used for the sdmode of the amp.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;amp;i2s0 { &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;nbsp; &amp;nbsp; status = &amp;quot;okay&amp;quot;;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;nbsp; &amp;nbsp; compatible = &amp;quot;nordic,nrf-i2s&amp;quot;;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;nbsp; &amp;nbsp; label=&amp;quot;I2S audio out MAX98357A&amp;quot;;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;nbsp; &amp;nbsp; pinctrl-0 = &amp;lt;&amp;amp;i2s0_default&amp;gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;nbsp; &amp;nbsp; pinctrl-1 = &amp;lt;&amp;amp;i2s0_sleep&amp;gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;nbsp; &amp;nbsp; pinctrl-names = &amp;quot;default&amp;quot;, &amp;quot;sleep&amp;quot;;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;nbsp; &amp;nbsp; i2s_sdmode: sdmode {&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; compatible = &amp;quot;nordic,gpio-pins&amp;quot;;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; gpios = &amp;lt;&amp;amp;gpio1 14 GPIO_ACTIVE_HIGH&amp;gt;; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// P1.14&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;nbsp; &amp;nbsp; };&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;};&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;Is there a way for me to &amp;#39;correct&amp;#39; the warning for the base definition?&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;3/ enabling the PDM driver&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;My DTS has the PDM defined as:&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;amp;pdm0 { &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;nbsp; &amp;nbsp; status = &amp;quot;okay&amp;quot;;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;nbsp; &amp;nbsp; compatible = &amp;quot;nordic,nrf-pdm&amp;quot;;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;nbsp; &amp;nbsp; label=&amp;quot;PDM micro in&amp;quot;;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;nbsp; &amp;nbsp; pinctrl-0 = &amp;lt;&amp;amp;pdm0_default&amp;gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;nbsp; &amp;nbsp; pinctrl-1 = &amp;lt;&amp;amp;pdm0_sleep&amp;gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;nbsp; &amp;nbsp; pinctrl-names = &amp;quot;default&amp;quot;, &amp;quot;sleep&amp;quot;;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;nbsp; &amp;nbsp; pdm_en: en {&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; compatible = &amp;quot;nordic,gpio-pins&amp;quot;;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; gpios = &amp;lt;&amp;amp;ioexp0 12 GPIO_ACTIVE_HIGH&amp;gt;; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// GPB.04&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;nbsp; &amp;nbsp; };&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;};&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;This doesn&amp;#39;t cause an issue for the dtc, but I saw a problem for KConfig which didn&amp;#39;t like having CONFIG_NRFX_PDM=y (which was ok for v2.6). Do I need to evolve something in the dts to allow me to define the CONFIG to include the PDM driver?&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;btw, I updated the nrf7002/wifi bits of the DTS, and it now accepts that the DTS has a valid wifi DT to let the wifi stuff in prj.conf be accepted.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;thanks&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Trouble migrating from NCS 2.6 to 2.8</title><link>https://devzone.nordicsemi.com/thread/515543?ContentTypeID=1</link><pubDate>Wed, 18 Dec 2024 15:11:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a0726220-11af-4207-b248-2934193a5f36</guid><dc:creator>AHaug</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I see you&amp;#39;ve started looking into this quite a bit since yesterday, but I&amp;#39;ll start with breaking down the abstraction layer a bit w.r.t sysbuild and the change from using parent/child images. This level of understanding is most likely where you&amp;#39;re already at, but I&amp;#39;m doing it to ensure we&amp;#39;re on the same page.&lt;/p&gt;
&lt;p&gt;In nRF Connect SDK we&amp;#39;ve previously used the child and parent-image system to manage multi-image builds such as for instance the nRF5340 which has both an image for the application core, for the network core (hci_rpmsg) and in most cases an image for a bootloader (mcuboot). To match what is used in Zephyr, the migration to sysbuild was done and thus in turn deprecating child and parent images in favour of companion images instead. I.e it is as good as the same, but different to comply with the norm in the Zephyr RTOS.&lt;/p&gt;
&lt;p&gt;What you previously had within &amp;lt;your_project&amp;gt;/child_images/mcuboot.conf is now present within &amp;lt;your_project&amp;gt;/sysbuild/mcuboot.conf as shown in this sample:&amp;nbsp;&lt;a href="https://github.com/nrfconnect/sdk-zephyr/tree/main/samples/sysbuild/with_mcuboot/sysbuild"&gt;https://github.com/nrfconnect/sdk-zephyr/tree/main/samples/sysbuild/with_mcuboot/sysbuild&lt;/a&gt;&amp;nbsp;and what you had in prj.conf that is related to adding multi-images is now within sysbuild.conf.&lt;/p&gt;
[quote user=""]I created sysbuild.conf (at the root where I run west - is this right?), [/quote]
&lt;p&gt;Yes, this is correct. The second big thing is as you mention sysbuild.conf. Since the build system is changed to use sysbuild, it&amp;#39;s now sysbuild that manages your multiple images, and it is within sysbuild.conf you need to add configurations to enable said additional images (such as MCUboot through SB_CONFIG_BOOTLOADER_MCUBOOT=y).&lt;/p&gt;
&lt;p&gt;The third big thing that has happened is the migration from hardware model 1 to hardware model 2 (which you&amp;#39;ve referred to), and the third big thing is the sysbuild.conf&lt;/p&gt;
&lt;p&gt;Next to your work from today:&lt;/p&gt;
&lt;p&gt;It&amp;#39;s a bit hard to separate build logs from questions, could you edit the 3 earliest replies to use &amp;quot;insert -&amp;gt; code&amp;quot; insert for whats from the build log and the rest outside?&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
[quote user="BrianW"]How can I fix this?[/quote]
&lt;p&gt;Do you have SB_CONFIG_BOOTLOADER_MCUBOOT=y within sysbuild.conf or is it just within sysbuild/mcuboot.conf?&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: Trouble migrating from NCS 2.6 to 2.8</title><link>https://devzone.nordicsemi.com/thread/515466?ContentTypeID=1</link><pubDate>Wed, 18 Dec 2024 12:05:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2c655293-fb34-42ed-a3db-8071ffe64263</guid><dc:creator>BrianW</dc:creator><description>&lt;p&gt;The kconfig warning that causes trhe mcuboot build to fail is for kconfig setting that are NOT in my sysbuid/mcuboot/prj.conf file :&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;
Parsing C:/ncs/v2.8.0/bootloader/mcuboot/boot/zephyr/Kconfig
warning: FLASH_MAP (defined at subsys/storage/flash_map/Kconfig:10) has direct dependencies FLASH_HAS_DRIVER_ENABLED with value n, but is currently being y-selected by the following symbols:
 - MCUBOOT_DEVICE_SETTINGS (defined at C:/ncs/v2.8.0/bootloader/mcuboot/boot/zephyr/Kconfig:977), with value y, direct dependencies y (value: y)Loaded configuration &amp;#39;C:/work/dev/if-device-nrf53/boards/infrafon/cc2v1/cc2v1_nrf5340_cpuapp_defconfig&amp;#39;
Merged configuration &amp;#39;C:/work/dev/if-device-nrf53/cc1-med/sysbuild/mcuboot/prj.conf&amp;#39;
Merged configuration &amp;#39;C:/ncs/v2.8.0/nrf/subsys/partition_manager/ext_flash_mcuboot_secondary.conf&amp;#39;
Merged configuration &amp;#39;C:/work/dev/if-device-nrf53/cc1-med/build/mcuboot/zephyr/.config.sysbuild&amp;#39;


error: Aborting due to Kconfig warnings

CMake Error at C:/ncs/v2.8.0/zephyr/cmake/modules/kconfig.cmake:396 (message):
  command failed with return code: 1
Call Stack (most recent call first):
  C:/ncs/v2.8.0/nrf/cmake/modules/kconfig.cmake:29 (include)
  C:/ncs/v2.8.0/zephyr/cmake/modules/zephyr_default.cmake:133 (include)
  C:/ncs/v2.8.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:66 (include)
  C:/ncs/v2.8.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:92 (include_boilerplate)
  CMakeLists.txt:12 (find_package)

-- Configuring incomplete, errors occurred!

CMake Error at cmake/modules/sysbuild_extensions.cmake:514 (message):
  CMake configure failed for Zephyr project: mcuboot
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;How can I fix this?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Trouble migrating from NCS 2.6 to 2.8</title><link>https://devzone.nordicsemi.com/thread/515453?ContentTypeID=1</link><pubDate>Wed, 18 Dec 2024 11:37:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e54186ef-90ac-434c-84b2-1b98544bb9d7</guid><dc:creator>BrianW</dc:creator><description>&lt;p&gt;This error is caused by my board not being migrated to HWMv2 (despite the migration guide here&amp;nbsp;&lt;a id="" href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/releases_and_maturity/migration/migration_hwmv2.html"&gt;https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/releases_and_maturity/migration/migration_hwmv2.html&lt;/a&gt;&amp;nbsp;explicitly stating that OOT boards do not need to be migrated....)&lt;/p&gt;
&lt;p&gt;Once the board is fixed up&amp;nbsp; to HWMv2, and the build command references the board as board/soc/variant instead of borad_soc_variant (thanks a lot for a meaningless change...) the &amp;#39;sta&amp;#39; sample gets a lot further (it now has dependances on LEDs in the DTS it seems)&lt;/p&gt;
&lt;p&gt;I also had to update my MCP23017 DTS reference to be compatible=&amp;quot;microchip,mcp23017&amp;quot; instead of mcp23xxx to let the DTS compile (why? don&amp;#39;t know) for this error:&lt;/p&gt;
&lt;p&gt;&lt;span&gt;devicetree error: gpio controller &amp;lt;Node /soc/peripheral@50000000/i2c@9000/mcp23017@20 in &amp;#39;C:/ncs/v2.8.0/zephyr/misc/empty_file.c&amp;#39;&amp;gt; for &amp;lt;Node /soc/peripheral@50000000/pdm@26000/en in &amp;#39;C:/ncs/v2.8.0/zephyr/misc/empty_file.c&amp;#39;&amp;gt; lacks binding&lt;/span&gt;&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;Now its:&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span&gt;ioexp0:&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;mcp23017&lt;/span&gt;&lt;span&gt;@&lt;/span&gt;&lt;span&gt;20&lt;/span&gt;&lt;span&gt; {&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span&gt;status&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;&amp;quot;okay&amp;quot;&lt;/span&gt;&lt;span&gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span&gt;compatible&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;&amp;quot;microchip,mcp23017&amp;quot;&lt;/span&gt;&lt;span&gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span&gt;reg&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span&gt; &amp;lt; &lt;/span&gt;&lt;span&gt;0x20&lt;/span&gt;&lt;span&gt; &amp;gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span&gt;gpio-controller&lt;/span&gt;&lt;span&gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span&gt;ngpios&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span&gt; &amp;lt; &lt;/span&gt;&lt;span&gt;16&lt;/span&gt;&lt;span&gt; &amp;gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span&gt;#gpio-cells&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span&gt; &amp;lt; &lt;/span&gt;&lt;span&gt;2&lt;/span&gt;&lt;span&gt; &amp;gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span&gt;int-gpios&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span&gt; &amp;lt;&lt;/span&gt;&lt;span&gt;&amp;amp;&lt;/span&gt;&lt;span&gt;gpio1&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;15&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;GPIO_ACTIVE_LOW&lt;/span&gt;&lt;span&gt;&amp;gt;; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;// P1.15 interupt from ioexpander&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; };&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;in case anyone else gets stuck at this one...&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;My application build is still broken, due to &amp;#39;KConfig warnings&amp;#39;. Pity it doesnt say which ones:&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;br /&gt;&lt;br /&gt;warning: BOOT_USB_DFU_WAIT_DELAY_MS (defined at&lt;br /&gt;C:/ncs/v2.8.0/bootloader/mcuboot/boot/zephyr/Kconfig:759) was assigned the value &amp;#39;5000&amp;#39; but got the&lt;br /&gt;value &amp;#39;&amp;#39;. Check these unsatisfied dependencies: BOOT_USB_DFU_WAIT (=n). See&lt;br /&gt;&lt;a href="http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_BOOT_USB_DFU_WAIT_DELAY_MS"&gt;docs.zephyrproject.org/.../kconfig.html&lt;/a&gt; and/or look up&lt;br /&gt;BOOT_USB_DFU_WAIT_DELAY_MS in the menuconfig/guiconfig interface. The Application Development&lt;br /&gt;Primer, Setting Configuration Values, and Kconfig - Tips and Best Practices sections of the manual&lt;br /&gt;might be helpful too.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;warning: BOOT_SERIAL_WAIT_FOR_DFU_TIMEOUT (defined at&lt;br /&gt;C:/ncs/v2.8.0/bootloader/mcuboot/boot/zephyr\Kconfig.serial_recovery:160) was assigned the value&lt;br /&gt;&amp;#39;5000&amp;#39; but got the value &amp;#39;&amp;#39;. Check these unsatisfied dependencies: BOOT_SERIAL_WAIT_FOR_DFU (=n),&lt;br /&gt;MCUBOOT_SERIAL (=n). See&lt;br /&gt;&lt;a href="http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_BOOT_SERIAL_WAIT_FOR_DFU_TIMEOUT"&gt;docs.zephyrproject.org/.../kconfig.html&lt;/a&gt; and/or&lt;br /&gt;look up BOOT_SERIAL_WAIT_FOR_DFU_TIMEOUT in the menuconfig/guiconfig interface. The Application&lt;br /&gt;Development Primer, Setting Configuration Values, and Kconfig - Tips and Best Practices sections of&lt;br /&gt;the manual might be helpful too.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;warning: USB_DEVICE_PRODUCT (defined at C:/ncs/v2.8.0/bootloader/mcuboot/boot/zephyr/Kconfig:1014,&lt;br /&gt;subsys/usb/device/Kconfig:37) was assigned the value &amp;#39;Infrafon CC2-WDD&amp;#39; but got the value &amp;#39;MCUBOOT&amp;#39;.&lt;br /&gt;See &lt;a href="http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_USB_DEVICE_PRODUCT"&gt;docs.zephyrproject.org/.../kconfig.html&lt;/a&gt; and/or look up&lt;br /&gt;USB_DEVICE_PRODUCT in the menuconfig/guiconfig interface. The Application Development Primer,&lt;br /&gt;Setting Configuration Values, and Kconfig - Tips and Best Practices sections of the manual might be&lt;br /&gt;helpful too.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;warning: BOOTLOADER_MCUBOOT (defined at C:/ncs/v2.8.0/nrf/modules/trusted-&lt;br /&gt;firmware-m\Kconfig.tfm.defconfig:90, modules/Kconfig.mcuboot:13) was assigned the value &amp;#39;y&amp;#39; but got&lt;br /&gt;the value &amp;#39;n&amp;#39;. Check these unsatisfied dependencies: (BUILD_WITH_TFM || !MCUBOOT) (=n). See&lt;br /&gt;&lt;a href="http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_BOOTLOADER_MCUBOOT"&gt;docs.zephyrproject.org/.../kconfig.html&lt;/a&gt; and/or look up&lt;br /&gt;BOOTLOADER_MCUBOOT in the menuconfig/guiconfig interface. The Application Development Primer,&lt;br /&gt;Setting Configuration Values, and Kconfig - Tips and Best Practices sections of the manual might be&lt;br /&gt;helpful too.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;warning: LOG_BACKEND_UART (defined at subsys/logging\backends\Kconfig.uart:4) was assigned the value&lt;br /&gt;&amp;#39;y&amp;#39; but got the value &amp;#39;n&amp;#39;. Check these unsatisfied dependencies: (!LOG_MODE_MINIMAL) (=n). See&lt;br /&gt;&lt;a href="http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_LOG_BACKEND_UART"&gt;docs.zephyrproject.org/.../kconfig.html&lt;/a&gt; and/or look up&lt;br /&gt;LOG_BACKEND_UART in the menuconfig/guiconfig interface. The Application Development Primer, Setting&lt;br /&gt;Configuration Values, and Kconfig - Tips and Best PracticesParsing C:/ncs/v2.8.0/bootloader/mcuboot/boot/zephyr/Kconfig&lt;br /&gt; sections of the manual might be helpful&lt;br /&gt;too.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;warning: USB_DEVICE_VID (defined at subsys/usb/device/Kconfig:19) was assigned the value &amp;#39;0x16D0&amp;#39;&lt;br /&gt;but got the value &amp;#39;&amp;#39;. Check these unsatisfied dependencies: USB_DEVICE_STACK (=n). See&lt;br /&gt;&lt;a href="http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_USB_DEVICE_VID"&gt;docs.zephyrproject.org/.../kconfig.html&lt;/a&gt; and/or look up&lt;br /&gt;USB_DEVICE_VID in the menuconfig/guiconfig interface. The Application Development Primer, Setting&lt;br /&gt;Configuration Values, and Kconfig - Tips and Best Practices sections of the manual might be helpful&lt;br /&gt;too.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;warning: USB_DEVICE_PID (defined at subsys/usb/device/Kconfig:25) was assigned the value &amp;#39;0x138F&amp;#39;&lt;br /&gt;but got the value &amp;#39;&amp;#39;. Check these unsatisfied dependencies: USB_DEVICE_STACK (=n). See&lt;br /&gt;&lt;a href="http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_USB_DEVICE_PID"&gt;docs.zephyrproject.org/.../kconfig.html&lt;/a&gt; and/or look up&lt;br /&gt;USB_DEVICE_PID in the menuconfig/guiconfig interface. The Application Development Primer, Setting&lt;br /&gt;Configuration Values, and Kconfig - Tips and Best Practices sections of the manual might be helpful&lt;br /&gt;too.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;waLoaded configuration &amp;#39;C:/work/dev/if-device-nrf53/boards/infrafon/cc2v1/cc2v1_nrf5340_cpuapp_defconfig&amp;#39;&lt;br /&gt;Merged configuration &amp;#39;C:/work/dev/if-device-nrf53/cc1-med/sysbuild/mcuboot/prj.conf&amp;#39;&lt;br /&gt;Merged configuration &amp;#39;C:/ncs/v2.8.0/nrf/subsys/partition_manager/ext_flash_mcuboot_secondary.conf&amp;#39;&lt;br /&gt;Merged configuration &amp;#39;C:/work/dev/if-device-nrf53/cc1-med/build/mcuboot/zephyr/.config.sysbuild&amp;#39;&lt;br /&gt;rning: The choice symbol MCUBOOT_BOOTLOADER_MODE_SWAP_WITHOUT_SCRATCH (defined at&lt;br /&gt;modules/Kconfig.mcuboot:164) was selected (set =y), but no symbol ended up as the choice selection.&lt;br /&gt;See &lt;a href="http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_MCUBOOT_BOOTLOADER_MODE_SWAP_WITHOUT_SC"&gt;docs.zephyrproject.org/.../kconfig.html&lt;/a&gt;&lt;br /&gt;RATCH and/or look up MCUBOOT_BOOTLOADER_MODE_SWAP_WITHOUT_SCRATCH in the menuconfig/guiconfig&lt;br /&gt;interface. The Application Development Primer, Setting Configuration Values, and Kconfig - Tips and&lt;br /&gt;Best Practices sections of the manual might be helpful too.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;warning: The choice symbol USB_DRIVER_LOG_LEVEL_ERR (defined at&lt;br /&gt;subsys/logging/Kconfig.template.log_config:11) was selected (set =y), but no symbol ended up as the&lt;br /&gt;choice selection. See&lt;br /&gt;&lt;a href="http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_USB_DRIVER_LOG_LEVEL_ERR"&gt;docs.zephyrproject.org/.../kconfig.html&lt;/a&gt; and/or look up&lt;br /&gt;USB_DRIVER_LOG_LEVEL_ERR in the menuconfig/guiconfig interface. The Application Development Primer,&lt;br /&gt;Setting Configuration Values, and Kconfig - Tips and Best Practices sections of the manual might be&lt;br /&gt;helpful too.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;warning: FLASH_MAP (defined at subsys/storage/flash_map/Kconfig:10) has direct dependencies FLASH_HAS_DRIVER_ENABLED with value n, but is currently being y-selected by the following symbols:&lt;br /&gt; - MCUBOOT_DEVICE_SETTINGS (defined at C:/ncs/v2.8.0/bootloader/mcuboot/boot/zephyr/Kconfig:977), with value y, direct dependencies y (value: y)&lt;br /&gt;&lt;br /&gt;error: Aborting due to Kconfig warnings&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Trouble migrating from NCS 2.6 to 2.8</title><link>https://devzone.nordicsemi.com/thread/515409?ContentTypeID=1</link><pubDate>Wed, 18 Dec 2024 09:27:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a97bc2fa-fb63-49cb-ba81-c634a9b0cb9f</guid><dc:creator>BrianW</dc:creator><description>&lt;p&gt;I tried to build the wifi &amp;#39;sta&amp;#39; sample (copied from the ncs 2.8.0 tree). This fails with the same errors...&lt;/p&gt;
&lt;p&gt;C:\work\dev\if-device-nrf53&amp;gt;west build --build-dir wifi_sta_28/build wifi_sta_28 --board cc1medv1_nrf5340_cpuapp --pristine -DBOARD_ROOT=%CD%&lt;br /&gt;-- west build: making build dir C:\work\dev\if-device-nrf53\wifi_sta_28\build pristine&lt;br /&gt;-- west build: generating a build system&lt;br /&gt;Loading Zephyr module(s) (Zephyr base): sysbuild_default&lt;br /&gt;-- Found Python3: C:/ncs/toolchains/2d382dcd92/opt/bin/python.exe (found suitable version &amp;quot;3.12.4&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.8.0/zephyr/.cache&lt;br /&gt;-- Found west (found suitable version &amp;quot;1.2.0&amp;quot;, minimum required is &amp;quot;0.14.0&amp;quot;)&lt;br /&gt;-- Board: cc1medv1_nrf5340_cpuapp&lt;br /&gt;Parsing C:/ncs/v2.8.0/zephyr/share/sysbuild/Kconfig&lt;br /&gt;Loaded configuration &amp;#39;C:/work/dev/if-device-nrf53/wifi_sta_28/build/_sysbuild/empty.conf&amp;#39;&lt;br /&gt;Merged configuration &amp;#39;C:/work/dev/if-device-nrf53/wifi_sta_28/sysbuild.conf&amp;#39;&lt;br /&gt;Configuration saved to &amp;#39;C:/work/dev/if-device-nrf53/wifi_sta_28/build/zephyr/.config&amp;#39;&lt;br /&gt;Kconfig header saved to &amp;#39;C:/work/dev/if-device-nrf53/wifi_sta_28/build/_sysbuild/autoconf.h&amp;#39;&lt;br /&gt;CMake Error at C:/ncs/v2.8.0/nrf/sysbuild/CMakeLists.txt:117 (list):&lt;br /&gt; list GET given empty list&lt;br /&gt;Call Stack (most recent call first):&lt;br /&gt; cmake/modules/sysbuild_extensions.cmake:583 (nrf_PRE_CMAKE)&lt;br /&gt; cmake/modules/sysbuild_extensions.cmake:583 (cmake_language)&lt;br /&gt; cmake/modules/sysbuild_images.cmake:16 (sysbuild_module_call)&lt;br /&gt; cmake/modules/sysbuild_default.cmake:20 (include)&lt;br /&gt; C:/ncs/v2.8.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:75 (include)&lt;br /&gt; C:/ncs/v2.8.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:92 (include_boilerplate)&lt;br /&gt; C:/ncs/v2.8.0/zephyr/share/sysbuild-package/cmake/SysbuildConfig.cmake:8 (include)&lt;br /&gt; template/CMakeLists.txt:10 (find_package)&lt;/p&gt;
&lt;p&gt;What is not correctly installed here?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Trouble migrating from NCS 2.6 to 2.8</title><link>https://devzone.nordicsemi.com/thread/515406?ContentTypeID=1</link><pubDate>Wed, 18 Dec 2024 09:06:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9322916c-6230-4f66-8896-36846364e396</guid><dc:creator>BrianW</dc:creator><description>&lt;p&gt;1st error: sysbuild.conf goes int he build target sub directory.&lt;/p&gt;
&lt;p&gt;This generates many kconfig errors:&lt;/p&gt;
&lt;p&gt;-&amp;nbsp; the DFU building part is now complex... remove for later&lt;/p&gt;
&lt;p&gt;- the option noted int he migration guide&amp;nbsp;SB_CONFIG_PM_MCUBOOT_PAD requires a hex value - but no explanation of what this option is for that I can find (both the nordic site and zephyr search options find no responses...). set to 0x200 as a likely value&lt;/p&gt;
&lt;p&gt;- option&amp;nbsp;SB_CONFIG_MCUBOOT_BOOTLOADER_MODE_SWAP_WITHOUT_SCRATCH=y as noted in the migration guide is rejected as unknown&lt;/p&gt;
&lt;p&gt;- and the option SB_CONFIG_NETCORE_HCI_IPC gets a warning, with a handy link that leads to a search page... that doesn&amp;#39;t find that option..&lt;/p&gt;
&lt;p&gt;And again, the CMake fails with a useless error that doesn&amp;#39;t give any indication of what is causing the issue....&lt;/p&gt;
&lt;p&gt;-- west build: making build dir C:\work\dev\if-device-nrf53\cc1-med\build pristine&lt;br /&gt;-- west build: generating a build system&lt;br /&gt;Loading Zephyr module(s) (Zephyr base): sysbuild_default&lt;br /&gt;-- Found Python3: C:/ncs/toolchains/2d382dcd92/opt/bin/python.exe (found suitable version &amp;quot;3.12.4&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.8.0/zephyr/.cache&lt;br /&gt;-- Found west (found suitable version &amp;quot;1.2.0&amp;quot;, minimum required is &amp;quot;0.14.0&amp;quot;)&lt;br /&gt;-- Board: cc1medv1_nrf5340_cpuapp&lt;/p&gt;
&lt;p&gt;warning: The choice symbol NETCORE_HCI_IPC (defined at&lt;br /&gt;C:/ncs/v2.8.0/nrf/sysbuild\Kconfig.netcore:90) was selected (set =y), but no symbol ended up as the&lt;br /&gt;choice selection. See &lt;a href="http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_NETCORE_HCI_IPC"&gt;docs.zephyrproject.org/.../kconfig.html&lt;/a&gt;&lt;br /&gt;and/or look up NETCORE_HCI_IPC in the menuconfig/guiconfig interface. The Application Development&lt;br /&gt;Primer, Setting Configuration Values, and Kconfig - Tips and Best Practices sections of the manual&lt;br /&gt;might be helpful too.&lt;/p&gt;
&lt;p&gt;Parsing C:/work/dev/if-device-nrf53/cc1-med/Kconfig.sysbuild&lt;br /&gt;Loaded configuration &amp;#39;C:/work/dev/if-device-nrf53/cc1-med/build/_sysbuild/empty.conf&amp;#39;&lt;br /&gt;Merged configuration &amp;#39;C:/work/dev/if-device-nrf53/cc1-med/sysbuild.conf&amp;#39;&lt;br /&gt;Configuration saved to &amp;#39;C:/work/dev/if-device-nrf53/cc1-med/build/zephyr/.config&amp;#39;&lt;br /&gt;Kconfig header saved to &amp;#39;C:/work/dev/if-device-nrf53/cc1-med/build/_sysbuild/autoconf.h&amp;#39;&lt;br /&gt;CMake Error at C:/ncs/v2.8.0/nrf/sysbuild/CMakeLists.txt:117 (list):&lt;br /&gt; list GET given empty list&lt;br /&gt;Call Stack (most recent call first):&lt;br /&gt; cmake/modules/sysbuild_extensions.cmake:583 (nrf_PRE_CMAKE)&lt;br /&gt; cmake/modules/sysbuild_extensions.cmake:583 (cmake_language)&lt;br /&gt; cmake/modules/sysbuild_images.cmake:16 (sysbuild_module_call)&lt;br /&gt; cmake/modules/sysbuild_default.cmake:20 (include)&lt;br /&gt; C:/ncs/v2.8.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:75 (include)&lt;br /&gt; C:/ncs/v2.8.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:92 (include_boilerplate)&lt;br /&gt; C:/ncs/v2.8.0/zephyr/share/sysbuild-package/cmake/SysbuildConfig.cmake:8 (include)&lt;br /&gt; template/CMakeLists.txt:10 (find_package)&lt;/p&gt;
&lt;p&gt;What is missing?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>