<?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>Critical bug in nRF Connect SDK v2.1.0 no pin configuration in devicetree header</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/92788/critical-bug-in-nrf-connect-sdk-v2-1-0-no-pin-configuration-in-devicetree-header</link><description>I just upgraded my environment from nRF Connect SDK v1.9.1 to v2.1.0. This process raised one critical bug, as well as some very important questions: 
 My projects make very minor changes to a copy of existing samples and boards: 
 I maintain modified</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 25 Nov 2022 15:32:49 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/92788/critical-bug-in-nrf-connect-sdk-v2-1-0-no-pin-configuration-in-devicetree-header" /><item><title>RE: Critical bug in nRF Connect SDK v2.1.0 no pin configuration in devicetree header</title><link>https://devzone.nordicsemi.com/thread/397704?ContentTypeID=1</link><pubDate>Fri, 25 Nov 2022 15:32:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:010f5fe5-0382-42a7-9ce4-9e46e1a869a5</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi Georgi&lt;/p&gt;
&lt;p&gt;Thanks for sharing the updated forks &lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&lt;/p&gt;
[quote user="Georgi Valkov"]If I build atop the original driver, simple API, low latency and high performance are out of the question.[/quote]
&lt;p&gt;I am confident I can&amp;nbsp;fix the first of those three with my UART async wrapper, but if I can do anything about the other two only testing will tell.&amp;nbsp;I am guessing&amp;nbsp;it won&amp;#39;t be as fast as your implementation &lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f609.svg" title="Wink"&gt;&amp;#x1f609;&lt;/span&gt;&lt;/p&gt;
[quote user="Georgi Valkov"]Replacing the original driver has never been my intent. I believe users will benefit if given the choice to select one or the other. Of course&amp;nbsp;existing samples will not be compatible, though it is quite easy to support both using &lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;#ifdef&lt;/span&gt;&amp;nbsp;like I did with connectivity_bridge, or create a dedicated sample. It would be safer to keep UARTE as default. Either way, my fork is now online so people can benefit from it.[/quote]
&lt;p&gt;Yes, having options is great.&amp;nbsp;The more options there are available for Zephyr developers the better, and the standard drivers will never be able to fit all use cases (not to say they can&amp;#39;t be improved). Thanks again for making the code available &lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&lt;/p&gt;
[quote user="Georgi Valkov"]A nice thing to do would be to make the UART miniport driver available as a module that can be selected using KConfig. Can you please help me with that?[/quote]
&lt;p&gt;A colleague of mine pointed me to a nice guide online walking through the specifics of making a Zephyr module. He also provides an example module to check out, and a sample showing how to use it. Please have a look &lt;a href="https://iwasz.pl/electronics/2021-06-18-out-of-tree-zephyr-module.md/"&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;I used this as a reference when I &amp;#39;modularized&amp;#39; my own UART wrapper, that I linked earlier.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Please note that this module doesn&amp;#39;t show how to implement device tree bindings, since it doesn&amp;#39;t rely on peripheral drivers. I still need to add this to my UART library (hopefully I have some time next week).&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you still need some assistance after looking through Iwasz&amp;#39; example and blog let me know, and I will do my best to help. If you have a lot of questions you might want to open a new ticket again (if you want it to be assigned to me just mention that I already helped you with a similar issue).&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Critical bug in nRF Connect SDK v2.1.0 no pin configuration in devicetree header</title><link>https://devzone.nordicsemi.com/thread/397010?ContentTypeID=1</link><pubDate>Tue, 22 Nov 2022 18:23:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fdda0af7-abe3-49ae-8d65-2bf1c8ca18cb</guid><dc:creator>Georgi Valkov</dc:creator><description>&lt;p&gt;Hello Torbj&amp;oslash;rn!&lt;/p&gt;
&lt;p&gt;I updated my forks. The UART miniport driver is inside&amp;nbsp;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;nrf/applications/connectivity_bridge_*/src/uart/&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;a id="" href="https://github.com/httpstorm/sdk-nrf/tree/2022-11-20"&gt;https://github.com/httpstorm/sdk-nrf/tree/2022-11-20&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a id="" href="https://github.com/httpstorm/sdk-zephyr/tree/2022-11-20"&gt;https://github.com/httpstorm/sdk-zephyr/tree/2022-11-20&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
[quote userid="2116" url="~/f/nordic-q-a/92788/critical-bug-in-nrf-connect-sdk-v2-1-0-no-pin-configuration-in-devicetree-header/396984"]I hate to be negative, but in general getting alternative drivers and such into the official repositories is not very easy.[/quote]
&lt;p&gt;Yes, I&amp;#39;ve heard this before. Like you said, the changes are too big. And this is intentional. If I build atop the original driver, simple API, low latency and high performance are out of the question. I also understand that such a change is hard to accept in the environment of nRF Connect SDK. That&amp;#39;s fine. Replacing the original driver has never been my intent. I believe users will benefit if given the choice to select one or the other. Of course&amp;nbsp;existing samples will not be compatible, though it is quite easy to support both using &lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;#ifdef&lt;/span&gt;&amp;nbsp;like I did with connectivity_bridge, or create a dedicated sample. It would be safer to keep UARTE as default. Either way, my fork is now online so people can benefit from it.&lt;/p&gt;
&lt;p&gt;A nice thing to do would be to make the UART miniport driver available as a module that can be selected using KConfig. Can you please help me with that?&lt;/p&gt;
&lt;p&gt;Regarding the nRF9160dk board files: connectivity_bridge is designed to run on Thingy:91. In my environment I also use it on nRF9160dk. In order for this to work, some board changes are needed. A few pins are routed so that nRF9160 and nRF52840 have UART connectivity.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;nRF9160 UART0 RX, TX are routed to USB UART0 TX, RX&lt;/li&gt;
&lt;li&gt;nRF9160 UART1 TX is routed to nRF52840 UART0 RX&lt;/li&gt;
&lt;li&gt;nRF9160 UART1 RX is routed to nRF52840 UART1 TX&lt;/li&gt;
&lt;li&gt;&lt;span&gt;nRF52840 UART0 TX is routed to USB UART1 RX&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;nRF52840 UART1&lt;span&gt;&amp;nbsp;R&lt;/span&gt;X is routed to USB UART1 TX&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;span&gt;You likely noticed that UART0-1 on nRF52840 are cross-wired and this is intentional. Data from UART0 RX events&amp;nbsp;is sent to UART0 TX, so anything received from nRF9160 is forwarded to USB UART1. Anything received from USB UART1 goes to nRF9160. This simplifies the connectivity_bridge design, where the common practice is to forward data between interfaces with the same index.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;There is one more addition to nRF9160 board files: just like you figured the original API is overcomplicated, a couple of years ago, I needed a simple synchronous send for UART1. So this was my attempt which took over 300 lines of code, see&amp;nbsp;uart_ble.c. Since then I lack any motivation to use the UARTE driver. There is a wisdom saying that API should be easy to use correctly and hard to use incorrectly.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Board changes diff&amp;nbsp;&lt;/span&gt;&lt;span&gt;&lt;a id="" href="https://github.com/httpstorm/sdk-zephyr/commit/79cffdd6fd352317b2ee55d2864259660c3494b0"&gt;https://github.com/httpstorm/sdk-zephyr/commit/79cffdd6fd352317b2ee55d2864259660c3494b0&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;BTW You might have noticed I also have connectivity bridge running on nRF52840. No board changes are needed. I just changed the advertised BLE name, because I usually have connectivity bridge running on Thingy:91, nRF9160dk and nRF52840dk at the same time.&amp;nbsp;I need to&amp;nbsp;make it so that instead of keeping 3 dedicated projects differing by the BLE name, I keep only one, and the actual name is selected by the target board. The code is identical.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Critical bug in nRF Connect SDK v2.1.0 no pin configuration in devicetree header</title><link>https://devzone.nordicsemi.com/thread/396984?ContentTypeID=1</link><pubDate>Tue, 22 Nov 2022 15:22:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:89a6a59e-3988-4f46-9041-972c4c816f18</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi Georgi&lt;/p&gt;
&lt;p&gt;Thanks for sharing your latest driver. I haven&amp;#39;t been able to try it out yet, but I took a look at the code.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;A challenge with getting something like this into the SDK is that it is a complete rewrite of the current UART driver, basically replacing what is already there.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;For that to make sense it would&amp;nbsp;basically have to be able to improve on the existing driver for all use cases&amp;nbsp;across all nRF devices, and it would also need to follow the coding guidelines defined by Zephyr, and the standard device driver model that all Zephyr drivers incorporate.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;My UART driver by comparison is just a small wrapper on top of the UART ASYNC driver, and&amp;nbsp;don&amp;#39;t require very large changes to the existing framework.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;When implementing changes to Zephyr or any of the&amp;nbsp;other repositories under the nRF Connect SDK umbrella it is also recommended to make a fork of the original repository to your own Github account, and implement the changes on this fork.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then you can easily generate a patch showing the difference between the original repository and your own changes, and in case you want to suggest an update to the upstream repositories you can issue a pull request.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I hate to be negative, but in general getting alternative drivers and such into the official repositories is not very easy. If there is a problem with the official driver then this should be fixed in that driver, rather than having multiple competing drivers in the same repository.&amp;nbsp;&lt;br /&gt;If you could&amp;nbsp;implement your driver as a patch though then it would make it easy for people to try it out, and easy for you to patch it in after downloading the SDK, simplifying the process of adding the driver to an existing sample.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;By the way, I noticed you also had board files included in the zip. What did you change in the board files?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Critical bug in nRF Connect SDK v2.1.0 no pin configuration in devicetree header</title><link>https://devzone.nordicsemi.com/thread/396582?ContentTypeID=1</link><pubDate>Mon, 21 Nov 2022 09:17:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:083ba358-0b4c-47ee-9b64-328b7c2ce2a2</guid><dc:creator>Georgi Valkov</dc:creator><description>&lt;p&gt;Thanks Torbj&amp;oslash;rn! The new ticket is here:&lt;br /&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/94075/use-ble-driver-and-stack-outside-nrf-connect-sdk"&gt;Use BLE driver and stack outside nRF Connect SDK&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I&amp;nbsp;made a&amp;nbsp;tiny update to my driver.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/uart_5F00_miniport-2022_2D00_11_2D00_20.7z"&gt;devzone.nordicsemi.com/.../uart_5F00_miniport-2022_2D00_11_2D00_20.7z&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Critical bug in nRF Connect SDK v2.1.0 no pin configuration in devicetree header</title><link>https://devzone.nordicsemi.com/thread/396571?ContentTypeID=1</link><pubDate>Mon, 21 Nov 2022 08:48:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:857ba570-8980-4815-874f-8655bbcdc846</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi Georgi&lt;/p&gt;
[quote user="Georgi Valkov"]I&amp;#39;ve been looking for information&amp;nbsp;how the BLE driver and stack are organised in the build system. I would like to use them with a different OS. My goal would be to find all related files and copy them outside the SDK. Then I can provide all necessary API which Zephyr provides and build a library using&amp;nbsp;arm-none-eabi-gcc and make. Any help on that would be very helpful.[/quote]
&lt;p&gt;Could you open a new ticket on this?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;This sounds like a pretty complex issue, and the case is getting pretty long already (the devzone is not really designed for handling multiple different issues in the same case).&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I will have to get back to you on the UART example, but I will take a look at it and get back to you in a day or two.&amp;nbsp;&lt;/p&gt;
[quote user="Georgi Valkov"]Thank you very much! Indeed despite of the many issue, I can confirm that the Nordic team has always been very kind and helpful.&amp;nbsp;&lt;span title="Slight smile"&gt;&lt;img src="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/4861.1f642.svg" style="max-height:32px;max-width:32px;" alt="Slight smile" /&gt;&lt;/span&gt;[/quote]
&lt;p&gt;That is good to hear &lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Critical bug in nRF Connect SDK v2.1.0 no pin configuration in devicetree header</title><link>https://devzone.nordicsemi.com/thread/396158?ContentTypeID=1</link><pubDate>Thu, 17 Nov 2022 09:48:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9356ce46-4d73-4ab8-bc99-62a4915f7dc7</guid><dc:creator>Georgi Valkov</dc:creator><description>&lt;p&gt;Hello Overbekk!&lt;/p&gt;
[quote userid="2116" url="~/f/nordic-q-a/92788/critical-bug-in-nrf-connect-sdk-v2-1-0-no-pin-configuration-in-devicetree-header/396041"]As an example the BLE heart rate sample in Zephyr is 130 lines long, compared to close to a 1000 lines for the equivalent nRF5 SDK example, and a lot of this is down to the simpler Bluetooth API&amp;#39;s.&amp;nbsp;[/quote]
&lt;p&gt;I&amp;#39;ve been looking for information&amp;nbsp;how the BLE driver and stack are organised in the build system. I would like to use them with a different OS. My goal would be to find all related files and copy them outside the SDK. Then I can provide all necessary API which Zephyr provides and build a library using&amp;nbsp;arm-none-eabi-gcc and make. Any help on that would be very helpful.&lt;/p&gt;
[quote userid="2116" url="~/f/nordic-q-a/92788/critical-bug-in-nrf-connect-sdk-v2-1-0-no-pin-configuration-in-devicetree-header/396041"]if for instance you want to make your own device driver this is quite challenging until you understand how&amp;nbsp;the build system works[/quote]
&lt;p&gt;I agree! I actually implemented my own UART miniport driver, which can work on bare metal, or integrate with an OS such as Zephyr or nano RTOS so that tasks sleep while waiting for the hardware. The driver was designed with a simple API, high efficiency, low latency and portability in mind. So it can work with any RTOS that provides &lt;em&gt;task wait&lt;/em&gt; and &lt;em&gt;wake from interrupt&lt;/em&gt; API. Attached below is the source code integrated in connectivity_bridge.&amp;nbsp;Can you please help me make it into a library for nRF Connect SDK? Ideally the user should be able to disable UARTE and enable UART miniport through KConfig, then use the driver API.&amp;nbsp;It would be nice if we can make it part of the SDK to benefit everyone who wants to use it.&lt;/p&gt;
&lt;p&gt;I did a performance comparison between original and modified versions of connectivity bridge. Consider an external CPU is sending a lot of data, keeping the UART RX busy 100% of the time at 115200 baud rate, e.g.&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;for (int i = 0; 1; i++) printf(&amp;quot;UART test %8i\n&amp;quot;, i);&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;With the original connectivity_bridge the BLE client receives large packets with a huge delay between them. With the modified code attached below the packet size is adaptive based on load, keeping latency as low as possible. CPU usage is also highly reduced. One change I had to make was to move the BLE send code to a dedicated higher priority task, instead of using the system work queue. The work queue would choke when&amp;nbsp;a lot of data is received, especially if USB UART is also connected to a computer and in use. In my test I used connectivity_bridge_52840 which runs on nRF52840dk.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/uart_5F00_miniport-2022_2D00_11_2D00_07.7z"&gt;devzone.nordicsemi.com/.../uart_5F00_miniport-2022_2D00_11_2D00_07.7z&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
[quote userid="2116" url="~/f/nordic-q-a/92788/critical-bug-in-nrf-connect-sdk-v2-1-0-no-pin-configuration-in-devicetree-header/396041"]I am actually working on my own wrapper for the UART ASYNC driver, in order to simplify UART handling overall, handle application buffering of data and remove the need for dynamic memory allocation. Feel free to have a look at the driver &lt;a href="https://github.com/too1/ncs-uart-handler"&gt;here&lt;/a&gt;&amp;nbsp;if you&amp;#39;re interested. I&amp;#39;m planning to get it into the nRF Connect SDK once I have had more time to stress test it, and for what it&amp;#39;s worth it only has two public functions and a single callback, so it should satisfy the &amp;#39;simple API&amp;#39; criteria[/quote]
&lt;p&gt;That&amp;#39;s great! Makes me curious if you can compare the performance to my driver? I&amp;#39;ll be happy to see both available in the SDK. Since my code has no external dependencies, it should be easy to integrate. One important note about UART miniport: send and receive calls are somewhere in between synchronous and and asynchronous. As long as the driver buffer has enough space to store all TX data, the call returns immediately. If the buffer is full, the call returns as soon as all data is copied, transmission continues using DMA on the background. for RX, incoming data is stored in the RX buffer. A recv request returns as soon as any data is available to read, otherwise it blocks (it can also be configured to wait until all requested data is received). The benefit of this design is that the user can easily implement recv, process, send on one task without any risk of dropping data. And since there is no need for synchronisation between tasks or queues, this results in a very simple and reliable code.&lt;/p&gt;
[quote userid="2116" url="~/f/nordic-q-a/92788/critical-bug-in-nrf-connect-sdk-v2-1-0-no-pin-configuration-in-devicetree-header/396041"]And in general never hesitate to get in touch with us regarding any issues&amp;nbsp;you find in the SDK. It will never be perfect, and we can&amp;#39;t satisfy every request, but it is always better to report something to us rather than just get frustrated on your own[/quote]
&lt;p&gt;Thank you very much! Indeed despite of the many issue, I can confirm that the Nordic team has always been very kind and helpful.&amp;nbsp;&lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Critical bug in nRF Connect SDK v2.1.0 no pin configuration in devicetree header</title><link>https://devzone.nordicsemi.com/thread/396041?ContentTypeID=1</link><pubDate>Wed, 16 Nov 2022 15:10:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4e14386f-9197-4389-a087-7ee9ca5827f1</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Sorry for the slow response from the Nordic side. I took over this case from Håkon a while back, and have been observing the discussion from the side line without taking part.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;It has been a bit of a bumpy ride with the nRF Connect SDK introduction no doubt, but it is getting better day by day and we are putting a lot of effort into helping people get through the initial hurdle of getting started with it.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;My personal experience getting into the SDK is that the initial learning curve is very steep, but once you start to understand how the various build systems, API&amp;#39;s etc are put together, and understand how to use the Zephyr RTOS to the best effect, then the productivity goes up considerably compared to the nRF5 SDK.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;As for complexity I believe this is a bit of a mixed bag. The build system is certainly more complex, and if for instance you want to make your own device driver this is quite challenging until you understand how&amp;nbsp;the build system works, but I feel that most of the API&amp;#39;s are clear and concise.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;As an example the BLE heart rate sample in Zephyr is 130 lines long, compared to close to a 1000 lines for the equivalent nRF5 SDK example, and a lot of this is down to the simpler Bluetooth API&amp;#39;s.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Project configuration with Kconfig is generally a lot easier than working with sdk_config.h too, and moving from one chip to another is easier because of the board architecture.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regarding&amp;nbsp;UART drivers I agree there is some work to be done there. I am actually working on my own wrapper for the UART ASYNC driver, in order to simplify UART handling overall, handle application buffering of data and remove the need for dynamic memory allocation. Feel free to have a look at the driver &lt;a href="https://github.com/too1/ncs-uart-handler"&gt;here&lt;/a&gt;&amp;nbsp;if you&amp;#39;re interested. I&amp;#39;m planning to get it into the nRF Connect SDK once I have had more time to stress test it, and for what it&amp;#39;s worth it only has two public functions and a single callback, so it should satisfy the &amp;#39;simple API&amp;#39; criteria&amp;nbsp;&lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f609.svg" title="Wink"&gt;&amp;#x1f609;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t know if this driver would help with the connectivity_bridge sample though, the main focus has been on the peripheral_uart sample.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;And in general never hesitate to get in touch with us regarding any issues&amp;nbsp;you find in the SDK. It will never be perfect, and we can&amp;#39;t satisfy every request, but it is always better to report something to us rather than just get frustrated on your own &lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Regarding LTS releases this is something that we are considering, but we don&amp;#39;t have any concrete plans to share yet unfortunately.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Critical bug in nRF Connect SDK v2.1.0 no pin configuration in devicetree header</title><link>https://devzone.nordicsemi.com/thread/394799?ContentTypeID=1</link><pubDate>Tue, 08 Nov 2022 19:28:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1ddc9338-fdcf-43bd-b40e-6cabe844df08</guid><dc:creator>Georgi Valkov</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/members/jtrueb"&gt;jtrueb&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
[quote userid="90890" url="~/f/nordic-q-a/92788/critical-bug-in-nrf-connect-sdk-v2-1-0-no-pin-configuration-in-devicetree-header/391850"]I&amp;#39;m not ready to switch off of the NRF Connect SDK at the moment.&amp;nbsp;I want an RTOS that can be certified similar to the NRF5 SDK. I want tools and build systems that work (not SEGGER).[/quote]
&lt;p&gt;Alas I cannot offer&amp;nbsp;certification, and the features are pretty basic at the moment. arm-none-eabi is used to build an .elf image.&lt;/p&gt;
[quote userid="120604" url="~/f/nordic-q-a/92788/critical-bug-in-nrf-connect-sdk-v2-1-0-no-pin-configuration-in-devicetree-header/391963"]It sounds like you are more tolerant of release train and security issues since you are considering a new&amp;nbsp;RTOS.[/quote]
&lt;p&gt;Honestly, all I have for nRF52840 is a low latency UART driver with DMA. Whenever I need the BLE radio, I&amp;#39;m forced to use nRF Connect with my driver, because the original is too complicated, apart from reliability and latency&amp;nbsp;issues.&lt;/p&gt;
[quote userid="90890" url="~/f/nordic-q-a/92788/critical-bug-in-nrf-connect-sdk-v2-1-0-no-pin-configuration-in-devicetree-header/391850"]I have become accustomed to scrolling through the Known Issues because so many of them are relevant to core functionality of an application. [/quote]
&lt;p&gt;One issue I have with Zephyr is how&amp;nbsp;overcomplicated everything is. This leads to mistakes. I started&amp;nbsp;nano RTOS, because I needed simple API and concurrent tasks for a project based on Arduino. I do my best to consider security and reliability factors in my designs. And I follow the rule that API should be easy to use correctly and hard to use incorrectly. Many pitfalls arise from not knowing how to use a certain functionality.&lt;/p&gt;
[quote userid="120604" url="~/f/nordic-q-a/92788/critical-bug-in-nrf-connect-sdk-v2-1-0-no-pin-configuration-in-devicetree-header/391963"]How are you handling CVEs?[/quote]
&lt;p&gt;For Zephyr I have not used it professionally since we lost the project due to the many SDK issues. Nowadays I use it to run a few projects of mine as a hobby. At a later point I discovered a&amp;nbsp;BLE exploit and got&amp;nbsp;a bounty. I never imagined I would need to write an UART driver and make other changes to connectivity_bridge to get a stable link between UART and BLE.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/members/hahe"&gt;helsing&lt;/a&gt;&amp;nbsp;I&amp;#39;m having some issues writing this replay. Some quotes include my name instead of jtrueb. Also quotes appear three times. I get the impression this DevZone has been quite buggy in the past years. Do ask the web developers to have a look into that and try writing more reliable code in the future. Also note jtrueb complaining about formatting.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Critical bug in nRF Connect SDK v2.1.0 no pin configuration in devicetree header</title><link>https://devzone.nordicsemi.com/thread/391965?ContentTypeID=1</link><pubDate>Fri, 21 Oct 2022 20:53:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0f3fda1a-e548-4fef-ad64-c1ddb000cd3a</guid><dc:creator>jtrueb</dc:creator><description>&lt;p&gt;Sorry I don&amp;#39;t know why the formatting is so bad there. It didn&amp;#39;t look like that in preview.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Critical bug in nRF Connect SDK v2.1.0 no pin configuration in devicetree header</title><link>https://devzone.nordicsemi.com/thread/391963?ContentTypeID=1</link><pubDate>Fri, 21 Oct 2022 20:52:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a7e88f7e-86b2-4b90-b523-f73a7842424e</guid><dc:creator>jtrueb</dc:creator><description>&lt;div class="content full threaded-reply-content user-defined-markup" data-replyid="391850" data-userid="90890" data-permalink="~/f/nordic-q-a/92788/critical-bug-in-nrf-connect-sdk-v2-1-0-no-pin-configuration-in-devicetree-header/391850"&gt;
&lt;div class="content"&gt;
&lt;p&gt;I have also migrated a number of older projects from NRF SDK to NRF Connect SDK and NRF Connect SDK to NRF Connect SDK. I would estimate that on the average&amp;nbsp;I also experienced similar schedule effort regarding the migration burden. Not mentioned yet is the known issues or regressions that I encountered during those upgrade attempts. For example, the HF clock power regression was immediately obvious on the power profiler. Another problematic one was the TX power level. I have become accustomed to scrolling through the Known Issues because so many of them are relevant to core functionality of an application. The PINCTRL issue earlier is a new known issue in 2.1.0.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;a class="ui-contentpeek internal-link view-user-profile" href="https://devzone.nordicsemi.com/members/jtrueb" data-contentid="b3c45812ed3e452192aa9089fa11690f" data-contenttypeid="e9ed411860ed4f2ba0265705b8793d05"&gt;jtrueb&lt;/a&gt;&amp;nbsp;Thank you for your message and letting me know I am not alone. Would you be interested in testing nano RTOS? I recently wrote an light-weight operating system, which is very responsive. It is a new project of mine, and I had no time to create a web page yet.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;I&amp;#39;m not ready to switch off of the NRF Connect SDK at the moment.&amp;nbsp;I want an RTOS that can be certified similar to the NRF5 SDK. I want tools and build systems that work (not SEGGER). I want to debug my team&amp;#39;s code, not someone else&amp;#39;s. I want the other&amp;nbsp;developers on my team to be able to use the same environment, toolchain and code to have reproducible builds and consistent bug reports. I want to have a path forward to using new products like the NRF53 series. I think Nordic + Zephyr RTOS can be all of that&amp;nbsp;long term.&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;What I really want is for the NRF Connect SDK to stabilize. I am happy with the features that are already there (targeting the mature NRF52 series) and just want the sweeping changes and bugs to stop. I haven&amp;#39;t been using any new SDK features for a while. I have to keep upgrading at the moment because the tooling keeps changing, stuff is&amp;nbsp;not back-ported, and&amp;nbsp;issues&amp;nbsp;keep becoming blockers.&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class="actions meta default"&gt;I wish that the SDK came with some commitment or compliance to quality that was enforced. Zephyr has an auditable LTS release train and is working towards MISRA compliance. Why is the NRF Connect SDK not aligned with the LTS release train for Zephyr?&amp;nbsp;I am really hoping to stop all the upgrading and get an LTS&amp;nbsp;of the SDK.&lt;/div&gt;
&lt;div class="actions meta default"&gt;&lt;/div&gt;
&lt;div class="actions meta default"&gt;One thing about the issue you hit while upgrading was that you bumped a major version, so the LTS stuff is less relevant in this case.&amp;nbsp;It sounds like you are more tolerant of release train and security issues since you are considering a new&amp;nbsp;RTOS.&lt;/div&gt;
&lt;div class="actions meta default"&gt;&lt;/div&gt;
&lt;div class="actions meta default"&gt;How are you handling CVEs?&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/security_chapter.html"&gt;https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/security_chapter.html&lt;/a&gt;&lt;/div&gt;
&lt;div class="actions meta default"&gt;There aren&amp;#39;t any SDK references to vulnerabilities or hot fixes, etc. Many of the Zephyr CVEs are resolved like &amp;#39;&lt;span&gt;This has been fixed in main for v3.0.0&amp;#39; and backported (to a version that you can&amp;#39;t install with the Toolchain Manager).&lt;/span&gt;&lt;/div&gt;
&lt;div class="actions meta default"&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="actions meta default"&gt;&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Critical bug in nRF Connect SDK v2.1.0 no pin configuration in devicetree header</title><link>https://devzone.nordicsemi.com/thread/391928?ContentTypeID=1</link><pubDate>Fri, 21 Oct 2022 14:06:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:afd05876-e791-4962-975f-2efc9a362d3d</guid><dc:creator>helsing</dc:creator><description>&lt;p&gt;Hi Georgi, sorry for the late reply.&lt;/p&gt;
[quote user="Georgi Valkov"]I was able to get the pin configuration working during the weekend. [/quote]
&lt;p&gt;Great to heat that you were able to get things working.&lt;/p&gt;
[quote user="Georgi Valkov"]I created a new case for&amp;nbsp;connectivity_bridge: malfunction due to improper use of system work queue[/quote]
&lt;p&gt;Thank you for creating a new case as this makes it easier for others to follow. &lt;/p&gt;
&lt;p&gt;Thank&amp;nbsp; you for your feedback on the SDK, I am forwarding this to the relevant teams.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Critical bug in nRF Connect SDK v2.1.0 no pin configuration in devicetree header</title><link>https://devzone.nordicsemi.com/thread/391850?ContentTypeID=1</link><pubDate>Fri, 21 Oct 2022 11:12:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:372d74f2-da30-42ae-abe7-6dbf4d31cc73</guid><dc:creator>Georgi Valkov</dc:creator><description>&lt;p&gt;I created a new case for&amp;nbsp;connectivity_bridge: malfunction due to improper use of system work queue&lt;br /&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/93105/connectivity_bridge-malfunction-due-to-improper-use-of-system-work-queue"&gt;connectivity_bridge: malfunction due to improper use of system work queue&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
[quote userid="120604" url="~/f/nordic-q-a/92788/critical-bug-in-nrf-connect-sdk-v2-1-0-no-pin-configuration-in-devicetree-header/391745"]If the SDK has software maturity levels that are &amp;quot;end product&amp;quot;&amp;nbsp;quality, then things like breaking pin configuration, removing&amp;nbsp;nrfx layer functionality, or requiring significant migration&amp;nbsp;burden need to be front and center in the documentatio&amp;nbsp;prior&amp;nbsp;to release.[/quote]
&lt;p&gt;True. I started working on a project with nRF Connect SDK in 2018. Needless to say we lost the project a couple of years later. We faced an endless amount of serious issues. Put simply basic stuff does not work.&lt;/p&gt;
[quote userid="120604" url="~/f/nordic-q-a/92788/critical-bug-in-nrf-connect-sdk-v2-1-0-no-pin-configuration-in-devicetree-header/391745"]To my understanding, this means that many nrfx interfaces&amp;nbsp;are not tested at all. This makes migrating legacy NRF SDK code to NRF Connect SDK either impossible or a complete re-development in my experience thus far.[/quote]
&lt;p&gt;My experience all shows that any change to the SDK requires a tremendous amount of work to port even simple applications. It took me two weeks to adapt to the new pinctrl and devicetree changes, and fix a serious flaw in connectivity bridge (link above).&lt;/p&gt;
&lt;p&gt;Indeed testing is a very important part of development, and it is an even greater responsibility for SDKs to be robust. A wise man once said that a good API is easy to use correctly and hard to misuse. nRF Connect SDK is quite the opposite. Overcomplicated and resource demanding.&amp;nbsp;My first attempt to use an UART in nRF Connect SDK resulted in 300 lines of complex code copied from an existing sample. Most users need a simple send and don&amp;#39;t want to be bothered to service interrupts.&lt;/p&gt;
&lt;p&gt;In connectivity_bridge, data travels through multiple hops from receive to send side. Each doing it&amp;#39;s own buffer management. With my UART driver implementation we can receive and send in the same task without any risk of dropping data. The driver takes care of any background processing allowing the task to&amp;nbsp;issue more send and receive requests.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/members/jtrueb"&gt;jtrueb&lt;/a&gt;&amp;nbsp;Thank you for your message and letting me know I am not alone. Would you be interested in testing nano RTOS? I recently wrote an light-weight operating system, which is very responsive. It is a new project of mine, and I had no time to create a web page yet.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Critical bug in nRF Connect SDK v2.1.0 no pin configuration in devicetree header</title><link>https://devzone.nordicsemi.com/thread/391745?ContentTypeID=1</link><pubDate>Thu, 20 Oct 2022 19:31:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9469a1d8-fc90-46a4-a7e6-1671a4190fcd</guid><dc:creator>jtrueb</dc:creator><description>&lt;p&gt;There is a need to break in order to fix and improve for the future of the RTOS and SDK;&amp;nbsp;however,&amp;nbsp;I agree the SDK software maturity levels don&amp;#39;t match my expectations.&lt;/p&gt;
&lt;p&gt;If the SDK has software maturity levels that are &amp;quot;end product&amp;quot;&amp;nbsp;quality, then things like breaking pin configuration, removing&amp;nbsp;nrfx layer functionality, or requiring significant migration&amp;nbsp;burden need to be front and center in the documentatio&amp;nbsp;prior&amp;nbsp;to release. Yet,&amp;nbsp;the emphasis cannot be&amp;nbsp;only documentation; it must also focus on&amp;nbsp;verification with NRF products, not just the general Zephyr tests for dev kits.&lt;/p&gt;
&lt;p&gt;Take for example, pinctrl, which is the crux of your issue, several of my issues, and a number of others. It came with a migration guide in the SDK and an overview in the RTOS, I applaud the content created there as it is more usable than much of the older documentation with Zephyr. The problem lies in the gap between documentation, implementation, and test. Consider further the fallout of changing pin configuration like with serial interfaces like&amp;nbsp;the TWIM drivers.&amp;nbsp;Pinctrl broke the ability to use nrfx_twim&amp;nbsp;through the nrfx interface. The cause is that the new configuration pattern&amp;nbsp;can no longer generate the configuration and compile it. CONFIG_NRFX_TWIM0 can no longer be assigned without using a separate board dts (overlays are broken) and i2c_nrfx_twim doesn&amp;#39;t compile with CONFIG_PINCTRL disabled.&lt;br /&gt;&lt;br /&gt;Here is a snippet of code that shows that nrfx_twim&amp;nbsp;was never compiled without pinctrl prior to&amp;nbsp;releasing the SDK that broke&amp;nbsp;usage of the ability to compile the nrfx_twim&amp;nbsp;interface. This code is 3 months old. To my understanding, this means that many nrfx interfaces&amp;nbsp;are not tested at all. This makes migrating legacy NRF SDK code to NRF Connect SDK either impossible or a complete re-development in my experience thus far.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/Screen-Shot-2022_2D00_10_2D00_20-at-2.12.58-PM.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I do not intend&amp;nbsp;to discourage future changes. I want to emphasize and echo the struggles&amp;nbsp;of a consumer of the SDK who isn&amp;#39;t alone. I have experienced difficulty migrating release after release after release like no other beta software, but the documentation and tooling is getting better and the bugs less severe. The new developer academy and improved NRF Connect SDK website have been a welcome improvement&amp;nbsp;as well.&lt;br /&gt;&lt;br /&gt;Sorry this wasn&amp;#39;t so helpful for your points 3 and 4.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Critical bug in nRF Connect SDK v2.1.0 no pin configuration in devicetree header</title><link>https://devzone.nordicsemi.com/thread/390995?ContentTypeID=1</link><pubDate>Mon, 17 Oct 2022 12:36:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fdaeccfe-5eb3-4bd6-a99f-66316e46203d</guid><dc:creator>Georgi Valkov</dc:creator><description>&lt;p&gt;Thank you, Helsing!&lt;/p&gt;
&lt;p&gt;I was able to get the pin configuration working during the weekend. Indeed I used&amp;nbsp;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;pinctrl_apply_state&lt;/span&gt; and created a&amp;nbsp;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;pinctrl_dev_config&lt;/span&gt; structure.&lt;/p&gt;
&lt;p&gt;Now my modified version of connectivity_bridge works on nrf9160dk, but I&amp;#39;m facing an issue on Thingy:91. The UART0 to USB UART bridge works&amp;nbsp;until&amp;nbsp;a BLE client connects. Then two more messages are sent to BLE, and also to the USB UART, and then all communication stops. So far I&amp;nbsp;discovered that all&amp;nbsp;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;uart_rx_slab&lt;/span&gt; buffers are consumed, because app_event_handler is not called.&amp;nbsp;Once the BLE client disconnects, the communication is resumed and I can see more messages from UART0 to USB UART. I have the gnss sample running on nrf9160 -&amp;gt; UART0 nrf52840 -&amp;gt; USB UART and BLE. The same code works without issues on SDK v1.9.1.&lt;/p&gt;
&lt;p&gt;If I run another sample on nrf9160, or if I use the original connectivity_bridge everything works fine.&lt;/p&gt;
&lt;p&gt;I am having hard time debugging this, because whenever I set a breakpoint and try to step in the code, the board reboots. I recall there is some evil code in the BLE driver, that reboots the CPU if not called within a certain deadline, so once we break into the debugger the deadline is missed, and the board will reboot as soon as we try to step in the debugger. This makes debugging impossible. In addition to that, I&amp;#39;m using an nrf9160dk as a JTAG, and there is bug in the board controller firmware, causing it to reboot 50% of my attempts to reflash the Thingy. So I need to restart VS code every time I change the code, otherwise I lose the RTT console.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/92755/nrf9160dk-onboard-controller-crash/390804"&gt;devzone.nordicsemi.com/.../390804&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Can you please help me&amp;nbsp;this issue?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/2022_2D00_10_2D00_17.7z"&gt;devzone.nordicsemi.com/.../2022_2D00_10_2D00_17.7z&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Critical bug in nRF Connect SDK v2.1.0 no pin configuration in devicetree header</title><link>https://devzone.nordicsemi.com/thread/390931?ContentTypeID=1</link><pubDate>Mon, 17 Oct 2022 09:17:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:963c7f88-4e3a-47c4-9ca4-21ba0cd05584</guid><dc:creator>helsing</dc:creator><description>&lt;p&gt;Hi Georgi!&lt;/p&gt;
&lt;p&gt;For migration of the uart driver you may see \zephyr\drivers\serial\uart_nrfx_uarte.c. If you search for &amp;quot;CONFIG_PINCTRL&amp;quot;&amp;nbsp; you can see the pin control approach. &lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Critical bug in nRF Connect SDK v2.1.0 no pin configuration in devicetree header</title><link>https://devzone.nordicsemi.com/thread/390830?ContentTypeID=1</link><pubDate>Fri, 14 Oct 2022 14:57:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ce9e4660-90ad-4288-a66e-8acec6053cf3</guid><dc:creator>helsing</dc:creator><description>&lt;p&gt;Hi Georgi, I will get back to you over the weekend.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Critical bug in nRF Connect SDK v2.1.0 no pin configuration in devicetree header</title><link>https://devzone.nordicsemi.com/thread/390693?ContentTypeID=1</link><pubDate>Thu, 13 Oct 2022 14:56:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4ef7dab3-68bd-429e-83ae-986c707137b2</guid><dc:creator>Georgi Valkov</dc:creator><description>&lt;p&gt;Hello Helsing!&lt;/p&gt;
&lt;p&gt;Thank you for the links! Now I understand how the dts files should be configured, and it seems I had already configured mine properly. Unfortunately the article does not describe how to port my UART driver code. How do I access&amp;nbsp;pin configuration in C code?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Critical bug in nRF Connect SDK v2.1.0 no pin configuration in devicetree header</title><link>https://devzone.nordicsemi.com/thread/390523?ContentTypeID=1</link><pubDate>Wed, 12 Oct 2022 21:16:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:463b0b47-8e10-48db-8104-39b51c8d8d08</guid><dc:creator>helsing</dc:creator><description>&lt;p&gt;Hello Georgi,&lt;/p&gt;
&lt;p&gt;The &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.1.0/nrf/migration/migration_guide_1.x_to_2.x.html"&gt;Migration notes for nRF Connect SDK v2.0.0&lt;/a&gt; mentions the Pin control transition. Have you had a look at the &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.1.0/nrf/ug_pinctrl.html#pin-control"&gt;Pin control&lt;/a&gt; page? Please also see the section about &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.1.0/nrf/ug_pinctrl.html#migration-of-the-devicetree-files"&gt;Migration of the devicetree files&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>