<?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>RTOS selection</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/42149/rtos-selection</link><description>Hey. I&amp;#39;m looking for a complete free RTOS for the commercial development of our startup. We will use the SEGGER Embedded Studio IDE and SoC Nordic nRF52840. As I understand, SEGGER Embedded Studio is free for users any ARM Cortex-M based device in the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sat, 04 May 2019 13:03:39 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/42149/rtos-selection" /><item><title>RE: RTOS selection</title><link>https://devzone.nordicsemi.com/thread/185290?ContentTypeID=1</link><pubDate>Sat, 04 May 2019 13:03:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:58638a5d-4fd1-4a12-a464-084163c37c0b</guid><dc:creator>kirkus</dc:creator><description>&lt;p&gt;In order to get the&amp;nbsp;SDK 15.3 Heart Rate FreeRTOS example to sleep, I had to implement the&amp;nbsp;&lt;span&gt;FPU_IRQHandler as mentioned&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/12433/fpu-divide-by-0-and-high-current-consumption"&gt;here&lt;/a&gt;, even though I wasn&amp;#39;t experiencing any divide by 0 issues.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RTOS selection</title><link>https://devzone.nordicsemi.com/thread/176307?ContentTypeID=1</link><pubDate>Thu, 14 Mar 2019 21:23:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:413fea53-2476-4913-a1c8-4fe9bc88f2a9</guid><dc:creator>PC</dc:creator><description>&lt;p&gt;Does this mean there is no example that you know of?&lt;/p&gt;
&lt;p&gt;We&amp;#39;ve ran into difficulties, have not been able to get it to work, but are still working on it..&amp;nbsp; Right, we have not been able yet to pull the required parts from those examples.&amp;nbsp; Therefore in the meantime asking if there is any generic example to at least prove the concept all together, and help give us some idea of one way to make it work.&amp;nbsp; I&amp;#39;m not using FreeRTOS but would like to see an example with any RTOS at this point.&amp;nbsp; It&amp;#39;s unexpected to see the SDK 15.2 and 15.3 example non-RTOS &amp;quot;Heart Rate&amp;quot; indeed running low power sleep but the equivalent &amp;quot;Heart Rate FreeRTOS&amp;quot; not sleeping..&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RTOS selection</title><link>https://devzone.nordicsemi.com/thread/176303?ContentTypeID=1</link><pubDate>Thu, 14 Mar 2019 18:38:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7c8461c9-bfe7-4bbd-8574-849dac523001</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;So can you not pull your required parts from those examples?&lt;/p&gt;
&lt;p&gt;At some point, you have to start doing some original work ...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RTOS selection</title><link>https://devzone.nordicsemi.com/thread/176302?ContentTypeID=1</link><pubDate>Thu, 14 Mar 2019 18:27:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e1276712-87be-49f1-a838-5dab451dd843</guid><dc:creator>PC</dc:creator><description>&lt;p&gt;Hello himanshu and wpaul&lt;/p&gt;
&lt;p&gt;Do you know of any nRF52 examples of RTOS + SoftDevice BLE + low power sleep?&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Looking for all 3 to&amp;nbsp;&lt;/span&gt;&lt;span&gt;run&amp;nbsp;&lt;/span&gt;&lt;span&gt;together..&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;The SDK example &amp;quot;Heart Rate Free RTOS&amp;quot; has RTOS + SD but&amp;nbsp;not going to sleep.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;The SDK example &amp;quot;Blink RTC FreeRTOS&amp;quot; has RTOS + sleeping but no SD.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thanks!&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RTOS selection</title><link>https://devzone.nordicsemi.com/thread/168230?ContentTypeID=1</link><pubDate>Mon, 28 Jan 2019 13:02:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4158704e-4e29-49eb-a614-346b30ddf79f</guid><dc:creator>himanshu pande</dc:creator><description>&lt;p&gt;Hello Fyodor,&lt;/p&gt;
&lt;p&gt;FreeRTOS is ported for nrf52. The porting does take care of soft-device timing dependencies. As far as I understand, embOS is not free for commercial development.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;That being said, the nature of soft-device implementation(or BLE timing constraints, I should say) doesnt allow you to have &amp;quot;critical sections&amp;quot; in the code violating the prime spirit of an RTOS.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;If you are looking only for portability, freeRTOS is a good choice. If you have real time timing constraints, either use Timeslot API or use radio notifications to generate that required critical section.&lt;/p&gt;
&lt;p&gt;Best Regards,&lt;/p&gt;
&lt;p&gt;Himanshu.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RTOS selection</title><link>https://devzone.nordicsemi.com/thread/164276?ContentTypeID=1</link><pubDate>Mon, 07 Jan 2019 13:31:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4a9e611c-5351-48c0-9e52-768146b4d6eb</guid><dc:creator>haakonsh</dc:creator><description>&lt;p&gt;I have to agree with @awneil, you should not use an RTOS with the nRF5 SDKs unless absolutely necessary.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;That being said the new &lt;a href="https://www.nordicsemi.com/Software-and-Tools/Software/nRF-Connect-SDK"&gt;nRF Connect SDK&lt;/a&gt; uses the Zephyr RTOS.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RTOS selection</title><link>https://devzone.nordicsemi.com/thread/164052?ContentTypeID=1</link><pubDate>Fri, 04 Jan 2019 20:29:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:69b3e9bc-dd2e-4310-8f0e-dee66c0be40c</guid><dc:creator>wpaul</dc:creator><description>&lt;p&gt;ChibiOS (&lt;a href="http://www.chibios.org"&gt;http://www.chibios.org)&lt;/a&gt; also runs on the nRF52 devices. (Go here: &lt;a href="https://github.com/ChibiOS"&gt;https://github.com/ChibiOS&lt;/a&gt; and look at the ChibiOS-Contrib repo.) It is open source, however if you&amp;#39;re producing a commercial product, you will likely need to pay for a license for it.&lt;/p&gt;
&lt;p&gt;Note that currently it only has support for the nRF52832. I have it running on the nRF52840 for a personal hobby project. It&amp;#39;s not difficult to port. However I&amp;#39;ve had to write some of my own drivers (notably for SPIM, QSPI and I2S). I&amp;#39;ve also done some work to use it in conjunction with SoftDevice S140. Everything works, but since I&amp;#39;m not using the Nordic SDK, there are a lot of things I have to implement myself. Also, for building I just use a GCC cross-compile toolchain, along with OpenOCD and GDB for flashing and debugging. (OpenOCD now supports the nRF52840 out of the box.) My host environment is FreeBSD, but Linux, MacOS or Windows should also work. To build, go to the badge_840 directory and run &amp;quot;make.&amp;quot; (You need to have arm-none-eabi-gcc in your path.)&lt;/p&gt;
&lt;p&gt;The project isn&amp;#39;t done yet, but if you want to look at it, it&amp;#39;s here: &lt;a href="https://github.com/netik/dc27_badge/tree/master/software/firmware"&gt;https://github.com/netik/dc27_badge/tree/master/software/firmware&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;As I said, this is a hobby project only. I&amp;#39;m not providing any support for it. If you want to have a look at it, fine, but if it breaks you get to keep both pieces. :) It wants to use a display controller and external I2S codec which don&amp;#39;t come with the nRF52840 DK board. However you should be able to build it and boot it up even without those components (you&amp;#39;ll get a shell on the serial port).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RTOS selection</title><link>https://devzone.nordicsemi.com/thread/164040?ContentTypeID=1</link><pubDate>Fri, 04 Jan 2019 18:49:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e68ba20b-5750-42f5-af7f-aab58ab3730e</guid><dc:creator>Nguyen Hoan Hoang</dc:creator><description>&lt;p&gt;For the nRF5x, FreeRTOS is supported in the SDK.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RTOS selection</title><link>https://devzone.nordicsemi.com/thread/164025?ContentTypeID=1</link><pubDate>Fri, 04 Jan 2019 16:34:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c3526de3-f4ec-4f81-9d70-0a0265b75ec7</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;But you could save yourself the question completely ...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RTOS selection</title><link>https://devzone.nordicsemi.com/thread/164020?ContentTypeID=1</link><pubDate>Fri, 04 Jan 2019 16:21:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a86a685a-89c8-45b9-9179-52718b8ba191</guid><dc:creator>Fyodor Prokopovich</dc:creator><description>&lt;p&gt;Yes, but the question wasn&amp;#39;t that&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RTOS selection</title><link>https://devzone.nordicsemi.com/thread/164018?ContentTypeID=1</link><pubDate>Fri, 04 Jan 2019 16:17:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e83c29c1-1e1e-4687-9788-9944014ff011</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;Do you really need at RTOS at all?&lt;/p&gt;
&lt;p&gt;Many (most?) nRF5x projects have no RTOS at all ...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>