<?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: _pack in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/pack/m-p/935416#M54178</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GCC uses __attribute__((__packed__)) to control packing in structs.&lt;/P&gt;&lt;P&gt;If you add a define&lt;/P&gt;&lt;P&gt;#define _pack&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; __attribute__((__packed__))&lt;/P&gt;&lt;P&gt;it will presumably make your code compatible with the other compiler that you have been using.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 31 Jul 2019 21:54:19 GMT</pubDate>
    <dc:creator>mjbcswitzerland</dc:creator>
    <dc:date>2019-07-31T21:54:19Z</dc:date>
    <item>
      <title>_pack</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/pack/m-p/935415#M54177</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Other compilers use _pack to control memory layout in struct directives. Does NXP do anything like this or not? If yes can you provide an example.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Jul 2019 19:41:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/pack/m-p/935415#M54177</guid>
      <dc:creator>randyseedle</dc:creator>
      <dc:date>2019-07-31T19:41:31Z</dc:date>
    </item>
    <item>
      <title>Re: _pack</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/pack/m-p/935416#M54178</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GCC uses __attribute__((__packed__)) to control packing in structs.&lt;/P&gt;&lt;P&gt;If you add a define&lt;/P&gt;&lt;P&gt;#define _pack&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; __attribute__((__packed__))&lt;/P&gt;&lt;P&gt;it will presumably make your code compatible with the other compiler that you have been using.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Jul 2019 21:54:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/pack/m-p/935416#M54178</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2019-07-31T21:54:19Z</dc:date>
    </item>
  </channel>
</rss>

