<?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>Uart Device from zephyr get eroor</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/113288/uart-device-from-zephyr-get-eroor</link><description>Hi， 
 In the NCS V2.3.0 version, I successfully obtained the serial device through the following code and compiled it But when I get the serial device in the same way in NCS V2.6.1, there is an error and I want to know what causes this? 
 
 nrf52840dk_nrf52840</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 12 Aug 2024 09:25:35 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/113288/uart-device-from-zephyr-get-eroor" /><item><title>RE: Uart Device from zephyr get eroor</title><link>https://devzone.nordicsemi.com/thread/497755?ContentTypeID=1</link><pubDate>Mon, 12 Aug 2024 09:25:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eaf40f4c-d253-45fb-9a19-bb23f462868d</guid><dc:creator>Naeem Maroof</dc:creator><description>&lt;p&gt;Hi Chuck,&lt;/p&gt;
&lt;p&gt;As the nature of query has changed (from uart/overlay to classes/c++), I would request you to create a newer ticket for that. This would help cataloging different queries and would help others using DevZone as well.&lt;/p&gt;
&lt;p&gt;Thank you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Uart Device from zephyr get eroor</title><link>https://devzone.nordicsemi.com/thread/497121?ContentTypeID=1</link><pubDate>Tue, 06 Aug 2024 09:36:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:54c86ee2-4822-4e68-83b6-ce023a19a5a2</guid><dc:creator>ChuckRui</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Now I can run it successfully, maybe because of some configuration reasons that the program does not work properly.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
[quote userid="119245" url="~/f/nordic-q-a/113288/uart-device-from-zephyr-get-eroor/495186"]We have official migration guides here:&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/releases_and_maturity/migration_guides.html"&gt;Migration Guides NCS&lt;/a&gt;[/quote]
&lt;p&gt;According to The migration guide you provided, I see a reference to &amp;quot;The event_types.h header file was removed&amp;quot; (see below).&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1722936122293v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I wonder if V2.6.1 uses the Nrf class to implement the task scheduling mechanism instead of the event queue mechanism used in V2.3.0.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;V2.3.0&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1722936520011v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;V2.6.1&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1722936536584v3.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;If I need to add custom events, do I need to implement them based on the Nrf class, or can I go back to the previous AppEvent class？&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards，&lt;/p&gt;
&lt;p&gt;Chuck&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Uart Device from zephyr get eroor</title><link>https://devzone.nordicsemi.com/thread/497027?ContentTypeID=1</link><pubDate>Mon, 05 Aug 2024 15:44:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:57b1c6f2-0737-46e8-9588-dba123b50844</guid><dc:creator>Naeem Maroof</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;I could not compile your project&lt;/p&gt;
&lt;p&gt;Are you compiling for 52840? Are you using mcumanager?&lt;/p&gt;
&lt;p&gt;Please share how are you configuring the build.&lt;/p&gt;
&lt;p&gt;Also, at compile time, some configs would not get set.&lt;/p&gt;
&lt;p&gt;Please see if there are any conflicts and the final value of configurations in the ./bild/zephyr/.config file&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Uart Device from zephyr get eroor</title><link>https://devzone.nordicsemi.com/thread/495758?ContentTypeID=1</link><pubDate>Fri, 26 Jul 2024 08:23:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a60482b8-a821-4999-a383-da3adfb978e3</guid><dc:creator>ChuckRui</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/light_5F00_bulb_5F00_1.zip"&gt;devzone.nordicsemi.com/.../light_5F00_bulb_5F00_1.zip&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Could you help me find out what the problem is?&lt;br /&gt;Because I have tested many times, the same configuration can be successfully compiled on NCSV2.3.0, and then RTT can display Zephyr logs, but NCSV2.6.1 can be successfully compiled on the prerequisite, RTT after burning no reaction&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Uart Device from zephyr get eroor</title><link>https://devzone.nordicsemi.com/thread/495382?ContentTypeID=1</link><pubDate>Wed, 24 Jul 2024 09:45:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6342ba99-2a6c-416f-8111-4ff5f2858722</guid><dc:creator>ChuckRui</dc:creator><description>&lt;p&gt;I also tried to direct the replication/v2.6.1 NRF/samples/matter/light_bulb project copy, and then modify the PRJ. Conf file,&lt;br /&gt;And add the following configuration&lt;br /&gt;# Reduce application size&lt;br /&gt;CONFIG_USE_SEGGER_RTT=y&lt;br /&gt;CONFIG_RTT_CONSOLE=y&lt;br /&gt;CONFIG_UART_CONSOLE=n&lt;br /&gt;#CONFIG_LOG_BACKEND_RTT=y&lt;br /&gt;CONFIG_LOG_BACKEND_UART=n&lt;br /&gt;Then burn and compile, it seems that RTT still does not react&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Uart Device from zephyr get eroor</title><link>https://devzone.nordicsemi.com/thread/495376?ContentTypeID=1</link><pubDate>Wed, 24 Jul 2024 09:19:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aacb4e89-1dd1-4c39-ba74-8c80cc520ce1</guid><dc:creator>ChuckRui</dc:creator><description>&lt;p&gt;Hi，&lt;/p&gt;
&lt;p&gt;I have another problem, I want to implement the migration to V2.6.1, but I use the same configuration in prj.conf (as shown below), on V2.3.0, I can see zephyr logs through RTT, but when I open RTT on V2.6.1, there is no log display, I read the link you gave me. The migration guidelines seem to have no RTT related aspects, I wonder why?&lt;/p&gt;
&lt;p&gt;V2.3.0 prj.conf&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;#
# Copyright (c) 2022 Nordic Semiconductor ASA
#
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
#

