<?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>Division by zero in SDK (Keil5)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/13595/division-by-zero-in-sdk-keil5</link><description>Hi all - Im porting projest from Keil4 to Keil5 and am now stuck on this error - division by zero in SDKs sources: 
 *** Using Compiler &amp;#39;V5.06 (build 20)&amp;#39;, folder: &amp;#39;C:\Keil_v5\ARM\ARMCC\Bin&amp;#39;
Rebuild target &amp;#39;nRF51822_xxAA&amp;#39;
compiling temp_sensor.c..</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 02 May 2016 09:20:12 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/13595/division-by-zero-in-sdk-keil5" /><item><title>RE: Division by zero in SDK (Keil5)</title><link>https://devzone.nordicsemi.com/thread/51864?ContentTypeID=1</link><pubDate>Mon, 02 May 2016 09:20:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bc088aff-c3e4-4f8b-a64c-27aa8e4bba62</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;Thanks for updating us .. So the non stable version of Keil produced different size for the structure than the one we calculated. Interesting to know.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Division by zero in SDK (Keil5)</title><link>https://devzone.nordicsemi.com/thread/51863?ContentTypeID=1</link><pubDate>Mon, 02 May 2016 09:12:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a4dd6e46-4552-461b-9b18-3c41dec101b5</guid><dc:creator>Marcel </dc:creator><description>&lt;p&gt;Aryan,
I have actually solved the issue by using the stable version of the library from the Keil5 - from 4.0.0-2.alpha to the current stable (I think its 3.0.1) and all works now.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Division by zero in SDK (Keil5)</title><link>https://devzone.nordicsemi.com/thread/51862?ContentTypeID=1</link><pubDate>Mon, 02 May 2016 09:03:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:af554a5e-c714-4717-837f-0534f09d5169</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;Which SDK are you using?
Have you changed the structure timer_node_t or the size of it defined at APP_TIMER_NODE_SIZE?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>