<?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>LPC Microcontrollers中的主题 Re: COMPILING ERROR: Conflicting type</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/COMPILING-ERROR-Conflicting-type/m-p/1875403#M56155</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/227782"&gt;@DHARSAN&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Based on error messages,&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="HangZhang_0-1716799376989.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/280952i2F664207F41196FB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="HangZhang_0-1716799376989.png" alt="HangZhang_0-1716799376989.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Your previous declaration of "FLEXCOMM2_DriverIRQHandler" with type void(void)&lt;/P&gt;
&lt;P&gt;So you should the&amp;nbsp;declaration of "FLEXCOMM2_DriverIRQHandler" with void FLEXCOMM2_DriverIRQHandler(USART_Type *base, usart_handle_t *handle);&lt;/P&gt;
&lt;P&gt;Hope this will help you.&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Hang&lt;/P&gt;</description>
    <pubDate>Mon, 27 May 2024 08:46:08 GMT</pubDate>
    <dc:creator>Harry_Zhang</dc:creator>
    <dc:date>2024-05-27T08:46:08Z</dc:date>
    <item>
      <title>COMPILING ERROR: Conflicting type</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/COMPILING-ERROR-Conflicting-type/m-p/1875187#M56153</link>
      <description>&lt;P&gt;HELLO,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm currently working in the UART reception for the communication, I just modified the function name related to my application as flexcomm2 which is replaced for UART_TransferIRQ. When I called the function it gives conflicting error type. I doesn't seen any error using default example function UART_TransferIRQ. What will be the issue?&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;P&gt;&lt;SPAN&gt;../drivers/fsl_usart.c:1113:6: error: conflicting types for 'FLEXCOMM2_DriverIRQHandler'; have 'void(USART_Type *, usart_handle_t *)' {aka 'void(USART_Type *, struct _usart_handle *)'}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;1113 | void FLEXCOMM2_DriverIRQHandler(USART_Type*base, usart_handle_t*handle)&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 27 May 2024 05:31:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/COMPILING-ERROR-Conflicting-type/m-p/1875187#M56153</guid>
      <dc:creator>DHARSAN</dc:creator>
      <dc:date>2024-05-27T05:31:33Z</dc:date>
    </item>
    <item>
      <title>Re: COMPILING ERROR: Conflicting type</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/COMPILING-ERROR-Conflicting-type/m-p/1875403#M56155</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/227782"&gt;@DHARSAN&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Based on error messages,&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="HangZhang_0-1716799376989.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/280952i2F664207F41196FB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="HangZhang_0-1716799376989.png" alt="HangZhang_0-1716799376989.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Your previous declaration of "FLEXCOMM2_DriverIRQHandler" with type void(void)&lt;/P&gt;
&lt;P&gt;So you should the&amp;nbsp;declaration of "FLEXCOMM2_DriverIRQHandler" with void FLEXCOMM2_DriverIRQHandler(USART_Type *base, usart_handle_t *handle);&lt;/P&gt;
&lt;P&gt;Hope this will help you.&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Hang&lt;/P&gt;</description>
      <pubDate>Mon, 27 May 2024 08:46:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/COMPILING-ERROR-Conflicting-type/m-p/1875403#M56155</guid>
      <dc:creator>Harry_Zhang</dc:creator>
      <dc:date>2024-05-27T08:46:08Z</dc:date>
    </item>
  </channel>
</rss>

