<?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: conflicting types for 'task_handler_t' in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/conflicting-types-for-task-handler-t/m-p/1573837#M51079</link>
    <description>&lt;P&gt;Somewhat disappointing no one from NXP seems concerned ConfigTools is creating code with errors.&lt;/P&gt;</description>
    <pubDate>Thu, 22 Dec 2022 17:21:12 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2022-12-22T17:21:12Z</dc:date>
    <item>
      <title>conflicting types for 'task_handler_t'</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/conflicting-types-for-task-handler-t/m-p/1573230#M51069</link>
      <description>&lt;P&gt;I have built a test project using ConfigTools for LPC54606J512BD100 with MCUXpresso IDE v11.6.1 [Build 8255].&lt;/P&gt;&lt;P&gt;When I try to compile, I get the error "conflicting types for 'task_handler_t'" in file fsl_os_abstraction_bm.c&lt;/P&gt;&lt;P&gt;This project has no code added or modified by me and ConfigTools shows 0 errors and 0 warnings.&lt;/P&gt;&lt;P&gt;I'm not sure what file I need upload to this forum entry for someone to try to reproduce.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Dec 2022 16:36:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/conflicting-types-for-task-handler-t/m-p/1573230#M51069</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-12-21T16:36:44Z</dc:date>
    </item>
    <item>
      <title>Re: conflicting types for 'task_handler_t'</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/conflicting-types-for-task-handler-t/m-p/1573837#M51079</link>
      <description>&lt;P&gt;Somewhat disappointing no one from NXP seems concerned ConfigTools is creating code with errors.&lt;/P&gt;</description>
      <pubDate>Thu, 22 Dec 2022 17:21:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/conflicting-types-for-task-handler-t/m-p/1573837#M51079</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-12-22T17:21:12Z</dc:date>
    </item>
    <item>
      <title>Re: conflicting types for 'task_handler_t'</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/conflicting-types-for-task-handler-t/m-p/1573848#M51080</link>
      <description>&lt;P class="lia-align-justify"&gt;Hello @Anonymous,&lt;/P&gt;
&lt;P class="lia-align-justify"&gt;Trying to replicate your error, there is a possible redefinition of "task_handler_t" in files inside folder OSA. This redefinition is making your program to fail in building.&lt;/P&gt;
&lt;P class="lia-align-justify"&gt;Could you please help us checking the OSA folder? How many files do you have? Did you add the OSA component before the ConfigTools configuration?&lt;/P&gt;
&lt;P class="lia-align-justify"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RaulRomero_0-1671732422961.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/205281i0AEDBEB43BF256E9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RaulRomero_0-1671732422961.png" alt="RaulRomero_0-1671732422961.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P class="lia-align-justify"&gt;Also, are you using FreeRTOS or baremetal for your aplication? What modules/peripherals are you using or editing trough ConfigTools?&lt;/P&gt;
&lt;P class="lia-align-justify"&gt;Best regards, Raul.&lt;/P&gt;</description>
      <pubDate>Thu, 22 Dec 2022 18:08:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/conflicting-types-for-task-handler-t/m-p/1573848#M51080</guid>
      <dc:creator>RaRo</dc:creator>
      <dc:date>2022-12-22T18:08:06Z</dc:date>
    </item>
    <item>
      <title>Re: conflicting types for 'task_handler_t'</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/conflicting-types-for-task-handler-t/m-p/1573881#M51083</link>
      <description>&lt;P&gt;&lt;BR /&gt;Six files in the osa/ directory.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="Screenshot_1.png" style="width: 200px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/205297i8341763586722C4F/image-size/small?v=v2&amp;amp;px=200" role="button" title="Screenshot_1.png" alt="Screenshot_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes, I added FreeRTOS&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I did not add osa/ before using the ConfigTools. Everything was done through&lt;BR /&gt;that interface.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I added:&lt;BR /&gt;Operating Systems:&lt;BR /&gt;FreeRTOS kernel&lt;/P&gt;&lt;P&gt;Drivers:&lt;BR /&gt;adc&lt;BR /&gt;clock&lt;BR /&gt;common&lt;BR /&gt;ctimer&lt;BR /&gt;dma&lt;BR /&gt;dmic&lt;BR /&gt;dmic_dma&lt;BR /&gt;flexcomm&lt;BR /&gt;flexcomm_i2s&lt;BR /&gt;flexcomm_i2s_dma&lt;BR /&gt;gpio&lt;BR /&gt;i2c&lt;BR /&gt;i2c_dma&lt;BR /&gt;i2c_freertos&lt;BR /&gt;iocon&lt;BR /&gt;power&lt;BR /&gt;reset&lt;BR /&gt;sdif&lt;BR /&gt;spi&lt;BR /&gt;spi_dma&lt;BR /&gt;spi_freertos&lt;BR /&gt;usart&lt;BR /&gt;usart_dma&lt;BR /&gt;usart_freertos&lt;/P&gt;&lt;P&gt;CMS Include:&lt;BR /&gt;CMSIS_Include_CM&lt;BR /&gt;LPC54606_CMSIS&lt;BR /&gt;LPC54606_system&lt;/P&gt;&lt;P&gt;Utilities:&lt;BR /&gt;assert&lt;BR /&gt;debug_console&lt;BR /&gt;serial_manager&lt;BR /&gt;usart_adapter&lt;/P&gt;&lt;P&gt;Middleware:&lt;BR /&gt;File System&lt;BR /&gt;FAT File System&lt;BR /&gt;fatfs&lt;BR /&gt;mmc&lt;BR /&gt;ram&lt;BR /&gt;sd&lt;BR /&gt;usb&lt;/P&gt;&lt;P&gt;Memories&lt;BR /&gt;SDMMC Stack&lt;BR /&gt;mmc&lt;BR /&gt;sd&lt;BR /&gt;sdmmc_host_sdif_interrupt&lt;BR /&gt;sdmmc_osa_bm&lt;/P&gt;</description>
      <pubDate>Thu, 22 Dec 2022 19:53:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/conflicting-types-for-task-handler-t/m-p/1573881#M51083</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-12-22T19:53:00Z</dc:date>
    </item>
    <item>
      <title>Re: conflicting types for 'task_handler_t'</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/conflicting-types-for-task-handler-t/m-p/1573905#M51085</link>
      <description>&lt;P class="lia-align-justify"&gt;Hello @Anonymous,&lt;/P&gt;
