<?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>is cortex M0 little or big endian?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/7135/is-cortex-m0-little-or-big-endian</link><description>Hi 
 Maybe silly question:
I was wondering: if I cast a pointer to a uint32_t to an array &amp;quot;buff&amp;quot; of uint8_t, what is held in buff[0], MSByte or LSByte?
Or in other words, what is the endianness on the Cortex M0 on the nrf51822? 
 thx</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 14 Jul 2015 20:29:51 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/7135/is-cortex-m0-little-or-big-endian" /><item><title>RE: is cortex M0 little or big endian?</title><link>https://devzone.nordicsemi.com/thread/25213?ContentTypeID=1</link><pubDate>Tue, 14 Jul 2015 20:29:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b8a216a9-8bb6-4744-8b75-e5f9f359d794</guid><dc:creator>Gigel</dc:creator><description>&lt;p&gt;nRF51822 is Little endian.&lt;/p&gt;
&lt;p&gt;How you can check this easily - erase your nRF51822 target with the jtag, or compile and load your code into the nRF51822 target; look for &amp;quot;JLink Info&amp;quot; messages in your Keil&amp;#39;s Build Output window:&lt;/p&gt;
&lt;p&gt;Example:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;JLink Info: Found Cortex-M0 r0p0, &lt;strong&gt;Little endian&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Of course, there many are other ways to check endianness :)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: is cortex M0 little or big endian?</title><link>https://devzone.nordicsemi.com/thread/25212?ContentTypeID=1</link><pubDate>Tue, 19 May 2015 15:22:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:10d9c97a-e810-4557-87f7-081c9bd5e40a</guid><dc:creator>RK</dc:creator><description>&lt;p&gt;it&amp;#39;s little.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>