<?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 IAR issue when compiling MCUXpresso SDK example in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/IAR-issue-when-compiling-MCUXpresso-SDK-example/m-p/897029#M135487</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am using&amp;nbsp;IAR tools to compile&amp;nbsp;MCUXpresso SDK example.&lt;/P&gt;&lt;P&gt;The sdk version is&amp;nbsp;SDK_2.5.0_EVK-MIMX8MM, the board is imx8mm evk, the IAR version is&amp;nbsp;IAR Embedded Workbench for ARM version 8.30.2, the yocto version is&amp;nbsp;2.5 (Sumo).&lt;/P&gt;&lt;P&gt;After I import&amp;nbsp;hello_world demo example to my IAR project, I click the button make to compile.&lt;/P&gt;&lt;P&gt;But there are some compilation error as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Building configuration: hello_world - debug &lt;BR /&gt;Updating build tree... &lt;BR /&gt;startup_MIMX8MM6_cm4.s &lt;BR /&gt;Error[438]: This instruction is not available in the selected cpu/core C:\nxp\devices\MIMX8MM6\iar\startup_MIMX8MM6_cm4.s 212 &lt;BR /&gt;Error[446]: The selected cpu/core does not support this status register C:\nxp\devices\MIMX8MM6\iar\startup_MIMX8MM6_cm4.s 217 &lt;BR /&gt;Error[438]: This instruction is not available in the selected cpu/core C:\nxp\devices\MIMX8MM6\iar\startup_MIMX8MM6_cm4.s 219 &lt;BR /&gt;Error[438]: This instruction is not available in the selected cpu/core C:\nxp\devices\MIMX8MM6\iar\startup_MIMX8MM6_cm4.s 220 &lt;BR /&gt;Error while running Assembler &lt;BR /&gt;clock_config.c &lt;BR /&gt;Fatal Error[Pe035]: #error directive: "Unknown target." C:\nxp\CMSIS\Include\cmsis_iccarm.h 94 &lt;BR /&gt;Error while running C/C++ Compiler &lt;BR /&gt;board.c &lt;BR /&gt;Fatal Error[Pe035]: #error directive: "Unknown target." C:\nxp\CMSIS\Include\cmsis_iccarm.h 94 &lt;BR /&gt;Error while running C/C++ Compiler &lt;BR /&gt;fsl_assert.c &lt;BR /&gt;Fatal Error[Pe035]: #error directive: "Unknown target." C:\nxp\CMSIS\Include\cmsis_iccarm.h 94 &lt;BR /&gt;Error while running C/C++ Compiler &lt;BR /&gt;fsl_clock.c &lt;BR /&gt;Fatal Error[Pe035]: #error directive: "Unknown target." C:\nxp\CMSIS\Include\cmsis_iccarm.h 94 &lt;BR /&gt;Error while running C/C++ Compiler &lt;BR /&gt;fsl_debug_console.c &lt;BR /&gt;Fatal Error[Pe035]: #error directive: "Unknown target." C:\nxp\CMSIS\Include\cmsis_iccarm.h 94 &lt;BR /&gt;Error while running C/C++ Compiler &lt;BR /&gt;fsl_common.c &lt;BR /&gt;Fatal Error[Pe035]: #error directive: "Unknown target." C:\nxp\CMSIS\Include\cmsis_iccarm.h 94 &lt;BR /&gt;Error while running C/C++ Compiler &lt;BR /&gt;fsl_str.c &lt;BR /&gt;Fatal Error[Pe035]: #error directive: "Unknown target." C:\nxp\CMSIS\Include\cmsis_iccarm.h 94 &lt;BR /&gt;Error while running C/C++ Compiler &lt;BR /&gt;fsl_rdc.c &lt;BR /&gt;Fatal Error[Pe035]: #error directive: "Unknown target." C:\nxp\CMSIS\Include\cmsis_iccarm.h 94 &lt;BR /&gt;Error while running C/C++ Compiler &lt;BR /&gt;generic_list.c &lt;BR /&gt;Fatal Error[Pe035]: #error directive: "Unknown target." C:\nxp\CMSIS\Include\cmsis_iccarm.h 94 &lt;BR /&gt;Error while running C/C++ Compiler &lt;BR /&gt;fsl_uart.c &lt;BR /&gt;Fatal Error[Pe035]: #error directive: "Unknown target." C:\nxp\CMSIS\Include\cmsis_iccarm.h 94 &lt;BR /&gt;Error while running C/C++ Compiler &lt;BR /&gt;hello_world.c &lt;BR /&gt;Fatal Error[Pe035]: #error directive: "Unknown target." C:\nxp\CMSIS\Include\cmsis_iccarm.h 94 &lt;BR /&gt;Error while running C/C++ Compiler &lt;BR /&gt;iuart_adapter.c &lt;BR /&gt;Fatal Error[Pe035]: #error directive: "Unknown target." C:\nxp\CMSIS\Include\cmsis_iccarm.h 94 &lt;BR /&gt;Error while running C/C++ Compiler &lt;BR /&gt;pin_mux.c &lt;BR /&gt;Fatal Error[Pe035]: #error directive: "Unknown target." C:\nxp\CMSIS\Include\cmsis_iccarm.h 94 &lt;BR /&gt;Error while running C/C++ Compiler &lt;BR /&gt;serial_manager.c &lt;BR /&gt;Fatal Error[Pe035]: #error directive: "Unknown target." C:\nxp\CMSIS\Include\cmsis_iccarm.h 94 &lt;BR /&gt;Error while running C/C++ Compiler &lt;BR /&gt;serial_port_uart.c &lt;BR /&gt;Fatal Error[Pe035]: #error directive: "Unknown target." C:\nxp\CMSIS\Include\cmsis_iccarm.h 94 &lt;BR /&gt;Error while running C/C++ Compiler &lt;BR /&gt;system_MIMX8MM6_cm4.c &lt;BR /&gt;Fatal Error[Pe035]: #error directive: "Unknown target." C:\nxp\CMSIS\Include\cmsis_iccarm.h 94 &lt;BR /&gt;Error while running C/C++ Compiler &lt;BR /&gt; &lt;BR /&gt;Total number of errors: 20 &lt;BR /&gt;Total number of warnings: 0 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you help me to fix these compilation issues?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 May 2019 10:38:18 GMT</pubDate>
    <dc:creator>wangliu</dc:creator>
    <dc:date>2019-05-16T10:38:18Z</dc:date>
    <item>
      <title>IAR issue when compiling MCUXpresso SDK example</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IAR-issue-when-compiling-MCUXpresso-SDK-example/m-p/897029#M135487</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am using&amp;nbsp;IAR tools to compile&amp;nbsp;MCUXpresso SDK example.&lt;/P&gt;&lt;P&gt;The sdk version is&amp;nbsp;SDK_2.5.0_EVK-MIMX8MM, the board is imx8mm evk, the IAR version is&amp;nbsp;IAR Embedded Workbench for ARM version 8.30.2, the yocto version is&amp;nbsp;2.5 (Sumo).&lt;/P&gt;&lt;P&gt;After I import&amp;nbsp;hello_world demo example to my IAR project, I click the button make to compile.&lt;/P&gt;&lt;P&gt;But there are some compilation error as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Building configuration: hello_world - debug &lt;BR /&gt;Updating build tree... &lt;BR /&gt;startup_MIMX8MM6_cm4.s &lt;BR /&gt;Error[438]: This instruction is not available in the selected cpu/core C:\nxp\devices\MIMX8MM6\iar\startup_MIMX8MM6_cm4.s 212 &lt;BR /&gt;Error[446]: The selected cpu/core does not support this status register C:\nxp\devices\MIMX8MM6\iar\startup_MIMX8MM6_cm4.s 217 &lt;BR /&gt;Error[438]: This instruction is not available in the selected cpu/core C:\nxp\devices\MIMX8MM6\iar\startup_MIMX8MM6_cm4.s 219 &lt;BR /&gt;Error[438]: This instruction is not available in the selected cpu/core C:\nxp\devices\MIMX8MM6\iar\startup_MIMX8MM6_cm4.s 220 &lt;BR /&gt;Error while running Assembler &lt;BR /&gt;clock_config.c &lt;BR /&gt;Fatal Error[Pe035]: #error directive: "Unknown target." C:\nxp\CMSIS\Include\cmsis_iccarm.h 94 &lt;BR /&gt;Error while running C/C++ Compiler &lt;BR /&gt;board.c &lt;BR /&gt;Fatal Error[Pe035]: #error directive: "Unknown target." C:\nxp\CMSIS\Include\cmsis_iccarm.h 94 &lt;BR /&gt;Error while running C/C++ Compiler &lt;BR /&gt;fsl_assert.c &lt;BR /&gt;Fatal Error[Pe035]: #error directive: "Unknown target." C:\nxp\CMSIS\Include\cmsis_iccarm.h 94 &lt;BR /&gt;Error while running C/C++ Compiler &lt;BR /&gt;fsl_clock.c &lt;BR /&gt;Fatal Error[Pe035]: #error directive: "Unknown target." C:\nxp\CMSIS\Include\cmsis_iccarm.h 94 &lt;BR /&gt;Error while running C/C++ Compiler &lt;BR /&gt;fsl_debug_console.c &lt;BR /&gt;Fatal Error[Pe035]: #error directive: "Unknown target." C:\nxp\CMSIS\Include\cmsis_iccarm.h 94 &lt;BR /&gt;Error while running C/C++ Compiler &lt;BR /&gt;fsl_common.c &lt;BR /&gt;Fatal Error[Pe035]: #error directive: "Unknown target." C:\nxp\CMSIS\Include\cmsis_iccarm.h 94 &lt;BR /&gt;Error while running C/C++ Compiler &lt;BR /&gt;fsl_str.c &lt;BR /&gt;Fatal Error[Pe035]: #error directive: "Unknown target." C:\nxp\CMSIS\Include\cmsis_iccarm.h 94 &lt;BR /&gt;Error while running C/C++ Compiler &lt;BR /&gt;fsl_rdc.c &lt;BR /&gt;Fatal Error[Pe035]: #error directive: "Unknown target." C:\nxp\CMSIS\Include\cmsis_iccarm.h 94 &lt;BR /&gt;Error while running C/C++ Compiler &lt;BR /&gt;generic_list.c &lt;BR /&gt;Fatal Error[Pe035]: #error directive: "Unknown target." C:\nxp\CMSIS\Include\cmsis_iccarm.h 94 &lt;BR /&gt;Error while running C/C++ Compiler &lt;BR /&gt;fsl_uart.c &lt;BR /&gt;Fatal Error[Pe035]: #error directive: "Unknown target." C:\nxp\CMSIS\Include\cmsis_iccarm.h 94 &lt;BR /&gt;Error while running C/C++ Compiler &lt;BR /&gt;hello_world.c &lt;BR /&gt;Fatal Error[Pe035]: #error directive: "Unknown target." C:\nxp\CMSIS\Include\cmsis_iccarm.h 94 &lt;BR /&gt;Error while running C/C++ Compiler &lt;BR /&gt;iuart_adapter.c &lt;BR /&gt;Fatal Error[Pe035]: #error directive: "Unknown target." C:\nxp\CMSIS\Include\cmsis_iccarm.h 94 &lt;BR /&gt;Error while running C/C++ Compiler &lt;BR /&gt;pin_mux.c &lt;BR /&gt;Fatal Error[Pe035]: #error directive: "Unknown target." C:\nxp\CMSIS\Include\cmsis_iccarm.h 94 &lt;BR /&gt;Error while running C/C++ Compiler &lt;BR /&gt;serial_manager.c &lt;BR /&gt;Fatal Error[Pe035]: #error directive: "Unknown target." C:\nxp\CMSIS\Include\cmsis_iccarm.h 94 &lt;BR /&gt;Error while running C/C++ Compiler &lt;BR /&gt;serial_port_uart.c &lt;BR /&gt;Fatal Error[Pe035]: #error directive: "Unknown target." C:\nxp\CMSIS\Include\cmsis_iccarm.h 94 &lt;BR /&gt;Error while running C/C++ Compiler &lt;BR /&gt;system_MIMX8MM6_cm4.c &lt;BR /&gt;Fatal Error[Pe035]: #error directive: "Unknown target." C:\nxp\CMSIS\Include\cmsis_iccarm.h 94 &lt;BR /&gt;Error while running C/C++ Compiler &lt;BR /&gt; &lt;BR /&gt;Total number of errors: 20 &lt;BR /&gt;Total number of warnings: 0 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you help me to fix these compilation issues?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 May 2019 10:38:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IAR-issue-when-compiling-MCUXpresso-SDK-example/m-p/897029#M135487</guid>
      <dc:creator>wangliu</dc:creator>
      <dc:date>2019-05-16T10:38:18Z</dc:date>
    </item>
    <item>
      <title>Re: IAR issue when compiling MCUXpresso SDK example</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IAR-issue-when-compiling-MCUXpresso-SDK-example/m-p/897030#M135488</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi wang&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;one can try to install iar patch below&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.nxp.com/webapp/Download?colCode=SDK_2.5_MX8_GA_Patch&amp;amp;appType=license&amp;amp;location=null" target="_blank"&gt;IAR and Segger tool patch to support MCUXpresso SDK for i.MX 8 devices GA&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 May 2019 23:23:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IAR-issue-when-compiling-MCUXpresso-SDK-example/m-p/897030#M135488</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2019-05-16T23:23:22Z</dc:date>
    </item>
  </channel>
</rss>

