<?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 Configuring Semihosting Console with MCUXpresso for VScode in MCUXpresso for VSCode</title>
    <link>https://community.nxp.com/t5/MCUXpresso-for-VSCode/Configuring-Semihosting-Console-with-MCUXpresso-for-VScode/m-p/1897800#M269</link>
    <description>&lt;P&gt;I converted a MCUXpresso IDE project to MCUXpresso for VScode and got the project to compile.&lt;/P&gt;&lt;P&gt;Now I want to try debugging using a semihost console.&amp;nbsp; &amp;nbsp; This works in the "IDE" version.&lt;/P&gt;&lt;P&gt;I'm using MCUXpresso SDK 2.14.1&lt;/P&gt;&lt;P&gt;If I compile using ConsoleType-&amp;gt;UART, everything compiles, but I don't get any "printf" outputs&lt;/P&gt;&lt;P&gt;Since I'm using the Semihost console in the "IDE" version (and everything works), I attempted to switch to Semihosting in the VScode version:&lt;/P&gt;&lt;P&gt;In VScode, I selected Project-&amp;gt;Configure-&amp;gt;SetConsoleType-&amp;gt;Semihost&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Project-&amp;gt;Configure-&amp;gt;SetLibraryType-&amp;gt;Newlib-nano&lt;/P&gt;&lt;P&gt;I then rebuild the system and it fails loading.&amp;nbsp; &amp;nbsp;There are many error messages indicating that functions (mostly from arm_librdimon_a-syscolls.o) are duplicated.&amp;nbsp; &amp;nbsp;Some of the functions are:&amp;nbsp; _swiopen, _open, _unlink, _gettimeofday, _clock, _times, _isatty, _system, _rename, etc.&lt;/P&gt;&lt;P&gt;Again, this project compiles when the console type is "UART" (with not output), but fails with the console type of "Semihosting"...&lt;/P&gt;&lt;P&gt;Thoughts?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, once this compiles, is there any special arrangement needed to set up a terminal to receive the semihosting output?&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 02 Jul 2024 21:24:24 GMT</pubDate>
    <dc:creator>CktDesigner</dc:creator>
    <dc:date>2024-07-02T21:24:24Z</dc:date>
    <item>
      <title>Configuring Semihosting Console with MCUXpresso for VScode</title>
      <link>https://community.nxp.com/t5/MCUXpresso-for-VSCode/Configuring-Semihosting-Console-with-MCUXpresso-for-VScode/m-p/1897800#M269</link>
      <description>&lt;P&gt;I converted a MCUXpresso IDE project to MCUXpresso for VScode and got the project to compile.&lt;/P&gt;&lt;P&gt;Now I want to try debugging using a semihost console.&amp;nbsp; &amp;nbsp; This works in the "IDE" version.&lt;/P&gt;&lt;P&gt;I'm using MCUXpresso SDK 2.14.1&lt;/P&gt;&lt;P&gt;If I compile using ConsoleType-&amp;gt;UART, everything compiles, but I don't get any "printf" outputs&lt;/P&gt;&lt;P&gt;Since I'm using the Semihost console in the "IDE" version (and everything works), I attempted to switch to Semihosting in the VScode version:&lt;/P&gt;&lt;P&gt;In VScode, I selected Project-&amp;gt;Configure-&amp;gt;SetConsoleType-&amp;gt;Semihost&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Project-&amp;gt;Configure-&amp;gt;SetLibraryType-&amp;gt;Newlib-nano&lt;/P&gt;&lt;P&gt;I then rebuild the system and it fails loading.&amp;nbsp; &amp;nbsp;There are many error messages indicating that functions (mostly from arm_librdimon_a-syscolls.o) are duplicated.&amp;nbsp; &amp;nbsp;Some of the functions are:&amp;nbsp; _swiopen, _open, _unlink, _gettimeofday, _clock, _times, _isatty, _system, _rename, etc.&lt;/P&gt;&lt;P&gt;Again, this project compiles when the console type is "UART" (with not output), but fails with the console type of "Semihosting"...&lt;/P&gt;&lt;P&gt;Thoughts?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, once this compiles, is there any special arrangement needed to set up a terminal to receive the semihosting output?&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jul 2024 21:24:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-for-VSCode/Configuring-Semihosting-Console-with-MCUXpresso-for-VScode/m-p/1897800#M269</guid>
      <dc:creator>CktDesigner</dc:creator>
      <dc:date>2024-07-02T21:24:24Z</dc:date>
    </item>
    <item>
      <title>Re: Configuring Semihosting Console with MCUXpresso for VScode</title>
      <link>https://community.nxp.com/t5/MCUXpresso-for-VSCode/Configuring-Semihosting-Console-with-MCUXpresso-for-VScode/m-p/1897871#M270</link>
      <description>&lt;P&gt;&lt;SPAN class=""&gt;I found a section on "Semihosting" in the Known Issues Document in the MCUXpresso for VS code Git webpage.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;Applying the suggested workaround fixed the problem!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jul 2024 01:21:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-for-VSCode/Configuring-Semihosting-Console-with-MCUXpresso-for-VScode/m-p/1897871#M270</guid>
      <dc:creator>CktDesigner</dc:creator>
      <dc:date>2024-07-03T01:21:16Z</dc:date>
    </item>
    <item>
      <title>Re: Configuring Semihosting Console with MCUXpresso for VScode</title>
      <link>https://community.nxp.com/t5/MCUXpresso-for-VSCode/Configuring-Semihosting-Console-with-MCUXpresso-for-VScode/m-p/2107338#M398</link>
      <description>&lt;P&gt;I need to copy this project to another laptop.&amp;nbsp; &amp;nbsp; MCUXpresso for VS Code has been installed into VS Code, and the project has been ported.&lt;/P&gt;&lt;P&gt;I'm once again getting the duplicate entries when linking the project, so I found this (about a year old) posting (by me!) to see how it was resolved.&amp;nbsp; &amp;nbsp; Unfortunately, I only stated that I followed the work-around from the known-issues page for MCUXpresso for VS Code.&amp;nbsp; &amp;nbsp;But when I checked the current version of this github page, the issue and workaround are no longer there.&lt;/P&gt;&lt;P&gt;It also looks like the "Known Issues" page is not versioned, so I can't seem to find the older version.&lt;/P&gt;&lt;P&gt;Does anyone remember this workaround??&lt;/P&gt;&lt;P&gt;Thanks!!&lt;/P&gt;</description>
      <pubDate>Thu, 29 May 2025 17:40:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-for-VSCode/Configuring-Semihosting-Console-with-MCUXpresso-for-VScode/m-p/2107338#M398</guid>
      <dc:creator>CktDesigner</dc:creator>
      <dc:date>2025-05-29T17:40:01Z</dc:date>
    </item>
  </channel>
</rss>

