<?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>Embedded Software and Tools Clinic中的主题 IMX7 - ARM cortex M4 development IDE for Linux</title>
    <link>https://community.nxp.com/t5/Embedded-Software-and-Tools/IMX7-ARM-cortex-M4-development-IDE-for-Linux/m-p/1460988#M263</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am trying to setup a development IDE for Linux to develop application for the&amp;nbsp;IMX7 - ARM cortex M4.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The instructions in '&lt;EM&gt;NXP's&amp;nbsp;Getting_Started_with_FreeRTOS_BSP_for_i.MX_7Dual.pdf&lt;/EM&gt;' are old and there isn't much for Linux.&lt;/P&gt;&lt;P&gt;Using Ubuntu 22.04LTS&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;I downloaded the compiler from&amp;nbsp;&lt;A href="https://developer.arm.com/downloads/-/arm-gnu-toolchain-downloads" target="_blank"&gt;https://developer.arm.com/downloads/-/arm-gnu-toolchain-downloads&lt;/A&gt;&amp;nbsp;: x86_64 Linux hosted cross toolchains,&amp;nbsp;AArch32 bare-metal target (arm-none-eabi):&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;&amp;nbsp;gcc-arm-11.2-2022.02-x86_64-arm-none-eabi.tar.xz&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;I downloaded and installed Eclipse:&amp;nbsp;eclipse-cpp-2022-03-R-linux-gtk-x86_64.tar.gz&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;When I compile a simple hello world program, I get the following error messages:&lt;/P&gt;&lt;TABLE width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="100%"&gt;&lt;P&gt;/home/simon/gcc-arm-11.2-2022.02-x86_64-arm-none-eabi/bin/../lib/gcc/arm-none-eabi/11.2.1/../../../../arm-none-eabi/lib/libc.a(lib_a-closer.o): in function `_close_r': Try2 C/C++ Problem&lt;BR /&gt;/home/simon/gcc-arm-11.2-2022.02-x86_64-arm-none-eabi/bin/../lib/gcc/arm-none-eabi/11.2.1/../../../../arm-none-eabi/lib/libc.a(lib_a-exit.o): in function `exit': Try2 C/C++ Problem&lt;BR /&gt;/home/simon/gcc-arm-11.2-2022.02-x86_64-arm-none-eabi/bin/../lib/gcc/arm-none-eabi/11.2.1/../../../../arm-none-eabi/lib/libc.a(lib_a-fstatr.o): in function `_fstat_r': Try2 C/C++ Problem&lt;BR /&gt;/home/simon/gcc-arm-11.2-2022.02-x86_64-arm-none-eabi/bin/../lib/gcc/arm-none-eabi/11.2.1/../../../../arm-none-eabi/lib/libc.a(lib_a-isattyr.o): in function `_isatty_r': Try2 C/C++ Problem&lt;BR /&gt;/home/simon/gcc-arm-11.2-2022.02-x86_64-arm-none-eabi/bin/../lib/gcc/arm-none-eabi/11.2.1/../../../../arm-none-eabi/lib/libc.a(lib_a-lseekr.o): in function `_lseek_r': Try2 C/C++ Problem&lt;BR /&gt;/home/simon/gcc-arm-11.2-2022.02-x86_64-arm-none-eabi/bin/../lib/gcc/arm-none-eabi/11.2.1/../../../../arm-none-eabi/lib/libc.a(lib_a-readr.o): in function `_read_r': Try2 C/C++ Problem&lt;BR /&gt;/home/simon/gcc-arm-11.2-2022.02-x86_64-arm-none-eabi/bin/../lib/gcc/arm-none-eabi/11.2.1/../../../../arm-none-eabi/lib/libc.a(lib_a-sbrkr.o): in function `_sbrk_r': Try2 C/C++ Problem&lt;BR /&gt;/home/simon/gcc-arm-11.2-2022.02-x86_64-arm-none-eabi/bin/../lib/gcc/arm-none-eabi/11.2.1/../../../../arm-none-eabi/lib/libc.a(lib_a-writer.o): in function `_write_r': Try2 C/C++ Problem&lt;BR /&gt;make: *** [makefile:45: Try2] Error 1 Try2 C/C++ Problem&lt;BR /&gt;undefined reference to `_close' Try2 line 47, external location: /data/jenkins/workspace/GNU-toolchain/arm-11/src/newlib-cygwin/newlib/libc/reent/closer.c C/C++ Problem&lt;BR /&gt;undefined reference to `_exit' Try2 line 64, external location: /data/jenkins/workspace/GNU-toolchain/arm-11/src/newlib-cygwin/newlib/libc/stdlib/exit.c C/C++ Problem&lt;BR /&gt;undefined reference to `_fstat' Try2 line 55, external location: /data/jenkins/workspace/GNU-toolchain/arm-11/src/newlib-cygwin/newlib/libc/reent/fstatr.c C/C++ Problem&lt;BR /&gt;undefined reference to `_isatty' Try2 line 52, external location: /data/jenkins/workspace/GNU-toolchain/arm-11/src/newlib-cygwin/newlib/libc/reent/isattyr.c C/C++ Problem&lt;BR /&gt;undefined reference to `_lseek' Try2 line 49, external location: /data/jenkins/workspace/GNU-toolchain/arm-11/src/newlib-cygwin/newlib/libc/reent/lseekr.c C/C++ Problem&lt;BR /&gt;undefined reference to `_read' Try2 line 49, external location: /data/jenkins/workspace/GNU-toolchain/arm-11/src/&lt;STRONG&gt;newlib-cygwin&lt;/STRONG&gt;/newlib/libc/reent/readr.c C/C++ Problem&lt;BR /&gt;undefined reference to `_sbrk' Try2 line 51, external location: /data/jenkins/workspace/GNU-toolchain/arm-11/src/newlib-cygwin/newlib/libc/reent/sbrkr.c C/C++ Problem&lt;BR /&gt;undefined reference to `_write' Try2 line 49, external location: /data/jenkins/workspace/GNU-toolchain/arm-11/src/newlib-cygwin/newlib/libc/reent/writer.c C/C++ Problem&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Do I have the right compiler? Seems like this compiler uses&amp;nbsp;cygwin which is meant for windows.&lt;/LI&gt;&lt;LI&gt;Are there any instructions on how to setup the IDE under Linux?&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Any pointers will be appreciated&lt;/P&gt;&lt;P&gt;Simon&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 19 May 2022 14:41:32 GMT</pubDate>
    <dc:creator>SVC2</dc:creator>
    <dc:date>2022-05-19T14:41:32Z</dc:date>
    <item>
      <title>IMX7 - ARM cortex M4 development IDE for Linux</title>
      <link>https://community.nxp.com/t5/Embedded-Software-and-Tools/IMX7-ARM-cortex-M4-development-IDE-for-Linux/m-p/1460988#M263</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am trying to setup a development IDE for Linux to develop application for the&amp;nbsp;IMX7 - ARM cortex M4.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The instructions in '&lt;EM&gt;NXP's&amp;nbsp;Getting_Started_with_FreeRTOS_BSP_for_i.MX_7Dual.pdf&lt;/EM&gt;' are old and there isn't much for Linux.&lt;/P&gt;&lt;P&gt;Using Ubuntu 22.04LTS&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;I downloaded the compiler from&amp;nbsp;&lt;A href="https://developer.arm.com/downloads/-/arm-gnu-toolchain-downloads" target="_blank"&gt;https://developer.arm.com/downloads/-/arm-gnu-toolchain-downloads&lt;/A&gt;&amp;nbsp;: x86_64 Linux hosted cross toolchains,&amp;nbsp;AArch32 bare-metal target (arm-none-eabi):&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;&amp;nbsp;gcc-arm-11.2-2022.02-x86_64-arm-none-eabi.tar.xz&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;I downloaded and installed Eclipse:&amp;nbsp;eclipse-cpp-2022-03-R-linux-gtk-x86_64.tar.gz&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;When I compile a simple hello world program, I get the following error messages:&lt;/P&gt;&lt;TABLE width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="100%"&gt;&lt;P&gt;/home/simon/gcc-arm-11.2-2022.02-x86_64-arm-none-eabi/bin/../lib/gcc/arm-none-eabi/11.2.1/../../../../arm-none-eabi/lib/libc.a(lib_a-closer.o): in function `_close_r': Try2 C/C++ Problem&lt;BR /&gt;/home/simon/gcc-arm-11.2-2022.02-x86_64-arm-none-eabi/bin/../lib/gcc/arm-none-eabi/11.2.1/../../../../arm-none-eabi/lib/libc.a(lib_a-exit.o): in function `exit': Try2 C/C++ Problem&lt;BR /&gt;/home/simon/gcc-arm-11.2-2022.02-x86_64-arm-none-eabi/bin/../lib/gcc/arm-none-eabi/11.2.1/../../../../arm-none-eabi/lib/libc.a(lib_a-fstatr.o): in function `_fstat_r': Try2 C/C++ Problem&lt;BR /&gt;/home/simon/gcc-arm-11.2-2022.02-x86_64-arm-none-eabi/bin/../lib/gcc/arm-none-eabi/11.2.1/../../../../arm-none-eabi/lib/libc.a(lib_a-isattyr.o): in function `_isatty_r': Try2 C/C++ Problem&lt;BR /&gt;/home/simon/gcc-arm-11.2-2022.02-x86_64-arm-none-eabi/bin/../lib/gcc/arm-none-eabi/11.2.1/../../../../arm-none-eabi/lib/libc.a(lib_a-lseekr.o): in function `_lseek_r': Try2 C/C++ Problem&lt;BR /&gt;/home/simon/gcc-arm-11.2-2022.02-x86_64-arm-none-eabi/bin/../lib/gcc/arm-none-eabi/11.2.1/../../../../arm-none-eabi/lib/libc.a(lib_a-readr.o): in function `_read_r': Try2 C/C++ Problem&lt;BR /&gt;/home/simon/gcc-arm-11.2-2022.02-x86_64-arm-none-eabi/bin/../lib/gcc/arm-none-eabi/11.2.1/../../../../arm-none-eabi/lib/libc.a(lib_a-sbrkr.o): in function `_sbrk_r': Try2 C/C++ Problem&lt;BR /&gt;/home/simon/gcc-arm-11.2-2022.02-x86_64-arm-none-eabi/bin/../lib/gcc/arm-none-eabi/11.2.1/../../../../arm-none-eabi/lib/libc.a(lib_a-writer.o): in function `_write_r': Try2 C/C++ Problem&lt;BR /&gt;make: *** [makefile:45: Try2] Error 1 Try2 C/C++ Problem&lt;BR /&gt;undefined reference to `_close' Try2 line 47, external location: /data/jenkins/workspace/GNU-toolchain/arm-11/src/newlib-cygwin/newlib/libc/reent/closer.c C/C++ Problem&lt;BR /&gt;undefined reference to `_exit' Try2 line 64, external location: /data/jenkins/workspace/GNU-toolchain/arm-11/src/newlib-cygwin/newlib/libc/stdlib/exit.c C/C++ Problem&lt;BR /&gt;undefined reference to `_fstat' Try2 line 55, external location: /data/jenkins/workspace/GNU-toolchain/arm-11/src/newlib-cygwin/newlib/libc/reent/fstatr.c C/C++ Problem&lt;BR /&gt;undefined reference to `_isatty' Try2 line 52, external location: /data/jenkins/workspace/GNU-toolchain/arm-11/src/newlib-cygwin/newlib/libc/reent/isattyr.c C/C++ Problem&lt;BR /&gt;undefined reference to `_lseek' Try2 line 49, external location: /data/jenkins/workspace/GNU-toolchain/arm-11/src/newlib-cygwin/newlib/libc/reent/lseekr.c C/C++ Problem&lt;BR /&gt;undefined reference to `_read' Try2 line 49, external location: /data/jenkins/workspace/GNU-toolchain/arm-11/src/&lt;STRONG&gt;newlib-cygwin&lt;/STRONG&gt;/newlib/libc/reent/readr.c C/C++ Problem&lt;BR /&gt;undefined reference to `_sbrk' Try2 line 51, external location: /data/jenkins/workspace/GNU-toolchain/arm-11/src/newlib-cygwin/newlib/libc/reent/sbrkr.c C/C++ Problem&lt;BR /&gt;undefined reference to `_write' Try2 line 49, external location: /data/jenkins/workspace/GNU-toolchain/arm-11/src/newlib-cygwin/newlib/libc/reent/writer.c C/C++ Problem&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Do I have the right compiler? Seems like this compiler uses&amp;nbsp;cygwin which is meant for windows.&lt;/LI&gt;&lt;LI&gt;Are there any instructions on how to setup the IDE under Linux?&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Any pointers will be appreciated&lt;/P&gt;&lt;P&gt;Simon&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 19 May 2022 14:41:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Embedded-Software-and-Tools/IMX7-ARM-cortex-M4-development-IDE-for-Linux/m-p/1460988#M263</guid>
      <dc:creator>SVC2</dc:creator>
      <dc:date>2022-05-19T14:41:32Z</dc:date>
    </item>
  </channel>
</rss>

