<?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>Softdevice_Handler error #94-D</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/18813/softdevice_handler-error-94-d</link><description>using SDK 12.1.0
The original error (compile time only) is 
main.c(338): error: #94-D: the size of an array must be greater than zero 
 my snippet @ line 338: 
 SOFTDEVICE_HANDLER_INIT(&amp;amp;clock_lf_cfg, NULL); //&amp;lt;--- err line

ble_enable_params_t ble_enable_params;</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 14 Nov 2018 06:23:47 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/18813/softdevice_handler-error-94-d" /><item><title>RE: Softdevice_Handler error #94-D</title><link>https://devzone.nordicsemi.com/thread/157203?ContentTypeID=1</link><pubDate>Wed, 14 Nov 2018 06:23:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4fe3612a-d923-4bb7-b1d2-7b9c7e4acc6e</guid><dc:creator>sridharnaidu</dc:creator><description>&lt;p&gt;You should enable&amp;nbsp;&amp;nbsp;&lt;code&gt;BLE_STACK_SUPPORT_REQD flag or change this macro&amp;nbsp;&lt;span&gt;#define BLE_STACK_EVT_MSG_BUF_SIZE 0 to&amp;nbsp;#define BLE_STACK_EVT_MSG_BUF_SIZE 1.&lt;/span&gt;&lt;/code&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Softdevice_Handler error #94-D</title><link>https://devzone.nordicsemi.com/thread/72651?ContentTypeID=1</link><pubDate>Sun, 05 Nov 2017 20:57:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7d474a03-d1e8-409c-ad86-89cc1b90e4df</guid><dc:creator>Scott</dc:creator><description>&lt;p&gt;Which tags did you add?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Softdevice_Handler error #94-D</title><link>https://devzone.nordicsemi.com/thread/72650?ContentTypeID=1</link><pubDate>Mon, 09 Jan 2017 18:49:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:78634bde-2c30-4e51-8de7-6cb357e0f7df</guid><dc:creator>lukeG</dc:creator><description>&lt;p&gt;I figured out I needed to include some tags in the Options for Target -&amp;gt; C/C++ -&amp;gt; Define&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Softdevice_Handler error #94-D</title><link>https://devzone.nordicsemi.com/thread/72649?ContentTypeID=1</link><pubDate>Sat, 07 Jan 2017 21:03:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:279311a9-98e0-4412-942b-eb4a8292f1c3</guid><dc:creator>lukeG</dc:creator><description>&lt;p&gt;Petter - I don&amp;#39;t know what to say, the SOFTDEVICE_HANDLER_INIT() call is line 338 and this is the copy-pasted error from my console: main.c(338): error:  #94-D: the size of an array must be greater than zero&lt;/p&gt;
&lt;p&gt;also I have optimization for the entire project set to 0.&lt;/p&gt;
&lt;p&gt;thanks for the suggestions, any more ideas?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Softdevice_Handler error #94-D</title><link>https://devzone.nordicsemi.com/thread/72648?ContentTypeID=1</link><pubDate>Fri, 06 Jan 2017 09:27:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dbec45cb-66b9-4570-8e34-5b7a8e293954</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;I don&amp;#39;t think 94 is a valid error. Is it returned from softdevice_handler_init()? Have you turned off optimizations?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>