<?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 MCUXpresso generates the wrong function signature in MCUXpresso IDE</title>
    <link>https://community.nxp.com/t5/MCUXpresso-IDE/MCUXpresso-generates-the-wrong-function-signature/m-p/829200#M3136</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The Peripherals tool of MCUXpresso 10.2.1 generates the wrong function signature from the eDMA mode of the SPI peripheral using KSDK 2.4.2 for the FRDM K64F.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you enable 'Initialization of eDMA callback' and provide a 'Transfer callback function name', the generated function signature in the peripherals.h header file is:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;/* DSPI eDMA callback function for the&amp;nbsp;SPI component (init. function BOARD_InitPeripherals)*/&lt;BR /&gt;extern void DSPI_Callback(DSPI_Type *, dspi_master_edma_handle_t *, status_t, void *);&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;There is no such type as 'DSPI_Type' and so including this file generates compile errors. The correct type (according to MK64F12.h) is 'SPI_Type' without the leading 'D'. The rest of the DSPI API correctly uses the SPI_Type name.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 05 Oct 2018 05:37:08 GMT</pubDate>
    <dc:creator>simonhaines</dc:creator>
    <dc:date>2018-10-05T05:37:08Z</dc:date>
    <item>
      <title>MCUXpresso generates the wrong function signature</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/MCUXpresso-generates-the-wrong-function-signature/m-p/829200#M3136</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The Peripherals tool of MCUXpresso 10.2.1 generates the wrong function signature from the eDMA mode of the SPI peripheral using KSDK 2.4.2 for the FRDM K64F.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you enable 'Initialization of eDMA callback' and provide a 'Transfer callback function name', the generated function signature in the peripherals.h header file is:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;/* DSPI eDMA callback function for the&amp;nbsp;SPI component (init. function BOARD_InitPeripherals)*/&lt;BR /&gt;extern void DSPI_Callback(DSPI_Type *, dspi_master_edma_handle_t *, status_t, void *);&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;There is no such type as 'DSPI_Type' and so including this file generates compile errors. The correct type (according to MK64F12.h) is 'SPI_Type' without the leading 'D'. The rest of the DSPI API correctly uses the SPI_Type name.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Oct 2018 05:37:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/MCUXpresso-generates-the-wrong-function-signature/m-p/829200#M3136</guid>
      <dc:creator>simonhaines</dc:creator>
      <dc:date>2018-10-05T05:37:08Z</dc:date>
    </item>
    <item>
      <title>Re: MCUXpresso generates the wrong function signature</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/MCUXpresso-generates-the-wrong-function-signature/m-p/829201#M3137</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Simon,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you for reporting this bug. It will be fixed in next&amp;nbsp;release of the Peripherals tool components.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Meanwhile, please use attached patch for &lt;SPAN&gt;MCUXpresso Config Tools v4.1 / MCUXpresso&amp;nbsp;SDK v2.4.2&lt;/SPAN&gt;:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Copy content of the archive to your local MCUXpresso Config Tools v4.1 data repository (it is shared with MCUXpresso IDE 10.2.x). Here is location of the local repository per operating system:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Windows:&amp;nbsp;C&lt;SPAN style="font-size: 11.0pt;"&gt;:\ProgramData\NXP\mcu_data_v4.1\&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;Linux and Mac:&amp;nbsp;/home/&amp;lt;user&amp;gt;/.nxp/mcu_data_v4.1/&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;2. Open your project in Peripherals tool and click the &lt;EM&gt;Update Project&lt;/EM&gt; button. Content of peripherals.h will be updated with the fix.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;Lukas&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Oct 2018 15:20:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/MCUXpresso-generates-the-wrong-function-signature/m-p/829201#M3137</guid>
      <dc:creator>Lukas_Heczko</dc:creator>
      <dc:date>2018-10-05T15:20:23Z</dc:date>
    </item>
  </channel>
</rss>

