<?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>MQX Software SolutionsのトピックRe: Rebuild BSP with IAR error</title>
    <link>https://community.nxp.com/t5/MQX-Software-Solutions/Rebuild-BSP-with-IAR-error/m-p/210130#M5153</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank for the hint. I will try to look into it.&amp;nbsp; The message seems to point to what you suggested.&lt;/P&gt;&lt;P&gt;But just out of curiosity, I compiled this same piece of code using other machine, XP 32 bit, it works just fine.&lt;/P&gt;&lt;P&gt;Thanks I will post what I find out.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 02 Jun 2011 19:33:32 GMT</pubDate>
    <dc:creator>GaQuay</dc:creator>
    <dc:date>2011-06-02T19:33:32Z</dc:date>
    <item>
      <title>Rebuild BSP with IAR error</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Rebuild-BSP-with-IAR-error/m-p/210128#M5151</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am trying to rebuild the bsp using IAR v6.0&amp;nbsp;and the compiler generates these&amp;nbsp;of errors.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Error[Pe144]: a value of type "int" cannot be used to initialize an entity of type "unsigned int const volatile *"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The error points to this code&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;static&amp;nbsp; uint32_t volatile * const pctl_ptr_arr[] = {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;amp;(PORTA_PCR(0)),&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;amp;(PORTB_PCR(0)),&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;amp;(PORTC_PCR(0)),&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;amp;(PORTD_PCR(0)),&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;amp;(PORTE_PCR(0))&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I rebuilt the BSP on another machine (windows xp) and it compiled just fine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does any one have this same problem?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 May 2011 09:00:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Rebuild-BSP-with-IAR-error/m-p/210128#M5151</guid>
      <dc:creator>GaQuay</dc:creator>
      <dc:date>2011-05-27T09:00:36Z</dc:date>
    </item>
    <item>
      <title>Re: Rebuild BSP with IAR error</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Rebuild-BSP-with-IAR-error/m-p/210129#M5152</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm able to compile this&amp;nbsp;with IAR 6.10.1:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;static&amp;nbsp; uint32_t volatile * const pctl_ptr_arr[] = {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;amp;(PORTA_PCR(0)),&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;amp;(PORTB_PCR(0)),&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;amp;(PORTC_PCR(0)),&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;amp;(PORTD_PCR(0)),&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;amp;(PORTE_PCR(0))&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;uint32_t volatile * port;&lt;BR /&gt;port = pctl_ptr_arr[2];&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do&amp;nbsp;your macros PORTx_PCR() resolve to uint32_t volatile type? Maybe they are not known and compiler assumes int...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;PetrM&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 May 2011 19:37:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Rebuild-BSP-with-IAR-error/m-p/210129#M5152</guid>
      <dc:creator>PetrM</dc:creator>
      <dc:date>2011-05-27T19:37:55Z</dc:date>
    </item>
    <item>
      <title>Re: Rebuild BSP with IAR error</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Rebuild-BSP-with-IAR-error/m-p/210130#M5153</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank for the hint. I will try to look into it.&amp;nbsp; The message seems to point to what you suggested.&lt;/P&gt;&lt;P&gt;But just out of curiosity, I compiled this same piece of code using other machine, XP 32 bit, it works just fine.&lt;/P&gt;&lt;P&gt;Thanks I will post what I find out.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jun 2011 19:33:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Rebuild-BSP-with-IAR-error/m-p/210130#M5153</guid>
      <dc:creator>GaQuay</dc:creator>
      <dc:date>2011-06-02T19:33:32Z</dc:date>
    </item>
    <item>
      <title>Re: Rebuild BSP with IAR error</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Rebuild-BSP-with-IAR-error/m-p/210131#M5154</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have IAR 6.20.2 and on that compiller I get an error:&lt;/P&gt;&lt;P&gt;Error[Pe144]: a value of type "int" cannot be used to initialize an entity of type "unsigned long volatile *" C:\Program Files\Freescale\Freescale MQX 3.7\mqx\source\io\lcd\lcd_twrk40x256.c 71&amp;nbsp;﻿&lt;/P&gt;&lt;P&gt;The same for other 2 files from MQX. It is compiled just fine with IAR 6.20.1 and with CW10.1. Where can be the problem? How to fix it ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jun 2011 21:56:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Rebuild-BSP-with-IAR-error/m-p/210131#M5154</guid>
      <dc:creator>akvarel</dc:creator>
      <dc:date>2011-06-08T21:56:21Z</dc:date>
    </item>
    <item>
      <title>Re: Rebuild BSP with IAR error</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Rebuild-BSP-with-IAR-error/m-p/210132#M5155</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There was a bug introduced in IAR 6.20.2. Download 6.20.3 and you should be good to go.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jun 2011 02:27:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Rebuild-BSP-with-IAR-error/m-p/210132#M5155</guid>
      <dc:creator>anthony_huereca</dc:creator>
      <dc:date>2011-06-09T02:27:06Z</dc:date>
    </item>
  </channel>
</rss>

