<?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>CodeWarrior for MCU中的主题 Re: Aligned attribute not working in CW11.0</title>
    <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Aligned-attribute-not-working-in-CW11-0/m-p/753405#M14495</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Gordon,&lt;/P&gt;&lt;P&gt;I ever reported similar issue.&lt;/P&gt;&lt;P&gt;Could you please upload your demo project here?&lt;/P&gt;&lt;P&gt;I will test if our latest CW11.0 update1 fixed this problem. it's not released yet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Jennie Zhang&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 23 Feb 2018 05:33:16 GMT</pubDate>
    <dc:creator>ZhangJennie</dc:creator>
    <dc:date>2018-02-23T05:33:16Z</dc:date>
    <item>
      <title>Aligned attribute not working in CW11.0</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Aligned-attribute-not-working-in-CW11-0/m-p/753403#M14493</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have found that the "aligned" attribute doesn't appear to work properly. I am using CW 11.0 for the S12ZVC processor.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;volatile uint32_t ADC0CommandList[11] __attribute__ ((aligned(4))); //max 256 bytes = 64 commands per 4-byte entries&lt;BR /&gt;volatile uint16_t ADC0ResultList[11]&amp;nbsp; __attribute__ ((aligned(4))); //max 128 bytes = 64 results per 2-byte entries&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This results in ADC0Command List not being located on a 4 byte boundary (as shown in the map file).&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ADC0CommandList&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1252&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2C&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 44&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 12&amp;nbsp;&amp;nbsp; .common&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the end, I had to add some padding in order to force this variable to the correct place. Any ideas?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Feb 2018 17:57:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Aligned-attribute-not-working-in-CW11-0/m-p/753403#M14493</guid>
      <dc:creator>gordonp</dc:creator>
      <dc:date>2018-02-16T17:57:05Z</dc:date>
    </item>
    <item>
      <title>Re: Aligned attribute not working in CW11.0</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Aligned-attribute-not-working-in-CW11-0/m-p/753404#M14494</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was able to reproduce this with one of my ADC test-projects.&lt;/P&gt;&lt;P&gt;I built a test-case and filed a support ticket.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for reporting this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;MJW&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Feb 2018 08:46:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Aligned-attribute-not-working-in-CW11-0/m-p/753404#M14494</guid>
      <dc:creator>MJW</dc:creator>
      <dc:date>2018-02-22T08:46:41Z</dc:date>
    </item>
    <item>
      <title>Re: Aligned attribute not working in CW11.0</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Aligned-attribute-not-working-in-CW11-0/m-p/753405#M14495</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Gordon,&lt;/P&gt;&lt;P&gt;I ever reported similar issue.&lt;/P&gt;&lt;P&gt;Could you please upload your demo project here?&lt;/P&gt;&lt;P&gt;I will test if our latest CW11.0 update1 fixed this problem. it's not released yet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Jennie Zhang&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Feb 2018 05:33:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Aligned-attribute-not-working-in-CW11-0/m-p/753405#M14495</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2018-02-23T05:33:16Z</dc:date>
    </item>
  </channel>
</rss>

