<?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 Using i2c and uart freeRTOS in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Using-i2c-and-uart-freeRTOS/m-p/951788#M54746</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried to include both i2c and UART freeRTOS to send data out thru UART.&lt;/P&gt;&lt;P&gt;But as soon as I include UART freeRTOS, it throws errors as below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Description Resource Path Location Type&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;first defined here heap_1.c /frdmk66f_freertos_i2c/amazon-freertos/FreeRTOS/portable line 71 C/C++ Problem&lt;BR /&gt;first defined here heap_1.c /frdmk66f_freertos_i2c/amazon-freertos/FreeRTOS/portable line 123 C/C++ Problem&lt;BR /&gt;first defined here heap_1.c /frdmk66f_freertos_i2c/amazon-freertos/FreeRTOS/portable line 135 C/C++ Problem&lt;BR /&gt;first defined here heap_1.c /frdmk66f_freertos_i2c/amazon-freertos/FreeRTOS/portable line 142 C/C++ Problem&lt;BR /&gt;first defined here heap_4.c /frdmk66f_freertos_i2c/amazon-freertos/FreeRTOS/portable line 318 C/C++ Problem&lt;BR /&gt;make: *** [frdmk66f_freertos_i2c.axf] Error 1 frdmk66f_freertos_i2c C/C++ Problem&lt;BR /&gt;multiple definition of `pvPortMalloc' heap_2.c /frdmk66f_freertos_i2c/amazon-freertos/FreeRTOS/portable line 119 C/C++ Problem&lt;BR /&gt;multiple definition of `pvPortMalloc' heap_3.c /frdmk66f_freertos_i2c/amazon-freertos/FreeRTOS/portable line 59 C/C++ Problem&lt;BR /&gt;multiple definition of `pvPortMalloc' heap_4.c /frdmk66f_freertos_i2c/amazon-freertos/FreeRTOS/portable line 114 C/C++ Problem&lt;BR /&gt;multiple definition of `pvPortMalloc' heap_5.c /frdmk66f_freertos_i2c/amazon-freertos/FreeRTOS/portable line 133 C/C++ Problem&lt;BR /&gt;multiple definition of `vPortFree' heap_2.c /frdmk66f_freertos_i2c/amazon-freertos/FreeRTOS/portable line 211 C/C++ Problem&lt;BR /&gt;multiple definition of `vPortFree' heap_3.c /frdmk66f_freertos_i2c/amazon-freertos/FreeRTOS/portable line 84 C/C++ Problem&lt;BR /&gt;multiple definition of `vPortFree' heap_4.c /frdmk66f_freertos_i2c/amazon-freertos/FreeRTOS/portable line 264 C/C++ Problem&lt;BR /&gt;multiple definition of `vPortFree' heap_5.c /frdmk66f_freertos_i2c/amazon-freertos/FreeRTOS/portable line 273 C/C++ Problem&lt;BR /&gt;multiple definition of `vPortInitialiseBlocks' heap_2.c /frdmk66f_freertos_i2c/amazon-freertos/FreeRTOS/portable line 244 C/C++ Problem&lt;BR /&gt;multiple definition of `vPortInitialiseBlocks' heap_4.c /frdmk66f_freertos_i2c/amazon-freertos/FreeRTOS/portable line 324 C/C++ Problem&lt;BR /&gt;multiple definition of `xPortGetFreeHeapSize' heap_2.c /frdmk66f_freertos_i2c/amazon-freertos/FreeRTOS/portable line 238 C/C++ Problem&lt;BR /&gt;multiple definition of `xPortGetFreeHeapSize' heap_4.c /frdmk66f_freertos_i2c/amazon-freertos/FreeRTOS/portable line 312 C/C++ Problem&lt;BR /&gt;multiple definition of `xPortGetFreeHeapSize' heap_5.c /frdmk66f_freertos_i2c/amazon-freertos/FreeRTOS/portable line 321 C/C++ Problem&lt;BR /&gt;multiple definition of `xPortGetMinimumEverFreeHeapSize' heap_5.c /frdmk66f_freertos_i2c/amazon-freertos/FreeRTOS/portable line 327 C/C++ Problem&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&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/88443iB30B01F7F9E21DA7/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;I have tried the example code for k66f, "frdmk66f_freertos_i2c". simply by just adding the uart rtos driver and it failed to compile. But when I created a new project then tried the same without any code from the example, it worked.&lt;/P&gt;&lt;P&gt;So I assume that it must be something to do with the code?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any other way to implement both i2c and uart on RTOS?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 20 Jun 2019 09:39:12 GMT</pubDate>
    <dc:creator>songja</dc:creator>
    <dc:date>2019-06-20T09:39:12Z</dc:date>
    <item>
      <title>Using i2c and uart freeRTOS</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Using-i2c-and-uart-freeRTOS/m-p/951788#M54746</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried to include both i2c and UART freeRTOS to send data out thru UART.&lt;/P&gt;&lt;P&gt;But as soon as I include UART freeRTOS, it throws errors as below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Description Resource Path Location Type&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;first defined here heap_1.c /frdmk66f_freertos_i2c/amazon-freertos/FreeRTOS/portable line 71 C/C++ Problem&lt;BR /&gt;first defined here heap_1.c /frdmk66f_freertos_i2c/amazon-freertos/FreeRTOS/portable line 123 C/C++ Problem&lt;BR /&gt;first defined here heap_1.c /frdmk66f_freertos_i2c/amazon-freertos/FreeRTOS/portable line 135 C/C++ Problem&lt;BR /&gt;first defined here heap_1.c /frdmk66f_freertos_i2c/amazon-freertos/FreeRTOS/portable line 142 C/C++ Problem&lt;BR /&gt;first defined here heap_4.c /frdmk66f_freertos_i2c/amazon-freertos/FreeRTOS/portable line 318 C/C++ Problem&lt;BR /&gt;make: *** [frdmk66f_freertos_i2c.axf] Error 1 frdmk66f_freertos_i2c C/C++ Problem&lt;BR /&gt;multiple definition of `pvPortMalloc' heap_2.c /frdmk66f_freertos_i2c/amazon-freertos/FreeRTOS/portable line 119 C/C++ Problem&lt;BR /&gt;multiple definition of `pvPortMalloc' heap_3.c /frdmk66f_freertos_i2c/amazon-freertos/FreeRTOS/portable line 59 C/C++ Problem&lt;BR /&gt;multiple definition of `pvPortMalloc' heap_4.c /frdmk66f_freertos_i2c/amazon-freertos/FreeRTOS/portable line 114 C/C++ Problem&lt;BR /&gt;multiple definition of `pvPortMalloc' heap_5.c /frdmk66f_freertos_i2c/amazon-freertos/FreeRTOS/portable line 133 C/C++ Problem&lt;BR /&gt;multiple definition of `vPortFree' heap_2.c /frdmk66f_freertos_i2c/amazon-freertos/FreeRTOS/portable line 211 C/C++ Problem&lt;BR /&gt;multiple definition of `vPortFree' heap_3.c /frdmk66f_freertos_i2c/amazon-freertos/FreeRTOS/portable line 84 C/C++ Problem&lt;BR /&gt;multiple definition of `vPortFree' heap_4.c /frdmk66f_freertos_i2c/amazon-freertos/FreeRTOS/portable line 264 C/C++ Problem&lt;BR /&gt;multiple definition of `vPortFree' heap_5.c /frdmk66f_freertos_i2c/amazon-freertos/FreeRTOS/portable line 273 C/C++ Problem&lt;BR /&gt;multiple definition of `vPortInitialiseBlocks' heap_2.c /frdmk66f_freertos_i2c/amazon-freertos/FreeRTOS/portable line 244 C/C++ Problem&lt;BR /&gt;multiple definition of `vPortInitialiseBlocks' heap_4.c /frdmk66f_freertos_i2c/amazon-freertos/FreeRTOS/portable line 324 C/C++ Problem&lt;BR /&gt;multiple definition of `xPortGetFreeHeapSize' heap_2.c /frdmk66f_freertos_i2c/amazon-freertos/FreeRTOS/portable line 238 C/C++ Problem&lt;BR /&gt;multiple definition of `xPortGetFreeHeapSize' heap_4.c /frdmk66f_freertos_i2c/amazon-freertos/FreeRTOS/portable line 312 C/C++ Problem&lt;BR /&gt;multiple definition of `xPortGetFreeHeapSize' heap_5.c /frdmk66f_freertos_i2c/amazon-freertos/FreeRTOS/portable line 321 C/C++ Problem&lt;BR /&gt;multiple definition of `xPortGetMinimumEverFreeHeapSize' heap_5.c /frdmk66f_freertos_i2c/amazon-freertos/FreeRTOS/portable line 327 C/C++ Problem&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&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/88443iB30B01F7F9E21DA7/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;I have tried the example code for k66f, "frdmk66f_freertos_i2c". simply by just adding the uart rtos driver and it failed to compile. But when I created a new project then tried the same without any code from the example, it worked.&lt;/P&gt;&lt;P&gt;So I assume that it must be something to do with the code?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any other way to implement both i2c and uart on RTOS?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Jun 2019 09:39:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Using-i2c-and-uart-freeRTOS/m-p/951788#M54746</guid>
      <dc:creator>songja</dc:creator>
      <dc:date>2019-06-20T09:39:12Z</dc:date>
    </item>
    <item>
      <title>Re: Using i2c and uart freeRTOS</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Using-i2c-and-uart-freeRTOS/m-p/951789#M54747</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This looks like a configuration problem - there are a number of heap strategies and you need to define which one you want to use. Presently all are enabled and so the same subroutine is present a number of times so it will fail to link. Check what controls each and disable the ones that you don't want to use.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Complete Kinetis solutions for professional needs, training and support:http://www.utasker.com/kinetis.html&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Including FreeRTOS integration for all Kinetis parts (with free running UART DMA Rx method)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Kinetis K66:&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;- &lt;A href="http://www.utasker.com/kinetis/TWR-K65F180M.html" target="test_blank"&gt;http://www.utasker.com/kinetis/TWR-K65F180M.html&lt;/A&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;- &lt;A href="http://www.utasker.com/kinetis/FRDM-K66F.html" target="test_blank"&gt;http://www.utasker.com/kinetis/FRDM-K66F.html&lt;/A&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;- &lt;A href="http://www.utasker.com/kinetis/TEENSY_3.6.html" target="test_blank"&gt;http://www.utasker.com/kinetis/TEENSY_3.6.html&lt;/A&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;SPAN style="color: #000080;"&gt;&lt;EM&gt;uTasker: supporting &amp;gt;1'000 registered Kinetis users get products faster and cheaper to market&lt;/EM&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;EM&gt;Request Free emergency remote desk-top consulting at &lt;A href="http://www.utasker.com/services.html" target="test_blank"&gt;http://www.utasker.com/services.html&lt;/A&gt;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Jun 2019 12:17:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Using-i2c-and-uart-freeRTOS/m-p/951789#M54747</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2019-06-20T12:17:05Z</dc:date>
    </item>
    <item>
      <title>Re: Using i2c and uart freeRTOS</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Using-i2c-and-uart-freeRTOS/m-p/951790#M54748</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please also refer to below link for the memory management in FreeRTOS&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.freertos.org/a00111.html" title="https://www.freertos.org/a00111.html"&gt;FreeRTOS - Memory management options for the FreeRTOS small footprint, professional grade, real time kernel (scheduler)&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Jun 2019 03:11:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Using-i2c-and-uart-freeRTOS/m-p/951790#M54748</guid>
      <dc:creator>danielchen</dc:creator>
      <dc:date>2019-06-21T03:11:53Z</dc:date>
    </item>
  </channel>
</rss>

