<?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>nRF52 FreeRTOS using the S132 SoftDevice</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/10799/nrf52-freertos-using-the-s132-softdevice</link><description>Is there are working example of FreeRTOS running on the nRF52 using the S132 SoftDevice? I am trying to get a ble_hrs example running with a updated version of the FreeRTOS portable layer I was provided by my Nordic Sales contact but it&amp;#39;s not working</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 08 Mar 2016 18:05:47 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/10799/nrf52-freertos-using-the-s132-softdevice" /><item><title>RE: nRF52 FreeRTOS using the S132 SoftDevice</title><link>https://devzone.nordicsemi.com/thread/40369?ContentTypeID=1</link><pubDate>Tue, 08 Mar 2016 18:05:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:48a57c8c-0b6a-497e-a232-8abbe3b3141b</guid><dc:creator>silvergaucho</dc:creator><description>&lt;p&gt;@Darren, additionally I have a compilation error reporting &amp;quot;conflicting types for &amp;quot;app_start&amp;quot; and same for app_stop, what i&amp;#39;m doing wrong?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52 FreeRTOS using the S132 SoftDevice</title><link>https://devzone.nordicsemi.com/thread/40368?ContentTypeID=1</link><pubDate>Tue, 08 Mar 2016 17:50:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:640a66a2-4bce-4dae-a8d6-85960481138f</guid><dc:creator>silvergaucho</dc:creator><description>&lt;p&gt;@Darren, did u mean app_button.h and ble_conn_params.h maybe?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52 FreeRTOS using the S132 SoftDevice</title><link>https://devzone.nordicsemi.com/thread/40367?ContentTypeID=1</link><pubDate>Sat, 12 Dec 2015 01:33:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:be5039f5-ed75-4ff3-9712-f7c970169fb9</guid><dc:creator>monpetit</dc:creator><description>&lt;p&gt;Darren,
yes you&amp;#39;re right. Happy Coding! ;)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52 FreeRTOS using the S132 SoftDevice</title><link>https://devzone.nordicsemi.com/thread/40361?ContentTypeID=1</link><pubDate>Fri, 11 Dec 2015 17:55:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:77a92121-c42f-484f-bbe5-28e0ba301c54</guid><dc:creator>WestCoastDaz</dc:creator><description>&lt;p&gt;monpetit,&lt;/p&gt;
&lt;p&gt;I found a some additional locations that also required the above changes, see below.&lt;/p&gt;
&lt;p&gt;in bsp.c&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;#if defined(FREERTOS)
APP_TIMER_DEF(m_button_timer_id);
#else
static app_timer_id_t m_button_timer_id;
#endif
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;in app_button.c&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;#if defined(FREERTOS)
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;APP_TIMER_DEF(m_detection_delay_timer_id);  /**&amp;lt; Polling timer id. */
#else
static app_timer_id_t   m_detection_delay_timer_id;
#endif&lt;/p&gt;
&lt;p&gt;in ble_conn_params.c&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;#if defined(FREERTOS)
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;APP_TIMER_DEF(m_conn_params_timer_id);                  /**&amp;lt; Connection parameters timer. */
#else
static app_timer_id_t   m_conn_params_timer_id;
#endif&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52 FreeRTOS using the S132 SoftDevice</title><link>https://devzone.nordicsemi.com/thread/40359?ContentTypeID=1</link><pubDate>Fri, 11 Dec 2015 12:42:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c06a576a-0e00-499d-a222-ad79a51022d3</guid><dc:creator>Radoslaw Koppel</dc:creator><description>&lt;p&gt;Where did you get FreeRTOS port from? Is is our tech support prerelease version or is it any other FreeRTOS port builded for NRF52? NRF52 FreeRTOS would be provided with SDK 11 - so maybe it is worth waiting?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52 FreeRTOS using the S132 SoftDevice</title><link>https://devzone.nordicsemi.com/thread/40366?ContentTypeID=1</link><pubDate>Fri, 11 Dec 2015 07:39:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:67591ee0-67c6-4c73-b951-04f107aec4bb</guid><dc:creator>monpetit</dc:creator><description>&lt;p&gt;For example,&lt;/p&gt;
&lt;p&gt;in the app_timer.h:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;...
#if defined(FREERTOS)
typedef struct app_timer_t { uint32_t data[CEIL_DIV(APP_TIMER_NODE_SIZE, sizeof(uint32_t))]; } app_timer_t;
typedef app_timer_t * app_timer_id_t;
#define APP_TIMER_DEF(timer_id)                                  \
    static app_timer_t timer_id##_data = { {0} };                  \
    static const app_timer_id_t timer_id = &amp;amp;timer_id##_data
