<?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 Yocto Eclipse Setup in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Yocto-Eclipse-Setup/m-p/1403292#M186142</link>
    <description>&lt;P&gt;I need help setting up my eclipse environment to build code against the SDK I created. Here is what I have done.&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Created a Yocto build, placed this image onto a device and ensured it booted&lt;/LI&gt;&lt;LI&gt;Run the bitbake populate_sdk command&lt;/LI&gt;&lt;LI&gt;Copied the SDK.sh file and run it in /opt on my host machine&lt;/LI&gt;&lt;LI&gt;Downloaded Eclipse 2021-12&lt;/LI&gt;&lt;LI&gt;Created a new hello world application using the cross gcc compiler&lt;/LI&gt;&lt;LI&gt;Attached a text file to this case showing the tree output in my opt folder&lt;/LI&gt;&lt;LI&gt;Followed &lt;A href="https://variwiki.com/index.php?title=Yocto_Programming_with_Eclipse_v2&amp;amp;release=RELEASE_SUMO_V1.2_VAR-SOM-MX8M-NANO" target="_self"&gt;this&lt;/A&gt; tutorial to point eclipse to the SDK&amp;nbsp;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Now here is where I have problems.&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I build the program (attached below) I get the error that&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;gnu/stubs-soft.h no such file or directory&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I understand that adding -mfloat-abi=hard is supposed to solve this issue. Placing this after my GCC command in the eclipse compiler settings gives me a new error that my device does not have an FPU. I am then told my build is incomplete.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Other posts said to run the source command on the environment setup file that is included. Running this command followed by echo $CC I see the output.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;arm-poky-linux-gnueabi-gcc -mthumb -mfpu=neon -mfloat-abi=hard -mcpu=cortex-a7 -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/opt/fsl-imx-wayland/5.10-hardknott/sysroots/cortexa7t2hf-neon-poky-linux-gnueabi&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This looks like what I need in eclipse. How can I configure eclipse to properly build my small program?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After running the source environment setup command I can then run&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;$CC test.c &lt;/LI-CODE&gt;&lt;P&gt;This successfully compiles my code. However eclipse can not figure this out.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 21 Jan 2022 18:17:16 GMT</pubDate>
    <dc:creator>MichaelBMiner</dc:creator>
    <dc:date>2022-01-21T18:17:16Z</dc:date>
    <item>
      <title>Yocto Eclipse Setup</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Yocto-Eclipse-Setup/m-p/1403292#M186142</link>
      <description>&lt;P&gt;I need help setting up my eclipse environment to build code against the SDK I created. Here is what I have done.&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Created a Yocto build, placed this image onto a device and ensured it booted&lt;/LI&gt;&lt;LI&gt;Run the bitbake populate_sdk command&lt;/LI&gt;&lt;LI&gt;Copied the SDK.sh file and run it in /opt on my host machine&lt;/LI&gt;&lt;LI&gt;Downloaded Eclipse 2021-12&lt;/LI&gt;&lt;LI&gt;Created a new hello world application using the cross gcc compiler&lt;/LI&gt;&lt;LI&gt;Attached a text file to this case showing the tree output in my opt folder&lt;/LI&gt;&lt;LI&gt;Followed &lt;A href="https://variwiki.com/index.php?title=Yocto_Programming_with_Eclipse_v2&amp;amp;release=RELEASE_SUMO_V1.2_VAR-SOM-MX8M-NANO" target="_self"&gt;this&lt;/A&gt; tutorial to point eclipse to the SDK&amp;nbsp;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Now here is where I have problems.&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I build the program (attached below) I get the error that&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;gnu/stubs-soft.h no such file or directory&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I understand that adding -mfloat-abi=hard is supposed to solve this issue. Placing this after my GCC command in the eclipse compiler settings gives me a new error that my device does not have an FPU. I am then told my build is incomplete.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Other posts said to run the source command on the environment setup file that is included. Running this command followed by echo $CC I see the output.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;arm-poky-linux-gnueabi-gcc -mthumb -mfpu=neon -mfloat-abi=hard -mcpu=cortex-a7 -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/opt/fsl-imx-wayland/5.10-hardknott/sysroots/cortexa7t2hf-neon-poky-linux-gnueabi&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This looks like what I need in eclipse. How can I configure eclipse to properly build my small program?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After running the source environment setup command I can then run&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;$CC test.c &lt;/LI-CODE&gt;&lt;P&gt;This successfully compiles my code. However eclipse can not figure this out.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jan 2022 18:17:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Yocto-Eclipse-Setup/m-p/1403292#M186142</guid>
      <dc:creator>MichaelBMiner</dc:creator>
      <dc:date>2022-01-21T18:17:16Z</dc:date>
    </item>
    <item>
      <title>Re: Yocto Eclipse Setup</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Yocto-Eclipse-Setup/m-p/1403734#M186177</link>
      <description>&lt;P&gt;hi i saw yours steps 1-4 quick ok, but once u bitbake yours own toolchains u no need go the way u mentioned in the points 7 lah&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;try just installed yocto plug-in&amp;nbsp; into Eclipse IDe then shld be ok , felowed this&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.yoctoproject.org/docs/2.5.2/mega-manual/mega-manual.html#sdk-eclipse-project" target="_blank"&gt;https://www.yoctoproject.org/docs/2.5.2/mega-manual/mega-manual.html#sdk-eclipse-project&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;if then you can&amp;nbsp;&lt;SPAN&gt;Create&amp;nbsp; a Yocto ProjectSDK autotools project / Hello World ANSI C autotools&amp;nbsp; Project&amp;nbsp; then shld be ok&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;thanks&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jan 2022 06:18:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Yocto-Eclipse-Setup/m-p/1403734#M186177</guid>
      <dc:creator>josephzhou1</dc:creator>
      <dc:date>2022-01-24T06:18:49Z</dc:date>
    </item>
    <item>
      <title>Re: Yocto Eclipse Setup</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Yocto-Eclipse-Setup/m-p/1404740#M186280</link>
      <description>&lt;P&gt;yocto stopped supporting eclipse plugin in 2.7&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jan 2022 19:20:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Yocto-Eclipse-Setup/m-p/1404740#M186280</guid>
      <dc:creator>stevenmichel</dc:creator>
      <dc:date>2022-01-25T19:20:26Z</dc:date>
    </item>
    <item>
      <title>Re: Yocto Eclipse Setup</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Yocto-Eclipse-Setup/m-p/1404893#M186304</link>
      <description>&lt;P&gt;thank you for your reply.&lt;/P&gt;&lt;P&gt;but i understand that from Release 2.7(warrior),&amp;nbsp;&lt;SPAN&gt;Support for the Eclipse IDE has been removed. Support continues for those releases prior to 2.7 that did include support. The 2.7 release does not include the Eclipse Yocto plugin.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;and also no support =/= no functional , i just use this plug-in into my latest YP3.3&amp;nbsp; imx BSP L5.10.35 still working very well.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks all&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jan 2022 03:07:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Yocto-Eclipse-Setup/m-p/1404893#M186304</guid>
      <dc:creator>josephzhou1</dc:creator>
      <dc:date>2022-01-26T03:07:01Z</dc:date>
    </item>
  </channel>
</rss>

