<?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>Migration Issues from Zephyr 2.6.1 to 2.9.0: Configuration Problems and Deprecation Warnings</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/117945/migration-issues-from-zephyr-2-6-1-to-2-9-0-configuration-problems-and-deprecation-warnings</link><description>I am migrating from the 2.6.1 development environment to 2.9.0 but am unable to compile due to some configuration issues. 
 My prj.conf configuration file is as follows: 
 
 When I compile, I get the following warnings: 
 
 
 
 Can someone help me understand</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 16 Jan 2025 12:22:24 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/117945/migration-issues-from-zephyr-2-6-1-to-2-9-0-configuration-problems-and-deprecation-warnings" /><item><title>RE: Migration Issues from Zephyr 2.6.1 to 2.9.0: Configuration Problems and Deprecation Warnings</title><link>https://devzone.nordicsemi.com/thread/518624?ContentTypeID=1</link><pubDate>Thu, 16 Jan 2025 12:22:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:47a14b29-ae72-4351-922f-3d1e2c5b840e</guid><dc:creator>runsiv</dc:creator><description>&lt;p&gt;Happy to help&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Runar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Migration Issues from Zephyr 2.6.1 to 2.9.0: Configuration Problems and Deprecation Warnings</title><link>https://devzone.nordicsemi.com/thread/518621?ContentTypeID=1</link><pubDate>Thu, 16 Jan 2025 12:09:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:03c51e8a-cf13-4168-933f-a6629444d872</guid><dc:creator>Andrea Verdecchia</dc:creator><description>&lt;p&gt;Ok, thanks very much. I&amp;#39;ll take a look at the note.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Migration Issues from Zephyr 2.6.1 to 2.9.0: Configuration Problems and Deprecation Warnings</title><link>https://devzone.nordicsemi.com/thread/518610?ContentTypeID=1</link><pubDate>Thu, 16 Jan 2025 11:48:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:94fe6c20-db3e-4bae-ae5c-8a06018f0c45</guid><dc:creator>runsiv</dc:creator><description>&lt;p&gt;1. I would recommend just reading the &lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/releases_and_maturity/migration/migration_sysbuild.html"&gt;migration note for sysbuild&lt;/a&gt;&amp;nbsp;as it explains it better then what I can do.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;2. You will need to convert over to HWM2 as I mentioned in my first reply. This is something that you will have to do in the future if you plan to upgrade to a new version of NCS for your application. I&amp;#39;m not sure when we will remove support for HWM1 but normally we remove something after 3 versions.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Runar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Migration Issues from Zephyr 2.6.1 to 2.9.0: Configuration Problems and Deprecation Warnings</title><link>https://devzone.nordicsemi.com/thread/518589?ContentTypeID=1</link><pubDate>Thu, 16 Jan 2025 09:53:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:15f6f4a7-8100-4075-885c-150c3ad2299b</guid><dc:creator>Andrea Verdecchia</dc:creator><description>[quote userid="122502" url="~/f/nordic-q-a/117945/migration-issues-from-zephyr-2-6-1-to-2-9-0-configuration-problems-and-deprecation-warnings/518562"]can you try to build using the command --no-sysbuild.[/quote]
&lt;p&gt;I tried compiling with SDK 2.8.0 and the &lt;code&gt;--no-sysbuild&lt;/code&gt; option, and I no longer have any errors. Even when compiling with SDK 2.9.0, the errors are gone. It seems the issue has been resolved. However, I now have two questions:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;What does not using sysbuild imply?&lt;/li&gt;
&lt;li&gt;What should I change to use sysbuild?&lt;/li&gt;
&lt;/ol&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Migration Issues from Zephyr 2.6.1 to 2.9.0: Configuration Problems and Deprecation Warnings</title><link>https://devzone.nordicsemi.com/thread/518562?ContentTypeID=1</link><pubDate>Thu, 16 Jan 2025 08:44:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:87585e12-26c7-4c7e-a4c7-f5ea445c888b</guid><dc:creator>runsiv</dc:creator><description>&lt;p&gt;can you try to build using the command --no-sysbuild.&amp;nbsp; Since you are using the old HW1 you should not be using sysbuild either.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I would also suggest taking a look at the &lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/releases_and_maturity/migration/migration_guide_2.8.html"&gt;Migration note for NCS 2.8&lt;/a&gt;. Are you using Zephyr Bluetooth Controller or our Softdevice? It would also be interesting to have a look at your prj.conf&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Runar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Migration Issues from Zephyr 2.6.1 to 2.9.0: Configuration Problems and Deprecation Warnings</title><link>https://devzone.nordicsemi.com/thread/518410?ContentTypeID=1</link><pubDate>Wed, 15 Jan 2025 10:15:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5ae9ddef-9aef-4d0b-b6e2-a8809c70d19b</guid><dc:creator>Andrea Verdecchia</dc:creator><description>&lt;p&gt;Thank you for the suggestions. However, I think the issue is not with upgrading from SDK 2.6.1 to 2.7.0 because if I set SDK 2.7.0 in the NCS of my VS Code, I can compile the project without any issues and continue its development. So, I tried upgrading from SDK 2.7.0 to SDK 2.8.0, and in this case, I encountered the same problem I faced when directly upgrading from 2.6.1 to 2.9.0. Therefore, I believe the issue is not with upgrading to 2.7.0 but rather with 2.8.0. The compilation gives me the following output:&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;west build --build-dir c:/ncsapps/gravity/gravity_sensor/build c:/ncsapps/gravity/gravity_sensor --pristine --board gravity_sensor -- -DNCS_TOOLCHAIN_VERSION=NONE -DBOARD_ROOT=c:/ncsapps/gravity/gravity_sensor