# Enable CHIP
CONFIG_CHIP=y
CONFIG_CHIP_PROJECT_CONFIG=&amp;quot;src/chip_project_config.h&amp;quot;
# 32773 == 0x8005 (example lighting-app)
CONFIG_CHIP_DEVICE_PRODUCT_ID=257
CONFIG_STD_CPP14=y

# Enable CHIP pairing automatically on application start.
CONFIG_CHIP_ENABLE_PAIRING_AUTOSTART=y

# Add support for LEDs and buttons on Nordic development kits
CONFIG_DK_LIBRARY=y
CONFIG_PWM=y

# Bluetooth Low Energy configuration
CONFIG_BT_DEVICE_NAME=&amp;quot;MatterLight&amp;quot;

# Other settings
CONFIG_THREAD_NAME=y
CONFIG_MPU_STACK_GUARD=y
CONFIG_RESET_ON_FATAL_ERROR=n
CONFIG_CHIP_LIB_SHELL=y

# Reduce application size
#CONFIG_USE_SEGGER_RTT=n


# Changes the clock soucrce to the internal RC oscillator
CONFIG_CLOCK_CONTROL_NRF_K32SRC_RC=y
CONFIG_CLOCK_CONTROL_NRF_K32SRC_XTAL=n

# enable uart driver
CONFIG_SERIAL=y
CONFIG_UART_ASYNC_API=y
CONFIG_UART_INTERRUPT_DRIVEN=y
CONFIG_SHELL_PROMPT_UART=&amp;quot;&amp;quot;


# Enable RTT
CONFIG_USE_SEGGER_RTT=y
CONFIG_RTT_CONSOLE=y
CONFIG_UART_CONSOLE=n
#CONFIG_LOG_BACKEND_RTT=y
CONFIG_LOG_BACKEND_UART=n


CONFIG_LOG_DEFAULT_LEVEL=2
CONFIG_MATTER_LOG_LEVEL_INF=y
CONFIG_ASSERT_VERBOSE=n

# Enable OTA
CONFIG_CHIP_DFU_OVER_BT_SMP=y
CONFIG_BOOTLOADER_MCUBOOT=y

# Set Sofeware Version
CONFIG_CHIP_DEVICE_SOFTWARE_VERSION=1
CONFIG_CHIP_DEVICE_SOFTWARE_VERSION_STRING=&amp;quot;1.0&amp;quot;
CONFIG_CHIP_DEVICE_HARDWARE_VERSION=1
#CONFIG_MCUBOOT_IMAGE_VERSION=&amp;quot;0.0.1+2&amp;quot;

# Enable Factory Data
CONFIG_CHIP_FACTORY_DATA=y
#CONFIG_CHIP_FACTORY_DATA_BUILD=y

CONFIG_SPEED_OPTIMIZATIONS=y





&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;V2.6.1 prj.conf&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;#
# Copyright (c) 2022 Nordic Semiconductor ASA
#
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
#

# Enable CHIP
CONFIG_CHIP=y
CONFIG_CHIP_PROJECT_CONFIG=&amp;quot;src/chip_project_config.h&amp;quot;
# 32773 == 0x8005 (example lighting-app)
CONFIG_CHIP_DEVICE_PRODUCT_ID=257
CONFIG_STD_CPP17=y

# Enable CHIP pairing automatically on application start.
CONFIG_CHIP_ENABLE_PAIRING_AUTOSTART=y

