<?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: Threadx porting guide for LPC546xx controllers through MCUXpresso IDE in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/Threadx-porting-guide-for-LPC546xx-controllers-through/m-p/1456970#M48741</link>
    <description>&lt;P&gt;Hi Pablo,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any update on the query?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Prasanna&lt;/P&gt;</description>
    <pubDate>Thu, 12 May 2022 05:36:19 GMT</pubDate>
    <dc:creator>prasannanaik</dc:creator>
    <dc:date>2022-05-12T05:36:19Z</dc:date>
    <item>
      <title>Threadx porting guide for LPC546xx controllers through MCUXpresso IDE</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Threadx-porting-guide-for-LPC546xx-controllers-through/m-p/1440181#M48423</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am using LPC546xx and MCUXpresso IDE v11.5.&lt;/P&gt;&lt;P&gt;I want to port threadx on this platform.&lt;/P&gt;&lt;P&gt;Is there any guide for this or reference code?&lt;/P&gt;&lt;P&gt;Thanks and best regards,&lt;/P&gt;&lt;P&gt;Prasanna&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Apr 2022 04:09:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Threadx-porting-guide-for-LPC546xx-controllers-through/m-p/1440181#M48423</guid>
      <dc:creator>prasannanaik</dc:creator>
      <dc:date>2022-04-07T04:09:07Z</dc:date>
    </item>
    <item>
      <title>Re: Threadx porting guide for LPC546xx controllers through MCUXpresso IDE</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Threadx-porting-guide-for-LPC546xx-controllers-through/m-p/1445233#M48499</link>
      <description>&lt;P&gt;&amp;nbsp;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/96470"&gt;@prasannanaik&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please accept my apologies for the delay, we are overloaded on the requests these days. I really appreciate your patience.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regarding your question, we are still checking the information that you are requesting.&amp;nbsp;&lt;SPAN&gt;Please let me know if you have any other questions. I will answer you as soon as possible with the proper information.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thank you so much again.&lt;BR /&gt;Best Regards.&lt;BR /&gt;Pablo Avalos.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Apr 2022 18:50:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Threadx-porting-guide-for-LPC546xx-controllers-through/m-p/1445233#M48499</guid>
      <dc:creator>PabloAvalos</dc:creator>
      <dc:date>2022-04-18T18:50:35Z</dc:date>
    </item>
    <item>
      <title>Re: Threadx porting guide for LPC546xx controllers through MCUXpresso IDE</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Threadx-porting-guide-for-LPC546xx-controllers-through/m-p/1446628#M48518</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/96470"&gt;@prasannanaik&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you so much again for your patience.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;After double-checking with my teammates, our suggestion for a&amp;nbsp;porting guide, you can refer to LPC55s69 SDK 2.11.1. It provides good example for porting to LPC546xx.&lt;/P&gt;
