<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Codewarrior 11.1  __attribute__((bitfields(little_endian))) in CodeWarrior for MCU</title>
    <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Codewarrior-11-1-attribute-bitfields-little-endian/m-p/945442#M15178</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I guess my question on this reply is, how does it apply to my original question?&amp;nbsp; This seems to have nothing to do with&amp;nbsp;why an attribute that is documented in CodeWarrior 11.1 does Nothing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can find the reference here: &lt;A href="http://127.0.0.1:61003/help/nav/0"&gt;CodeWarrior for Microcontrollers V11.x&lt;/A&gt; &amp;gt; &lt;A href="http://127.0.0.1:61003/help/nav/0_3"&gt;ColdFire for Microcontrollers&lt;/A&gt; &amp;gt; &lt;A href="http://127.0.0.1:61003/help/nav/0_3_1"&gt;ColdFire Build Tools Reference Manual&lt;/A&gt; &amp;gt; &lt;A href="http://127.0.0.1:61003/help/topic/com.freescale.doc.mcu.coldfire_compiler/2961134.html"&gt;Addressing&lt;/A&gt; &amp;gt; &lt;A href="http://127.0.0.1:61003/help/topic/com.freescale.doc.mcu.coldfire_compiler/2961128.html"&gt;Sections&lt;/A&gt; &amp;gt; Bitfield Ordering&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The example code does not work. According to the current documentation, the compiler should allow a structure to be stored in little endian format when this attribute is used.&amp;nbsp; The compiler does not complain about it, it just seems to ignore it with no warning or other notification it is ignoring it.&amp;nbsp;&amp;nbsp;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 22 Aug 2019 20:35:01 GMT</pubDate>
    <dc:creator>R_R_Ritchey</dc:creator>
    <dc:date>2019-08-22T20:35:01Z</dc:date>
    <item>
      <title>Codewarrior 11.1  __attribute__((bitfields(little_endian)))</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Codewarrior-11-1-attribute-bitfields-little-endian/m-p/945440#M15176</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using Codewarrior 11.1 and need to specify a couple structures to be stored in memory as little candida format.&amp;nbsp; Supposedly the attribute "&amp;nbsp;__attribute__((bitfields(little_endian)))" is suppose to accomplish this but it seems to just be ignored.&amp;nbsp; Can anyone tell me if this is basically a nop in Codewarrior 11.1 when compiling for Coldfire?&amp;nbsp; If not, is there some special way it needs to be used to actually be activated.&amp;nbsp; Thanks.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Aug 2019 13:31:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Codewarrior-11-1-attribute-bitfields-little-endian/m-p/945440#M15176</guid>
      <dc:creator>R_R_Ritchey</dc:creator>
      <dc:date>2019-08-20T13:31:00Z</dc:date>
    </item>
    <item>
      <title>Re: Codewarrior 11.1  __attribute__((bitfields(little_endian)))</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Codewarrior-11-1-attribute-bitfields-little-endian/m-p/945441#M15177</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check the following link and let me know if this helps,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://mcuoneclipse.com/2012/02/19/a-little-or-big-indian-a-plea-for-peace/" title="https://mcuoneclipse.com/2012/02/19/a-little-or-big-indian-a-plea-for-peace/"&gt;A little or big Indian? A Plea for Peace… | MCU on Eclipse&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&amp;nbsp;&lt;/P&gt;&lt;P&gt;Soledad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Aug 2019 16:42:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Codewarrior-11-1-attribute-bitfields-little-endian/m-p/945441#M15177</guid>
      <dc:creator>soledad</dc:creator>
      <dc:date>2019-08-21T16:42:54Z</dc:date>
    </item>
    <item>
      <title>Re: Codewarrior 11.1  __attribute__((bitfields(little_endian)))</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Codewarrior-11-1-attribute-bitfields-little-endian/m-p/945442#M15178</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I guess my question on this reply is, how does it apply to my original question?&amp;nbsp; This seems to have nothing to do with&amp;nbsp;why an attribute that is documented in CodeWarrior 11.1 does Nothing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can find the reference here: &lt;A href="http://127.0.0.1:61003/help/nav/0"&gt;CodeWarrior for Microcontrollers V11.x&lt;/A&gt; &amp;gt; &lt;A href="http://127.0.0.1:61003/help/nav/0_3"&gt;ColdFire for Microcontrollers&lt;/A&gt; &amp;gt; &lt;A href="http://127.0.0.1:61003/help/nav/0_3_1"&gt;ColdFire Build Tools Reference Manual&lt;/A&gt; &amp;gt; &lt;A href="http://127.0.0.1:61003/help/topic/com.freescale.doc.mcu.coldfire_compiler/2961134.html"&gt;Addressing&lt;/A&gt; &amp;gt; &lt;A href="http://127.0.0.1:61003/help/topic/com.freescale.doc.mcu.coldfire_compiler/2961128.html"&gt;Sections&lt;/A&gt; &amp;gt; Bitfield Ordering&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The example code does not work. According to the current documentation, the compiler should allow a structure to be stored in little endian format when this attribute is used.&amp;nbsp; The compiler does not complain about it, it just seems to ignore it with no warning or other notification it is ignoring it.&amp;nbsp;&amp;nbsp;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Aug 2019 20:35:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Codewarrior-11-1-attribute-bitfields-little-endian/m-p/945442#M15178</guid>
      <dc:creator>R_R_Ritchey</dc:creator>
      <dc:date>2019-08-22T20:35:01Z</dc:date>
    </item>
    <item>
      <title>Re: Codewarrior 11.1  __attribute__((bitfields(little_endian)))</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Codewarrior-11-1-attribute-bitfields-little-endian/m-p/945443#M15179</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The compiler generates code to access both LE and BE bitfields.&amp;nbsp;&lt;/P&gt;&lt;P&gt;We don't see a problem with the example.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Note the attribute defined how the bitfield is stored in memory, the value is always converted to the native endian of the machine when the value is in a register.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Soledad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Dec 2019 16:44:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Codewarrior-11-1-attribute-bitfields-little-endian/m-p/945443#M15179</guid>
      <dc:creator>soledad</dc:creator>
      <dc:date>2019-12-09T16:44:10Z</dc:date>
    </item>
  </channel>
</rss>

