<?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/"><channel><title>nRF5x support within the Zephyr Project RTOS</title><link>/nordic/nordic-blog/b/blog/posts/nrf5x-support-within-the-zephyr-project-rtos</link><description>The Zephyr Project RTOS
The Zephyr Project RTOS is a recent effort by the Linux Foundation to provide the embedded world with a free, secure and fully-featured Real Time Operating System. It is designed from the ground up to be a modern, scalable, s.</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><item><title>RE: nRF5x support within the Zephyr Project RTOS</title><link>https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/nrf5x-support-within-the-zephyr-project-rtos</link><pubDate>Thu, 03 Mar 2022 13:31:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3ec7fc37-5fa6-4538-8b63-6084d2d5613c</guid><dc:creator>ENGLAB Dev</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Thank you for this tutorial.&lt;/p&gt;
&lt;p&gt;I am facing a problem with the section &amp;quot;Building a BLE controller&amp;quot;.&lt;/p&gt;
&lt;p&gt;I have managed to build (using west) and flash (using NRF Connect) the sample HCI_UART correctly on my nrf52840 dongle. However my device isn&amp;#39;t recognized as a serial port in my device manager.&lt;/p&gt;
&lt;p&gt;Am I missing something or is it possible to use HCI_UART on the dongle ? If not, is there an alternative to send raw BLE packets from UART port that works with the BlueZ stack ?&lt;/p&gt;&lt;img src="https://devzone.nordicsemi.com/aggbug?PostID=994&amp;AppID=4&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: nRF5x support within the Zephyr Project RTOS</title><link>https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/nrf5x-support-within-the-zephyr-project-rtos</link><pubDate>Mon, 11 Mar 2019 09:05:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3ec7fc37-5fa6-4538-8b63-6084d2d5613c</guid><dc:creator>Shahrear</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;is it stable on nrf5283&lt;/p&gt;&lt;img src="https://devzone.nordicsemi.com/aggbug?PostID=994&amp;AppID=4&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: nRF5x support within the Zephyr Project RTOS</title><link>https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/nrf5x-support-within-the-zephyr-project-rtos</link><pubDate>Tue, 11 Dec 2018 18:20:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3ec7fc37-5fa6-4538-8b63-6084d2d5613c</guid><dc:creator>EricC</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Hello, very useful software thanks for doing this! I would like to advertise as a public address. Is there an option or code change I can do for this?&lt;/p&gt;&lt;img src="https://devzone.nordicsemi.com/aggbug?PostID=994&amp;AppID=4&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: nRF5x support within the Zephyr Project RTOS</title><link>https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/nrf5x-support-within-the-zephyr-project-rtos</link><pubDate>Sun, 12 Aug 2018 12:07:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3ec7fc37-5fa6-4538-8b63-6084d2d5613c</guid><dc:creator>icephyr</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;&lt;span&gt;I have filed an issue related to HCI UART sample from zephyr. I am able to get it working with the ttyUSBx interface but I am not able to use the UART interface through an external USB-UART converter (CP2102&amp;nbsp;). I btattach the dev/ttyUSBx and monitor the process with btmon,It indicates that the 52832 chip running hci_uart sample does not respond to the Linux host who sends hci reset command to it.Is anyone met this problem before ？ I don&amp;#39;t know to debug and resolve this problem.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;img src="https://devzone.nordicsemi.com/aggbug?PostID=994&amp;AppID=4&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: nRF5x support within the Zephyr Project RTOS</title><link>https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/nrf5x-support-within-the-zephyr-project-rtos</link><pubDate>Tue, 03 Oct 2017 09:57:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3ec7fc37-5fa6-4538-8b63-6084d2d5613c</guid><dc:creator>Carles</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;@lalit-tmt please join us on IRC (#zephyrproject) or send an email to the mailing list: &lt;a rel="nofollow" target="_blank" href="https://lists.zephyrproject.org/mailman3/lists/"&gt;lists.zephyrproject.org/.../&lt;/a&gt;&lt;/p&gt;
&lt;img src="https://devzone.nordicsemi.com/aggbug?PostID=994&amp;AppID=4&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: nRF5x support within the Zephyr Project RTOS</title><link>https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/nrf5x-support-within-the-zephyr-project-rtos</link><pubDate>Tue, 03 Oct 2017 09:43:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3ec7fc37-5fa6-4538-8b63-6084d2d5613c</guid><dc:creator>lalit-tmt</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Hello,
Can Any one help me to how to setup for mesh sample of Zephyr??Thanks in advance..&lt;/p&gt;
&lt;img src="https://devzone.nordicsemi.com/aggbug?PostID=994&amp;AppID=4&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: nRF5x support within the Zephyr Project RTOS</title><link>https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/nrf5x-support-within-the-zephyr-project-rtos</link><pubDate>Sat, 16 Sep 2017 07:23:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3ec7fc37-5fa6-4538-8b63-6084d2d5613c</guid><dc:creator>Carles</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;@Mark sure, please ask in the Zephyr mailing lists or in our IRC channels #zephyrproject or #zephyr-bt on freenode.net, you are much more likely to get help there than here on the devzone.&lt;/p&gt;
&lt;img src="https://devzone.nordicsemi.com/aggbug?PostID=994&amp;AppID=4&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: nRF5x support within the Zephyr Project RTOS</title><link>https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/nrf5x-support-within-the-zephyr-project-rtos</link><pubDate>Sat, 16 Sep 2017 07:18:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3ec7fc37-5fa6-4538-8b63-6084d2d5613c</guid><dc:creator>Mark</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;@Carles. Thanks. They can establish connection now but cannot ping. I will try to find problem in bluez and/or in zephyr code to fix it.&lt;/p&gt;
&lt;img src="https://devzone.nordicsemi.com/aggbug?PostID=994&amp;AppID=4&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: nRF5x support within the Zephyr Project RTOS</title><link>https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/nrf5x-support-within-the-zephyr-project-rtos</link><pubDate>Tue, 12 Sep 2017 08:16:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3ec7fc37-5fa6-4538-8b63-6084d2d5613c</guid><dc:creator>Carles</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Hi Mark,&lt;/p&gt;
&lt;p&gt;You will need to enable the following Kconfig options in Zephyr:&lt;/p&gt;
&lt;p&gt;CONFIG_BT_CTLR_DATA_LENGTH=y
CONFIG_BT_CTLR_DATA_LENGTH_MAX=251&lt;/p&gt;
&lt;p&gt;Additionally you should set:&lt;/p&gt;
&lt;p&gt;CONFIG_BT_CTLR_TX_BUFFER_SIZE=251&lt;/p&gt;
&lt;p&gt;If you want to TX at 251 bytes on top of receiving.&lt;/p&gt;
&lt;p&gt;Regarding BlueZ, I am not quite sure but there are BlueZ maintainers in our IRC channel (#zephyr-bt on freenode.net) so feel free to ask there, or in #bluez or on their mailing list.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Carles&lt;/p&gt;
&lt;img src="https://devzone.nordicsemi.com/aggbug?PostID=994&amp;AppID=4&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: nRF5x support within the Zephyr Project RTOS</title><link>https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/nrf5x-support-within-the-zephyr-project-rtos</link><pubDate>Tue, 12 Sep 2017 04:27:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3ec7fc37-5fa6-4538-8b63-6084d2d5613c</guid><dc:creator>Mark</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Hi Carles,&lt;/p&gt;
&lt;p&gt;How can we change data length to support 251B of BLE4.2 and 5.0 in this app?
Do we need to modify in Bluez?&lt;/p&gt;
&lt;p&gt;Regards.&lt;/p&gt;
&lt;img src="https://devzone.nordicsemi.com/aggbug?PostID=994&amp;AppID=4&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: nRF5x support within the Zephyr Project RTOS</title><link>https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/nrf5x-support-within-the-zephyr-project-rtos</link><pubDate>Fri, 30 Jun 2017 15:01:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3ec7fc37-5fa6-4538-8b63-6084d2d5613c</guid><dc:creator>Carles</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;@Nilasstohr. This is not quite the right forum to ask those questions, since Zephyr is not officially supported by Nordic yet. Please use the Zephyr mailing list or join us at #zephrproject or #zephyr-bt and we&amp;#39;ll be happy to help you out there.&lt;/p&gt;
&lt;img src="https://devzone.nordicsemi.com/aggbug?PostID=994&amp;AppID=4&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: nRF5x support within the Zephyr Project RTOS</title><link>https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/nrf5x-support-within-the-zephyr-project-rtos</link><pubDate>Fri, 30 Jun 2017 14:59:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3ec7fc37-5fa6-4538-8b63-6084d2d5613c</guid><dc:creator>Nilasstohr</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Hello again, I have a question about the configuration of the zephyr bluetooth stack. I need to do a proof of concept for the company were I work, where a nordic device should be both a central and a peripheral, I successfully did this with nordic sdk following one of the example.&lt;/p&gt;
&lt;p&gt;The question is how to do this with zephyr?, looking through the source code in ex. central_hr and peripheral_hr it is not obvious were they are configured as central and peripheral (apart from seeing a start a scan and adv etc, is started)&lt;/p&gt;
&lt;p&gt;thanks much in advance.&lt;/p&gt;
&lt;img src="https://devzone.nordicsemi.com/aggbug?PostID=994&amp;AppID=4&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: nRF5x support within the Zephyr Project RTOS</title><link>https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/nrf5x-support-within-the-zephyr-project-rtos</link><pubDate>Fri, 30 Jun 2017 14:29:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3ec7fc37-5fa6-4538-8b63-6084d2d5613c</guid><dc:creator>Nilasstohr</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;solution for my compile error (thanks to Carles) is shared here:&lt;/p&gt;
&lt;p&gt;Following the guide
&lt;a rel="nofollow" target="_blank" href="https://www.zephyrproject.org/doc/getting_started/installation_win.html#installing-zephyr-win"&gt;www.zephyrproject.org/.../installation_win.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;where the zephyr SDK is fetched with: git clone &lt;a rel="nofollow" target="_blank" href="https://github.com/zephyrproject-rtos/zephyr.git"&gt;github.com/.../zephyr.git&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;But in my case I got a compile error (see above). The reason for this was likely that an old zephyr version was fetched or a cleanup in the fetched version was needed for some reason. To fix the problem following three git commands are executed in the msys2 shell.&lt;/p&gt;
&lt;p&gt;git fetch origin&lt;/p&gt;
&lt;p&gt;git reset --hard origin/master  (making sure local copy is identical to master repo version)&lt;/p&gt;
&lt;p&gt;git clean -ffdx                         (clean up of output directories)&lt;/p&gt;
&lt;img src="https://devzone.nordicsemi.com/aggbug?PostID=994&amp;AppID=4&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: nRF5x support within the Zephyr Project RTOS</title><link>https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/nrf5x-support-within-the-zephyr-project-rtos</link><pubDate>Fri, 30 Jun 2017 07:19:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3ec7fc37-5fa6-4538-8b63-6084d2d5613c</guid><dc:creator>Carles</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;@Nilasstohr. I&amp;#39;ve tried repeatedly to reproduce this by building the central_hr example for nrf52840 on both Windows and Linux and I cannot reproduce. Could you please join IRC again and we can talk about it? Yesterday I didn&amp;#39;t see your messages on IRC, was a bit late here.&lt;/p&gt;
&lt;img src="https://devzone.nordicsemi.com/aggbug?PostID=994&amp;AppID=4&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: nRF5x support within the Zephyr Project RTOS</title><link>https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/nrf5x-support-within-the-zephyr-project-rtos</link><pubDate>Thu, 29 Jun 2017 21:25:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3ec7fc37-5fa6-4538-8b63-6084d2d5613c</guid><dc:creator>Nilasstohr</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Thank you for your fast answer, I have fetched the master and recompiled, the problem persist. I think I came closer to a reason which is seem below, I have also written this in the IRC.&lt;/p&gt;
&lt;p&gt;For some reason the central samples (ex. central_hr) is depended on ll_adv.h and ll_adv.c but the library is never compiled.&lt;/p&gt;
&lt;p&gt;This is seen by looking at the compile output for central_hr when running &amp;quot;make BOARD=nrf52840_pca10056&amp;quot;. Comparing this to compiling the peripheral_hr, the compile output will have the line “CC  subsys/bluetooth/controller/ll_sw/ll_adv.o”.&lt;/p&gt;
&lt;p&gt;The ll_adv_set_get function are a part of ll_adv (which is not compiled in the central examples) this might be the reason for the compile error. The question is why my central examples compile like this way and how to change it?&lt;/p&gt;
&lt;p&gt;I have not done anything beside following the guide below with a window 10 OS.
&lt;a rel="nofollow" target="_blank" href="https://www.zephyrproject.org/doc/getting_started/installation_win.html#installing-zephyr-win"&gt;www.zephyrproject.org/.../installation_win.html&lt;/a&gt;&lt;/p&gt;
&lt;img src="https://devzone.nordicsemi.com/aggbug?PostID=994&amp;AppID=4&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item></channel></rss>