-- 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: gravity_sensor
Parsing C:/ncs/v2.8.0/zephyr/share/sysbuild/Kconfig
Loaded configuration &amp;#39;C:/ncsapps/gravity/gravity_sensor/build/_sysbuild/empty.conf&amp;#39;
Merged configuration &amp;#39;C:/ncsapps/gravity/gravity_sensor/build/_sysbuild/empty.conf&amp;#39;
Configuration saved to &amp;#39;C:/ncsapps/gravity/gravity_sensor/build/zephyr/.config&amp;#39;
Kconfig header saved to &amp;#39;C:/ncsapps/gravity/gravity_sensor/build/_sysbuild/autoconf.h&amp;#39;
CMake Error at C:/ncs/v2.8.0/nrf/sysbuild/CMakeLists.txt:117 (list):
list GET given empty list
Call Stack (most recent call first):
cmake/modules/sysbuild_extensions.cmake:583 (nrf_PRE_CMAKE)
cmake/modules/sysbuild_extensions.cmake:583 (cmake_language)
cmake/modules/sysbuild_images.cmake:16 (sysbuild_module_call)
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)


--
************************************
* Running CMake for gravity_sensor *
************************************

Loading Zephyr default modules (Zephyr base).
-- Application: C:/ncsapps/gravity/gravity_sensor
-- CMake version: 3.21.0
-- 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: gravity_sensor
-- 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:/ncsapps/gravity/gravity_sensor/boards/arm/gravity_sensor/gravity_sensor.dts
-- Found devicetree overlay: C:/ncsapps/gravity/gravity_sensor/boards/gravity_sensor.overlay
-- Generated zephyr.dts: C:/ncsapps/gravity/gravity_sensor/build/gravity_sensor/zephyr/zephyr.dts
-- Generated devicetree_generated.h: C:/ncsapps/gravity/gravity_sensor/build/gravity_sensor/zephyr/include/generated/zephyr/devicetree_generated.h
-- Including generated dts.cmake file: C:/ncsapps/gravity/gravity_sensor/build/gravity_sensor/zephyr/dts.cmake

warning: BT_CTLR_RX_BUFFERS (defined at subsys/bluetooth\controller/Kconfig:225) was assigned the
value &amp;#39;2&amp;#39; but got the value &amp;#39;&amp;#39;. Check these unsatisfied dependencies: BT_LL_SW_SPLIT (=n). See
http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_BT_CTLR_RX_BUFFERS and/or look up
BT_CTLR_RX_BUFFERS 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: The choice symbol USB_MASS_STORAGE_LOG_LEVEL_ERR (defined at
subsys/logging/Kconfig.template.log_config:11) was selected (set =y), but no symbol ended up as the
choice selection. See
http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_USB_MASS_STORAGE_LOG_LEVEL_ERR and/or look
up USB_MASS_STORAGE_LOG_LEVEL_ERR 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 PLATFORM_SPECIFIC_INIT 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.

Parsing C:/ncs/v2.8.0/zephyr/Kconfig
Loaded configuration &amp;#39;C:/ncsapps/gravity/gravity_sensor/boards/arm/gravity_sensor/gravity_sensor_defconfig&amp;#39;
Merged configuration &amp;#39;C:/ncsapps/gravity/gravity_sensor/prj.conf&amp;#39;
Merged configuration &amp;#39;C:/ncsapps/gravity/gravity_sensor/build/gravity_sensor/zephyr/.config.sysbuild&amp;#39;
Configuration saved to &amp;#39;C:/ncsapps/gravity/gravity_sensor/build/gravity_sensor/zephyr/.config&amp;#39;
Kconfig header saved to &amp;#39;C:/ncsapps/gravity/gravity_sensor/build/gravity_sensor/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
CMake Deprecation Warning at C:/ncs/v2.8.0/zephyr/soc/CMakeLists.txt:15 (message):