# Add support for LEDs and buttons on Nordic development kits
CONFIG_DK_LIBRARY=y
CONFIG_PWM=y

# Bluetooth Low Energy configuration
CONFIG_BT_DEVICE_NAME=&amp;quot;MatterLight&amp;quot;

# Other settings
CONFIG_THREAD_NAME=y
CONFIG_MPU_STACK_GUARD=y
CONFIG_RESET_ON_FATAL_ERROR=n
CONFIG_CHIP_LIB_SHELL=y

# Reduce application size
#CONFIG_USE_SEGGER_RTT=n


# Changes the clock soucrce to the internal RC oscillator
CONFIG_CLOCK_CONTROL_NRF_K32SRC_RC=y
CONFIG_CLOCK_CONTROL_NRF_K32SRC_XTAL=n

# enable uart driver
CONFIG_SERIAL=y
CONFIG_UART_ASYNC_API=y
CONFIG_UART_INTERRUPT_DRIVEN=y
CONFIG_SHELL_PROMPT_UART=&amp;quot;&amp;quot;


# Enable RTT
CONFIG_USE_SEGGER_RTT=y
CONFIG_RTT_CONSOLE=y
CONFIG_UART_CONSOLE=n
#CONFIG_LOG_BACKEND_RTT=y
CONFIG_LOG_BACKEND_UART=n


CONFIG_LOG_DEFAULT_LEVEL=2
CONFIG_MATTER_LOG_LEVEL_INF=y
CONFIG_ASSERT_VERBOSE=n

# Enable OTA
CONFIG_CHIP_DFU_OVER_BT_SMP=y
CONFIG_BOOTLOADER_MCUBOOT=y

# Set Sofeware Version
#CONFIG_CHIP_DEVICE_SOFTWARE_VERSION=1
#CONFIG_CHIP_DEVICE_SOFTWARE_VERSION_STRING=&amp;quot;1.0&amp;quot;
#CONFIG_CHIP_DEVICE_HARDWARE_VERSION=1
#CONFIG_MCUBOOT_IMAGE_VERSION=&amp;quot;0.0.1+2&amp;quot;

# Enable Factory Data
CONFIG_CHIP_FACTORY_DATA=y
#CONFIG_CHIP_FACTORY_DATA_BUILD=y

CONFIG_SPEED_OPTIMIZATIONS=y





&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;The only difference is that V2.6.1 and V2.3.0 use the CPP versions of V17 and V14&lt;br /&gt;CONFIG_STD_CPP17=y&lt;br /&gt;CONFIG_STD_CPP14=y&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;V2.3.0&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1721812666522v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;It&amp;#39;s worth mentioning that I haven&amp;#39;t burned the factory data yet.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;V2.6.1&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1721812752826v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Chuck&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Uart Device from zephyr get eroor</title><link>https://devzone.nordicsemi.com/thread/495186?ContentTypeID=1</link><pubDate>Tue, 23 Jul 2024 10:54:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ee986b7d-f527-49a2-a2cb-02086970c409</guid><dc:creator>Naeem Maroof</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;We have official migration guides here:&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/releases_and_maturity/migration_guides.html"&gt;Migration Guides NCS&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;/best regards,&lt;/p&gt;
&lt;p&gt;Naeem&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Uart Device from zephyr get eroor</title><link>https://devzone.nordicsemi.com/thread/495133?ContentTypeID=1</link><pubDate>Tue, 23 Jul 2024 06:50:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:60248a58-74b4-4280-b09c-69dcbbf54779</guid><dc:creator>ChuckRui</dc:creator><description>&lt;p&gt;OMG，I was careless.Thank you~&lt;/p&gt;
&lt;p&gt;By the way,Is there a migration guide? I want to migrate from V2.3.0 to the NCS version V2.7.0 that supports Matter1.3 authentication and find a lot of changes in the code, including the task mechanism. Is app_event not used in the new version of NCS? Includes the following files in the path also changed the &amp;quot;replication/v2.7.0 / NRF/samples/matter/common/&amp;quot;, how can faster to migrate.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Chuck&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Uart Device from zephyr get eroor</title><link>https://devzone.nordicsemi.com/thread/495052?ContentTypeID=1</link><pubDate>Mon, 22 Jul 2024 14:10:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bf0e380c-81c0-4e51-b21e-6446b4773959</guid><dc:creator>Naeem Maroof</dc:creator><description>&lt;p&gt;You have disabled uart1 in the overlay:&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1721657402993v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>