&lt;P&gt;Also, you can refer to ThreadX doc :&lt;/P&gt;
&lt;P&gt;&lt;A href="https://docs.microsoft.com/en-us/azure/rtos/threadx/overview-threadx" target="_blank" rel="nofollow noopener noreferrer"&gt;https://docs.microsoft.com/en-us/azure/rtos/threadx/overview-threadx&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Especially for ARM v8 part:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://docs.microsoft.com/en-us/azure/rtos/threadx/user-guide-armv8m/chapter1" target="_blank" rel="nofollow noopener noreferrer"&gt;https://docs.microsoft.com/en-us/azure/rtos/threadx/user-guide-armv8m/chapter1&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this information might be helpful, please let me know if you have more questions, otherwise, please mark this answer as an accepted solution.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you.&lt;BR /&gt;Sincerely,&lt;BR /&gt;Pablo Avalos.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Apr 2022 19:25:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Threadx-porting-guide-for-LPC546xx-controllers-through/m-p/1446628#M48518</guid>
      <dc:creator>PabloAvalos</dc:creator>
      <dc:date>2022-04-20T19:25:27Z</dc:date>
    </item>
    <item>
      <title>Re: Threadx porting guide for LPC546xx controllers through MCUXpresso IDE</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Threadx-porting-guide-for-LPC546xx-controllers-through/m-p/1447087#M48527</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/192990"&gt;@PabloAvalos&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;I have used LPC55s69 SDK as reference but its architecture is different than LPC546.&lt;/P&gt;&lt;P&gt;I have followed the process shared at "&lt;A href="https://github.com/azure-rtos/threadx/blob/master/ports/cortex_m4/gnu/readme_threadx.txt&amp;quot;" target="_blank" rel="noopener"&gt;https://github.com/azure-rtos/threadx/blob/master/ports/cortex_m4/gnu/readme_threadx.txt"&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The first step in the guide is to build the threadx library using the batch file given in example folder: "&lt;A href="https://github.com/azure-rtos/threadx/tree/master/ports/cortex_m4/gnu/example_build&amp;quot;" target="_blank" rel="noopener"&gt;https://github.com/azure-rtos/threadx/tree/master/ports/cortex_m4/gnu/example_build"&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I have used process and commands mentioned in the following link to build:&lt;/P&gt;&lt;P&gt;"&lt;A href="https://mcuoneclipse.com/2017/08/03/building-eclipse-and-mcuxpresso-ide-projects-from-the-command-line/&amp;quot;" target="_blank" rel="noopener"&gt;https://mcuoneclipse.com/2017/08/03/building-eclipse-and-mcuxpresso-ide-projects-from-the-command-line/"&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After building the batch file, I got a library file tx.a of Threadx.&lt;/P&gt;&lt;P&gt;I have renamed this file as threadx_sp.a&lt;/P&gt;&lt;P&gt;On linking this threadx_sp.a library file, I get the following error:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;lpcxpresso54608_gpio_led_output2.axf uses VFP register arguments, C:\Users\20071270\Desktop\Threadx RTOS Workspace\LPC546 Workspace\lpcxpresso54608_gpio_led_output2\azure-rtos\binary\threadx\cortex_m4\mcux\libthreadx_sp.a(tx_block_allocate.o) does not&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In Threadx forum, they have mentioned to enable VFP in the compiler and assembler to avoid this problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How do i enable VFP in the compiler and assembler during command line build?&lt;/P&gt;&lt;P&gt;Thanks and best regards,&lt;/P&gt;&lt;P&gt;Prasanna&lt;/P&gt;</description>
      <pubDate>Fri, 22 Apr 2022 03:50:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Threadx-porting-guide-for-LPC546xx-controllers-through/m-p/1447087#M48527</guid>
      <dc:creator>prasannanaik</dc:creator>
      <dc:date>2022-04-22T03:50:55Z</dc:date>
    </item>
    <item>
      <title>Re: Threadx porting guide for LPC546xx controllers through MCUXpresso IDE</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Threadx-porting-guide-for-LPC546xx-controllers-through/m-p/1448733#M48562</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/96470"&gt;@prasannanaik&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope you find well, thank you so much for your reply and your patience.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regarding your question, I found a thread that might be helpful to solve your issue with the VFP. You should check it:&amp;nbsp;&lt;A href="https://community.nxp.com/t5/Kinetis-Design-Studio/Error-VFP-register/m-p/426794" target="_blank" rel="noopener"&gt;https://community.nxp.com/t5/Kinetis-Design-Studio/Error-VFP-register/m-p/426794&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In addition, you can try going directly to MCUXpresso and change some settings on there, like this one:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PabloAvalos_0-1650918698666.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/177919i3E76DE851B812684/image-size/medium?v=v2&amp;amp;px=400" role="button" title="PabloAvalos_0-1650918698666.png" alt="PabloAvalos_0-1650918698666.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Or trying to follow the suggestions on this thread from our community, too:&amp;nbsp;&lt;A href="https://community.nxp.com/t5/MCUXpresso-IDE/Unable-to-get-printf-to-print-floating-point/m-p/721059" target="_blank"&gt;https://community.nxp.com/t5/MCUXpresso-IDE/Unable-to-get-printf-to-print-floating-point/m-p/721059&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please let me know if the information was helpful, or if you still need help too. I will stay tuned to your answer.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you so much.&lt;BR /&gt;Sincerely,&lt;BR /&gt;Pablo Avalos.&lt;/P&gt;</description>
      <pubDate>Mon, 25 Apr 2022 20:37:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Threadx-porting-guide-for-LPC546xx-controllers-through/m-p/1448733#M48562</guid>
      <dc:creator>PabloAvalos</dc:creator>
      <dc:date>2022-04-25T20:37:44Z</dc:date>
    </item>
    <item>
      <title>Re: Threadx porting guide for LPC546xx controllers through MCUXpresso IDE</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Threadx-porting-guide-for-LPC546xx-controllers-through/m-p/1448938#M48563</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/192990"&gt;@PabloAvalos&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;I have tried methods shared in both the links but none is useful.&amp;nbsp;&lt;/P&gt;&lt;P&gt;My problem is that I am trying to build threadx library using command line feature of MCUXpresso.&lt;/P&gt;&lt;P&gt;When I use the built library in my project it results in the VFP register error as mentioned earlier.&lt;/P&gt;&lt;P&gt;As per threadx forum, there should be some way of enabling floating point access during compilation through command line.&lt;/P&gt;&lt;P&gt;I couldn't find the commands in the user manual.&lt;/P&gt;&lt;P&gt;Can you please go through the communication from threadx team below to understand the problem clearly:&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/azure-rtos/threadx/issues/184" target="_blank"&gt;https://github.com/azure-rtos/threadx/issues/184&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Thanks and best regards,&lt;/P&gt;&lt;P&gt;Prasanna&lt;/P&gt;</description>
      <pubDate>Tue, 26 Apr 2022 05:45:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Threadx-porting-guide-for-LPC546xx-controllers-through/m-p/1448938#M48563</guid>
      <dc:creator>prasannanaik</dc:creator>
      <dc:date>2022-04-26T05:45:23Z</dc:date>
    </item>
    <item>
      <title>Re: Threadx porting guide for LPC546xx controllers through MCUXpresso IDE</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Threadx-porting-guide-for-LPC546xx-controllers-through/m-p/1456970#M48741</link>
      <description>&lt;P&gt;Hi Pablo,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any update on the query?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Prasanna&lt;/P&gt;</description>
      <pubDate>Thu, 12 May 2022 05:36:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Threadx-porting-guide-for-LPC546xx-controllers-through/m-p/1456970#M48741</guid>
      <dc:creator>prasannanaik</dc:creator>
      <dc:date>2022-05-12T05:36:19Z</dc:date>
    </item>
  </channel>
</rss>