---------------------------------------------------------------------
--- WARNING: Functionality to describe SoCs in HWMv1 is ---
--- deprecated and should be replaced with HWMv2, including ---
--- boards. HWMv1 SoCs support remains only to ease the migration ---
--- of out-of-tree SoCs and associated boards. It will not be ---
--- possible to build using HWMv1 SoCs at all in future releases. ---
---------------------------------------------------------------------


CMake Warning at C:/ncs/v2.8.0/zephyr/subsys/usb/device/CMakeLists.txt:22 (message):
CONFIG_USB_DEVICE_VID has default value 0x2FE3.

This value is only for testing and MUST be configured for USB products.


CMake Warning at C:/ncs/v2.8.0/zephyr/subsys/usb/device/CMakeLists.txt:28 (message):
CONFIG_USB_DEVICE_PID has default value 0x100.

This value is only for testing and MUST be configured for USB products.


-- Setting build type to &amp;#39;MinSizeRel&amp;#39; as none was specified.
-- Configuring done
-- Generating done
-- Build files have been written to: C:/ncsapps/gravity/gravity_sensor/build/gravity_sensor
-- Configuring incomplete, errors occurred!
See also &amp;quot;C:/ncsapps/gravity/gravity_sensor/build/CMakeFiles/CMakeOutput.log&amp;quot;.
FATAL 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:\ncsapps\gravity\gravity_sensor\build&amp;#39; -GNinja -DBOARD=gravity_sensor -DNCS_TOOLCHAIN_VERSION=NONE -DBOARD_ROOT=c:/ncsapps/gravity/gravity_sensor &amp;#39;-SC:\ncs\v2.8.0\zephyr\share\sysbuild&amp;#39; &amp;#39;-DAPP_DIR:PATH=c:\ncsapps\gravity\gravity_sensor&amp;#39;

* The terminal process terminated with exit code: 1.
* Terminal will be reused by tasks, press any key to close it.&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;I really can&amp;#39;t figure out what it could be. Any other suggestions?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Migration Issues from Zephyr 2.6.1 to 2.9.0: Configuration Problems and Deprecation Warnings</title><link>https://devzone.nordicsemi.com/thread/518134?ContentTypeID=1</link><pubDate>Mon, 13 Jan 2025 11:57:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a8991fbc-e211-4aa4-857b-a38d6c8a038d</guid><dc:creator>runsiv</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;In NCS 2.7 we changed to HWM2 to align with Zephyr&amp;nbsp;&lt;/p&gt;
&lt;h2&gt;Highlights from NCS 2.7&lt;span&gt;&lt;/span&gt;&lt;/h2&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;This release introduces significant, potentially breaking, changes to the SDK:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;The&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-2.6.1/page/zephyr/hardware/porting/board_porting.html"&gt;previous method to define a board (hardware model)&lt;/a&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;is deprecated and being replaced by&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a title="(in Zephyr Project v3.6.99)" href="https://docs.nordicsemi.com/bundle/ncs-2.7.0/page/zephyr/hardware/porting/board_porting.html#board-porting-guide"&gt;&lt;span&gt;a new method (hardware model v2)&lt;/span&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;The previous method to define&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-2.7.0/page/nrf/config_and_build/multi_image.html#ug-multi-image"&gt;&lt;span&gt;multi-image builds (parent-child images)&lt;/span&gt;&lt;/a&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;is deprecated and being replaced by&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a title="(in Zephyr Project v3.6.99)" href="https://docs.nordicsemi.com/bundle/ncs-2.7.0/page/zephyr/build/sysbuild/index.html#sysbuild"&gt;&lt;span&gt;Sysbuild (System build)&lt;/span&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;All samples and applications in the SDK have been migrated. Consult respective documentation as additional or changed parameters might be needed to build them successfully. Applications that are outside of the SDK and use custom-defined boards should not be affected by these changes. However, modifications might still be required as per the migration procedure described in&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/releases_and_maturity/migration/migration_guide_2.7.html"&gt;Migration guide for nRF Connect SDK v2.7.0&lt;/a&gt;. nRF Connect for VS Code users migrating to the latest version of the SDK might be affected.&lt;/p&gt;
&lt;p&gt;All samples and applications in the SDK are built with sysbuild by default. Applications that are outside the SDK are not built with sysbuild by default.&lt;/p&gt;
&lt;p&gt;The deprecated methods are scheduled for removal after the next release. We recommend transitioning to the alternatives as soon as possible. Consult migration guides for&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/releases_and_maturity/migration/migration_hwmv2.html"&gt;Migrating to the current hardware model&lt;/a&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;and&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/releases_and_maturity/migration/migration_sysbuild.html"&gt;Migrating from multi-image builds to sysbuild&lt;/a&gt;. Exercise caution when migrating production environments to the latest SDK.&lt;/p&gt;
&lt;p&gt;Have you seen our migration guide for going from hardware model 1 to model 2 which can be found &lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/releases_and_maturity/migration/migration_hwmv2.html"&gt;here&lt;/a&gt;?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Runar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>