#else
typedef uint32_t app_timer_id_t;
#endif
...
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;in the bsp.c:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;...
#if defined(FREERTOS)
APP_TIMER_DEF(m_leds_timer_id);
APP_TIMER_DEF(m_alert_timer_id);
#else
static app_timer_id_t   m_leds_timer_id;
static app_timer_id_t   m_alert_timer_id;
#endif
...
&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52 FreeRTOS using the S132 SoftDevice</title><link>https://devzone.nordicsemi.com/thread/40365?ContentTypeID=1</link><pubDate>Fri, 11 Dec 2015 07:38:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ac333a99-fac1-4fa8-99cf-e7653fcf0507</guid><dc:creator>monpetit</dc:creator><description>&lt;p&gt;Darren,&lt;/p&gt;
&lt;p&gt;I have tested the FreeRTOS example with nRF52 SDK.
The app_timer_freertos.c of FreeRTOS is not compatible with nRF52 SDK 0.9.2 because the app_timer module is changed in nRF51 SDK 10.0.0.
You have to modify app_timer.h and bsp.c to use FreeRTOS with nRF52 SDK.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52 FreeRTOS using the S132 SoftDevice</title><link>https://devzone.nordicsemi.com/thread/40364?ContentTypeID=1</link><pubDate>Fri, 11 Dec 2015 05:58:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d54656ef-3fe2-4833-8539-40dfcaa4d32f</guid><dc:creator>WestCoastDaz</dc:creator><description>&lt;p&gt;I will using the nRF51 10.0.0 and your GitHub reference.  Thanks again.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52 FreeRTOS using the S132 SoftDevice</title><link>https://devzone.nordicsemi.com/thread/40363?ContentTypeID=1</link><pubDate>Fri, 11 Dec 2015 05:49:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5565a19d-74ec-4e6e-849c-1d008504a5ab</guid><dc:creator>monpetit</dc:creator><description>&lt;p&gt;Darren,
I have not tried using it with the nRF52 SDK. I am using nRF51 SDK to use Keil MDK packs.
But it&amp;#39;s worth a try to use nRF52 SDK with the FreeRTOS. I&amp;#39;ll do later. =)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52 FreeRTOS using the S132 SoftDevice</title><link>https://devzone.nordicsemi.com/thread/40362?ContentTypeID=1</link><pubDate>Fri, 11 Dec 2015 05:39:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8146db72-917d-47e1-a5dc-244e518321eb</guid><dc:creator>WestCoastDaz</dc:creator><description>&lt;p&gt;monpetit,&lt;/p&gt;
&lt;p&gt;Thanks for the reply. So to be clear you are running the nRF51 SDK 10.0.0 on the nRF52 dev kit?  Have you tried using this with the nRF52 SDK 0.9.2?&lt;/p&gt;
&lt;p&gt;Cheers,
Darren&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52 FreeRTOS using the S132 SoftDevice</title><link>https://devzone.nordicsemi.com/thread/40360?ContentTypeID=1</link><pubDate>Fri, 11 Dec 2015 05:28:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9d68940c-954c-44eb-93e5-36f1f77768cd</guid><dc:creator>monpetit</dc:creator><description>&lt;p&gt;You have to modify project configuration and files a little to use SoftDevice with FreeRTOS on nRF52-DK.
Here is my example project you can refer.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/monpetit/nrf52-ble-hrs-freertos-demo"&gt;github.com/.../nrf52-ble-hrs-freertos-demo&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>