&lt;P class="lia-align-justify"&gt;It seems there is a situation with the FATFS Middleware and the MMC disk.&lt;/P&gt;
&lt;P class="lia-align-justify"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RaulRomero_0-1671743446691.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/205306iD7208F7128ACB7F1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RaulRomero_0-1671743446691.png" alt="RaulRomero_0-1671743446691.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P class="lia-align-justify"&gt;Configuring the MMC disk, ConfigTools adds files from baremetal operating system: fsl_os_abstraction_bm.c and fsl_os_abstraction_bm.h; for make the MSDK adaptation configuration to work.&lt;/P&gt;
&lt;P class="lia-align-justify"&gt;The problem with these files being added at OSA folder, is that you have the variable "task_handler_t" declared in two files: fsl_os_abstraction_bm.c and fsl_os_abstraction_free_rtos.c; making the build to fail.&lt;/P&gt;
&lt;P class="lia-align-justify"&gt;Regards, Raul.&lt;/P&gt;</description>
      <pubDate>Thu, 22 Dec 2022 21:11:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/conflicting-types-for-task-handler-t/m-p/1573905#M51085</guid>
      <dc:creator>RaRo</dc:creator>
      <dc:date>2022-12-22T21:11:46Z</dc:date>
    </item>
    <item>
      <title>Re: conflicting types for 'task_handler_t'</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/conflicting-types-for-task-handler-t/m-p/1574227#M51094</link>
      <description>&lt;P&gt;Thank you for the explanation.&lt;/P&gt;&lt;P&gt;Do you think this will be corrected in an update?&lt;/P&gt;</description>
      <pubDate>Fri, 23 Dec 2022 14:21:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/conflicting-types-for-task-handler-t/m-p/1574227#M51094</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-12-23T14:21:36Z</dc:date>
    </item>
    <item>
      <title>Re: conflicting types for 'task_handler_t'</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/conflicting-types-for-task-handler-t/m-p/1574646#M51105</link>
      <description>&lt;P&gt;Hello @Anonymous,&lt;/P&gt;
&lt;P&gt;Thank you for the feedback, we will let the team in charge know about this issue.&lt;/P&gt;
&lt;P&gt;Best regards, Raul.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Dec 2022 16:17:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/conflicting-types-for-task-handler-t/m-p/1574646#M51105</guid>
      <dc:creator>RaRo</dc:creator>
      <dc:date>2022-12-26T16:17:25Z</dc:date>
    </item>
    <item>
      <title>Re: conflicting types for 'task_handler_t'</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/conflicting-types-for-task-handler-t/m-p/1574702#M51107</link>
      <description>Thanks a lot for looking into this.</description>
      <pubDate>Mon, 26 Dec 2022 21:25:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/conflicting-types-for-task-handler-t/m-p/1574702#M51107</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-12-26T21:25:07Z</dc:date>
    </item>
    <item>
      <title>Re: conflicting types for 'task_handler_t'</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/conflicting-types-for-task-handler-t/m-p/1814935#M55496</link>
      <description>&lt;P&gt;This is still a problem, at least for i.MX RT MCUs. One has to exclude fsl_os_abstraction_bm.c from the build after adding the freertos component to an existing project via the sdk components manager with that family. I guess it's the same underlying issue.&lt;/P&gt;</description>
      <pubDate>Sat, 24 Feb 2024 06:49:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/conflicting-types-for-task-handler-t/m-p/1814935#M55496</guid>
      <dc:creator>stefanct</dc:creator>
      <dc:date>2024-02-24T06:49:36Z</dc:date>
    </item>
  </channel>
</rss>

