<?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: Method is required by the interface issue when inheriting components in CDE in Processor Expert Software</title>
    <link>https://community.nxp.com/t5/Processor-Expert-Software/Method-is-required-by-the-interface-issue-when-inheriting/m-p/439066#M3572</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Brian,&lt;/P&gt;&lt;P&gt;It seems that you have issue in the mode of every method that is inherited. If you leave the Mode = ALWAYS_REQUIRED the error is reported when the method is not generated.&lt;/P&gt;&lt;P&gt;When you open the interface of the AsynchroSerial that is used in your component select the methods that reports error and select for example OPTIONAL_IF_EXIST mode, see below. You can find details in the Help of CDE (e.g. Inheritance Wizard help page).&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_0.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/23132iDE946D40FD511E41/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_0.png" alt="pastedImage_0.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;For example the RecvBlock method is not enabled in the AsynchroSerial by default. Therefore you need to modify the AsynchroSerial configuration that is inherited (use for example a template).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Marek Neuzil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 19 Oct 2015 05:33:27 GMT</pubDate>
    <dc:creator>marek_neuzil</dc:creator>
    <dc:date>2015-10-19T05:33:27Z</dc:date>
    <item>
      <title>Method is required by the interface issue when inheriting components in CDE</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/Method-is-required-by-the-interface-issue-when-inheriting/m-p/439063#M3569</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When creating a custom embedded component using CDE and inheriting an AsynchroSerial component, I get a errors "Method is required by the interface, but is disabled by the component settings or by the template" when trying to use the component.&amp;nbsp; I also get the same error for events.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_0.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/58718i610B1D00CFFDE89D/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_0.png" alt="pastedImage_0.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Oct 2015 16:01:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/Method-is-required-by-the-interface-issue-when-inheriting/m-p/439063#M3569</guid>
      <dc:creator>brianbranecky</dc:creator>
      <dc:date>2015-10-06T16:01:33Z</dc:date>
    </item>
    <item>
      <title>Re: Method is required by the interface issue when inheriting components in CDE</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/Method-is-required-by-the-interface-issue-when-inheriting/m-p/439064#M3570</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hello,&lt;/P&gt;&lt;P&gt;The error message means that the component is inherited in another component that requires these methods (the interface, that is used for the inheritance, requires these methods). You must correct the design of the component (correct the interface, component/template settings (enable generating of these methods) or a chg script that disables these methods).&lt;/P&gt;&lt;P&gt;It is a bug of the component design (inheritance).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you need additional help, provide the component(s) for analysis, please.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Marek Neuzil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Oct 2015 09:28:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/Method-is-required-by-the-interface-issue-when-inheriting/m-p/439064#M3570</guid>
      <dc:creator>marek_neuzil</dc:creator>
      <dc:date>2015-10-07T09:28:46Z</dc:date>
    </item>
    <item>
      <title>Re: Method is required by the interface issue when inheriting components in CDE</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/Method-is-required-by-the-interface-issue-when-inheriting/m-p/439065#M3571</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Marek,&lt;/P&gt;&lt;P&gt;I have tried everything I know to correct the interface to enable these methods, but cannot get the errors to go away.&amp;nbsp; Here is my procedure:&lt;/P&gt;&lt;P&gt;File-&amp;gt;New-&amp;gt;Embedded Component (using KDS 3.0.0)&lt;/P&gt;&lt;P&gt;Under the component Properties -&amp;gt;Inherit Component... -&amp;gt; AsynchroSerial-&amp;gt;Exclusive usage of component methods and events&lt;/P&gt;&lt;P&gt;&lt;EM&gt;at this point I tried "Extended component interface, override or publish component methods or events" it did not&lt;/EM&gt;&lt;EM&gt; fix the issue&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;select each method needed by the interface and change the inherit pull-down from "no" to "yes" (This icon will change from M or E to I)&lt;/P&gt;&lt;P&gt;Refresh and Deploy&lt;/P&gt;&lt;P&gt;Add component to project and you will get the errors described above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not sure how to fix the issue.&amp;nbsp; Can the issue be fixed via a CHG script?&amp;nbsp; If so how?&lt;/P&gt;&lt;P&gt;Brian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Oct 2015 14:25:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/Method-is-required-by-the-interface-issue-when-inheriting/m-p/439065#M3571</guid>
      <dc:creator>brianbranecky</dc:creator>
      <dc:date>2015-10-07T14:25:02Z</dc:date>
    </item>
    <item>
      <title>Re: Method is required by the interface issue when inheriting components in CDE</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/Method-is-required-by-the-interface-issue-when-inheriting/m-p/439066#M3572</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Brian,&lt;/P&gt;&lt;P&gt;It seems that you have issue in the mode of every method that is inherited. If you leave the Mode = ALWAYS_REQUIRED the error is reported when the method is not generated.&lt;/P&gt;&lt;P&gt;When you open the interface of the AsynchroSerial that is used in your component select the methods that reports error and select for example OPTIONAL_IF_EXIST mode, see below. You can find details in the Help of CDE (e.g. Inheritance Wizard help page).&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_0.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/23132iDE946D40FD511E41/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_0.png" alt="pastedImage_0.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;For example the RecvBlock method is not enabled in the AsynchroSerial by default. Therefore you need to modify the AsynchroSerial configuration that is inherited (use for example a template).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Marek Neuzil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Oct 2015 05:33:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/Method-is-required-by-the-interface-issue-when-inheriting/m-p/439066#M3572</guid>
      <dc:creator>marek_neuzil</dc:creator>
      <dc:date>2015-10-19T05:33:27Z</dc:date>
    </item>
  </channel>
</rss>

