<?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: S32K144 - switch to big-endian? in S32 Design Studio</title>
    <link>https://community.nxp.com/t5/S32-Design-Studio/S32K144-switch-to-big-endian/m-p/1085579#M6585</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;as far as I know, there is no such gcc parameter or __attribute__. Normally is such situation handled by some "endian_swap" function in receive/transmit.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jiri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 12 Aug 2020 11:32:58 GMT</pubDate>
    <dc:creator>jiri_kral</dc:creator>
    <dc:date>2020-08-12T11:32:58Z</dc:date>
    <item>
      <title>S32K144 - switch to big-endian?</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/S32K144-switch-to-big-endian/m-p/1085578#M6584</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;BR /&gt;is it possible to switch to big-endian in S32DS for S32K144? I am porting some project from Coldfire V1 and there are so many structures used in communication, which&amp;nbsp; assume big-endiannes ...&lt;/P&gt;&lt;P&gt;I tried&amp;nbsp; -mbig-endian in compiler options, but I got&amp;nbsp;&amp;nbsp; "compiled for a big endian system and target is little endian"&amp;nbsp; error :smileysad:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it even possible to switch to big-endian?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Martin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Aug 2020 11:11:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/S32K144-switch-to-big-endian/m-p/1085578#M6584</guid>
      <dc:creator>Novalis</dc:creator>
      <dc:date>2020-08-12T11:11:58Z</dc:date>
    </item>
    <item>
      <title>Re: S32K144 - switch to big-endian?</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/S32K144-switch-to-big-endian/m-p/1085579#M6585</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;as far as I know, there is no such gcc parameter or __attribute__. Normally is such situation handled by some "endian_swap" function in receive/transmit.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jiri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Aug 2020 11:32:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/S32K144-switch-to-big-endian/m-p/1085579#M6585</guid>
      <dc:creator>jiri_kral</dc:creator>
      <dc:date>2020-08-12T11:32:58Z</dc:date>
    </item>
    <item>
      <title>Re: S32K144 - switch to big-endian?</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/S32K144-switch-to-big-endian/m-p/1085580#M6586</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I just did "send(uin8t_ *ptr_to_struct, uint16_t len)" before, now I would need to make copy of the struct, do the swapping and then send it, that would be so much rewriting for all the structures, so I thought that it would may be possible to switch S32K144 (to big-endian mode somehow (may be SETEND instruction, but it seems that it doesn't exist in Cortex-M series anymore - see &lt;A class="link-titled" href="https://en.wikipedia.org/wiki/ARM_Cortex-M#Deprecations" title="https://en.wikipedia.org/wiki/ARM_Cortex-M#Deprecations"&gt;ARM Cortex-M - Wikipedia&lt;/A&gt;&amp;nbsp; ).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Aug 2020 11:58:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/S32K144-switch-to-big-endian/m-p/1085580#M6586</guid>
      <dc:creator>Novalis</dc:creator>
      <dc:date>2020-08-12T11:58:49Z</dc:date>
    </item>
    <item>
      <title>Re: S32K144 - switch to big-endian?</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/S32K144-switch-to-big-endian/m-p/1085581#M6587</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Seems like "compiled for a big endian system and target is little endian"&amp;nbsp; error is the linker error since libraries are Little Endian.&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;NXP GCC contains only LE prebuilt libraries.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Aug 2020 20:48:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/S32K144-switch-to-big-endian/m-p/1085581#M6587</guid>
      <dc:creator>alexanderfedoto</dc:creator>
      <dc:date>2020-08-17T20:48:49Z</dc:date>
    </item>
  </channel>
</rss>

