<?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>Kinetis Design Studio中的主题 Re: Processor Expert CAN_LDD code generation bool type error?</title>
    <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Processor-Expert-CAN-LDD-code-generation-bool-type-error/m-p/628323#M8088</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Brian,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I test your project on my side , there is no error when build :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/5278iF2AEA9F68B83C035/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please create a new project ,&amp;nbsp; then only add the component of CAN_LDD ,&amp;nbsp; check whether have error .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Alice&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 Oct 2016 08:28:18 GMT</pubDate>
    <dc:creator>Alice_Yang</dc:creator>
    <dc:date>2016-10-19T08:28:18Z</dc:date>
    <item>
      <title>Processor Expert CAN_LDD code generation bool type error?</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Processor-Expert-CAN-LDD-code-generation-bool-type-error/m-p/628320#M8085</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have several projects that are using the PE CAN_LDD component, and I was attempting to enable the methods GetTXFrameState and GetRxFrameState. When I do and generate the PE component code that works fine, however when I go to compile I get the following errors:&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"../Generated_Code/CAN1.c"&lt;BR /&gt;.&lt;STRONG&gt;./Generated_Code/CAN1.c:874:6: error: conflicting types for 'CAN1_GetTxFrameState'&lt;/STRONG&gt;&lt;BR /&gt; &lt;STRONG&gt;bool CAN1_GetTxFrameState(LDD_TDeviceData *DeviceDataPtr, LDD_CAN_TMBIndex BufferIdx)&lt;/STRONG&gt;&lt;BR /&gt; ^&lt;BR /&gt;In file included from ../Generated_Code/CAN1.c:156:0:&lt;BR /&gt;../Generated_Code/CAN1.h:504:6: note: previous declaration of 'CAN1_GetTxFrameState' was here&lt;BR /&gt; &lt;STRONG&gt;bool CAN1_GetTxFrameState(LDD_TDeviceData *DeviceDataPtr, LDD_CAN_TMBIndex BufferIdx);&lt;/STRONG&gt;&lt;BR /&gt; ^&lt;BR /&gt;../Generated_Code/CAN1.c:918:6: error: conflicting types for 'CAN1_GetRxFrameState'&lt;BR /&gt; &lt;STRONG&gt;bool CAN1_GetRxFrameState(LDD_TDeviceData *DeviceDataPtr, LDD_CAN_TMBIndex BufferIdx)&lt;/STRONG&gt;&lt;BR /&gt; ^&lt;BR /&gt;In file included from ../Generated_Code/CAN1.c:156:0:&lt;BR /&gt;&lt;STRONG&gt;../Generated_Code/CAN1.h:524:6: note: previous declaration of 'CAN1_GetRxFrameState' was here&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; bool CAN1_GetRxFrameState(LDD_TDeviceData *DeviceDataPtr, LDD_CAN_TMBIndex BufferIdx);&lt;/STRONG&gt;&lt;BR /&gt; ^&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I am assuming there is an issue with the bool return variable, but I am not sure where to go to fix this. Any help is appreciated.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank You,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Oct 2016 12:35:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Processor-Expert-CAN-LDD-code-generation-bool-type-error/m-p/628320#M8085</guid>
      <dc:creator>bitjockey</dc:creator>
      <dc:date>2016-10-12T12:35:45Z</dc:date>
    </item>
    <item>
      <title>Re: Processor Expert CAN_LDD code generation bool type error?</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Processor-Expert-CAN-LDD-code-generation-bool-type-error/m-p/628321#M8086</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Brian,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Does your project includes MQX lib ?&lt;/P&gt;&lt;P&gt;If yes, please add the following definition in the Defined Symbols: bool=_Bool&lt;/P&gt;&lt;P&gt;refer to this thread :&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/382891"&gt;Processor Expert generating code with errors&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- If not ,&amp;nbsp; could you please attached your project ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Alice&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>Thu, 13 Oct 2016 07:18:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Processor-Expert-CAN-LDD-code-generation-bool-type-error/m-p/628321#M8086</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2016-10-13T07:18:34Z</dc:date>
    </item>
    <item>
      <title>Re: Processor Expert CAN_LDD code generation bool type error?</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Processor-Expert-CAN-LDD-code-generation-bool-type-error/m-p/628322#M8087</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Alice,&lt;/P&gt;&lt;P&gt;I am not running MQX. I am including a KDS 3.2 Project that has the issue. If you try to build the project you will get errors related to the &lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;GetRxFrameState and&amp;nbsp;&lt;SPAN&gt;GetTxFrameState. If you click on the component to open up the settings dialog, and you uncheck the&amp;nbsp;&lt;SPAN style="background-color: #ffffff;"&gt;GetRxFrameState and&amp;nbsp;GetTxFrameState methods so that they do not generate code. Re-generate the PE software and rebuild it compiles fine. Do the reverse and you get the errors.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Best Regards,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Oct 2016 18:45:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Processor-Expert-CAN-LDD-code-generation-bool-type-error/m-p/628322#M8087</guid>
      <dc:creator>bitjockey</dc:creator>
      <dc:date>2016-10-18T18:45:23Z</dc:date>
    </item>
    <item>
      <title>Re: Processor Expert CAN_LDD code generation bool type error?</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Processor-Expert-CAN-LDD-code-generation-bool-type-error/m-p/628323#M8088</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Brian,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I test your project on my side , there is no error when build :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/5278iF2AEA9F68B83C035/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please create a new project ,&amp;nbsp; then only add the component of CAN_LDD ,&amp;nbsp; check whether have error .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Alice&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Oct 2016 08:28:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Processor-Expert-CAN-LDD-code-generation-bool-type-error/m-p/628323#M8088</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2016-10-19T08:28:18Z</dc:date>
    </item>
  </channel>
</rss>

