<?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: How to import a Zephyr project in MCUXpresso VS Code extension in MCUXpresso for VSCode</title>
    <link>https://community.nxp.com/t5/MCUXpresso-for-VSCode/How-to-import-a-Zephyr-project-in-MCUXpresso-VS-Code-extension/m-p/2080227#M373</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/249239"&gt;@fpeelo&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for interest on our MCX N products!&lt;/P&gt;
&lt;P&gt;I am limited to use Windows 10, running natively.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I&amp;nbsp; followed the&amp;nbsp;&lt;A href="https://docs.zephyrproject.org/latest/develop/getting_started/index.html" target="_blank" rel="nofollow noopener noreferrer"&gt;https://docs.zephyrproject.org/latest/develop/getting_started/index.html&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp; as well to install the zephyr project. Then I imported this repo to my VS code extension, everything where working well to import examples from the repo using the&amp;nbsp; VS code, or importing again as files those examples. No complains from the tool.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Then I tried to&amp;nbsp; import the &lt;A href="https://github.com/zephyrproject-rtos/example-application" target="_blank"&gt;https://github.com/zephyrproject-rtos/example-application&lt;/A&gt;&amp;nbsp;and created applications folder at&amp;nbsp; zephyrproject\applications. I used the:&lt;/SPAN&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;  git clone https://github.com/zephyrproject-rtos/example-application,&lt;/LI-CODE&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;I obtained the below errors when running west build, yet I do not know yet how to solve them, so I could not reproduce the issue you are getting.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="diego_charles_0-1744665148933.png" style="width: 725px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/332985i92D2962D5DE90FCE/image-dimensions/725x308?v=v2" width="725" height="308" role="button" title="diego_charles_0-1744665148933.png" alt="diego_charles_0-1744665148933.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;According to the MCUXpresso VS code wiki,&amp;nbsp; those are the settings that VS code expect from a project.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="diego_charles_1-1744665364772.png" style="width: 551px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/332986iFD58E4E61A02C391/image-dimensions/551x438?v=v2" width="551" height="438" role="button" title="diego_charles_1-1744665364772.png" alt="diego_charles_1-1744665364772.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;We have an example project, that you could use to test and compared for missing files&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/wolfSSL/nxp-appcodehub/blob/main/dm-wolfssh-rgb-server-with-zephyr/README.md" target="_blank"&gt;https://github.com/wolfSSL/nxp-appcodehub/blob/main/dm-wolfssh-rgb-server-with-zephyr/README.md&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;You could try to diff check both examples, and try to follow your procedure (git clone into&amp;nbsp; zephyrproject\applications) to test with a sample project we expect to work under our VS code.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope this could help you&lt;/P&gt;
&lt;P&gt;Diego&lt;/P&gt;</description>
    <pubDate>Mon, 14 Apr 2025 21:19:55 GMT</pubDate>
    <dc:creator>diego_charles</dc:creator>
    <dc:date>2025-04-14T21:19:55Z</dc:date>
    <item>
      <title>How to import a Zephyr project in MCUXpresso VS Code extension</title>
      <link>https://community.nxp.com/t5/MCUXpresso-for-VSCode/How-to-import-a-Zephyr-project-in-MCUXpresso-VS-Code-extension/m-p/2079038#M369</link>
      <description>&lt;P&gt;Sorry for asking something that should be obvious, but I cannot figure it out.&lt;/P&gt;&lt;P&gt;First, here is what is working on my computer:&lt;/P&gt;&lt;P&gt;I am using Linux Mint 21.3. I have installed Zephyr according to&amp;nbsp;&lt;A href="https://docs.zephyrproject.org/latest/develop/getting_started/index.html" target="_blank"&gt;https://docs.zephyrproject.org/latest/develop/getting_started/index.html&lt;/A&gt;&amp;nbsp;and then installed VSCode and the MCUXpresso extension. I can import hello world project from the repository and step through it in the debugger. I imported the&amp;nbsp;dumb_http_server sample to the ~/zephyrproject/applications/dumb_http_server directory and it works when it is serving the small plain-text example file.&lt;/P&gt;&lt;P&gt;But here is what does not work:&lt;/P&gt;&lt;P&gt;I created a Zephyr project in ~&lt;SPAN&gt;/zephyrproject/applications/test&amp;nbsp;&lt;/SPAN&gt;using the&amp;nbsp;example-application recommended in the Zephyr documentation, but when I try to import it with "Import Project" in the MCUXpresso extension, I get the message "&lt;SPAN&gt;There are no projects in /home/fpeelo/zephyrproject/applications/test or they are already imported.&lt;/SPAN&gt;"&lt;/P&gt;&lt;P&gt;The sample project is basic but works. The command to create it is `git clone &lt;A href="https://github.com/zephyrproject-rtos/example-application" target="_blank"&gt;https://github.com/zephyrproject-rtos/example-application&lt;/A&gt; test` run in the&amp;nbsp;~/zephyrproject/applications directory. I modified&amp;nbsp;app/prj.conf and&amp;nbsp;app/src/main.c to make my own project; it compiles with `west build --force -p always -b frdm_mcxn947/mcxn947/cpu0 app/` and goes to the board with `west flash`; I cab see it output stuff to the serial port with `sudo picocom -b 115200 /dev/ttyACM0`. So there is a basic Zephyr project there. But MCUXpresso doesn't seem to believe that.&lt;/P&gt;&lt;P&gt;I mentioned importing the&amp;nbsp;dumb_http_server sample, above, in&amp;nbsp;~/zephyrproject/applications/dumb_http_server. If I do the exact same Import Project for that directory, MCUXpresso recognises there is a project there.&lt;/P&gt;&lt;P&gt;So it seems to me that there must be some files or something related to&amp;nbsp;dumb_http_server, that I don't have for my&amp;nbsp;example-application project, that is needed to import a project into MCUXpresso.&lt;/P&gt;&lt;P&gt;But what exactly is it that I am missing?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Apr 2025 11:23:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-for-VSCode/How-to-import-a-Zephyr-project-in-MCUXpresso-VS-Code-extension/m-p/2079038#M369</guid>
      <dc:creator>fpeelo</dc:creator>
      <dc:date>2025-04-11T11:23:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to import a Zephyr project in MCUXpresso VS Code extension</title>
      <link>https://community.nxp.com/t5/MCUXpresso-for-VSCode/How-to-import-a-Zephyr-project-in-MCUXpresso-VS-Code-extension/m-p/2080227#M373</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/249239"&gt;@fpeelo&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for interest on our MCX N products!&lt;/P&gt;
&lt;P&gt;I am limited to use Windows 10, running natively.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I&amp;nbsp; followed the&amp;nbsp;&lt;A href="https://docs.zephyrproject.org/latest/develop/getting_started/index.html" target="_blank" rel="nofollow noopener noreferrer"&gt;https://docs.zephyrproject.org/latest/develop/getting_started/index.html&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp; as well to install the zephyr project. Then I imported this repo to my VS code extension, everything where working well to import examples from the repo using the&amp;nbsp; VS code, or importing again as files those examples. No complains from the tool.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Then I tried to&amp;nbsp; import the &lt;A href="https://github.com/zephyrproject-rtos/example-application" target="_blank"&gt;https://github.com/zephyrproject-rtos/example-application&lt;/A&gt;&amp;nbsp;and created applications folder at&amp;nbsp; zephyrproject\applications. I used the:&lt;/SPAN&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;  git clone https://github.com/zephyrproject-rtos/example-application,&lt;/LI-CODE&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;I obtained the below errors when running west build, yet I do not know yet how to solve them, so I could not reproduce the issue you are getting.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="diego_charles_0-1744665148933.png" style="width: 725px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/332985i92D2962D5DE90FCE/image-dimensions/725x308?v=v2" width="725" height="308" role="button" title="diego_charles_0-1744665148933.png" alt="diego_charles_0-1744665148933.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;According to the MCUXpresso VS code wiki,&amp;nbsp; those are the settings that VS code expect from a project.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="diego_charles_1-1744665364772.png" style="width: 551px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/332986iFD58E4E61A02C391/image-dimensions/551x438?v=v2" width="551" height="438" role="button" title="diego_charles_1-1744665364772.png" alt="diego_charles_1-1744665364772.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;We have an example project, that you could use to test and compared for missing files&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/wolfSSL/nxp-appcodehub/blob/main/dm-wolfssh-rgb-server-with-zephyr/README.md" target="_blank"&gt;https://github.com/wolfSSL/nxp-appcodehub/blob/main/dm-wolfssh-rgb-server-with-zephyr/README.md&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;You could try to diff check both examples, and try to follow your procedure (git clone into&amp;nbsp; zephyrproject\applications) to test with a sample project we expect to work under our VS code.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope this could help you&lt;/P&gt;
&lt;P&gt;Diego&lt;/P&gt;</description>
      <pubDate>Mon, 14 Apr 2025 21:19:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-for-VSCode/How-to-import-a-Zephyr-project-in-MCUXpresso-VS-Code-extension/m-p/2080227#M373</guid>
      <dc:creator>diego_charles</dc:creator>
      <dc:date>2025-04-14T21:19:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to import a Zephyr project in MCUXpresso VS Code extension</title>
      <link>https://community.nxp.com/t5/MCUXpresso-for-VSCode/How-to-import-a-Zephyr-project-in-MCUXpresso-VS-Code-extension/m-p/2081024#M374</link>
      <description>&lt;P&gt;Thanks for your reply Diego!&lt;/P&gt;&lt;P&gt;Firstly, a&lt;SPAN&gt;s I mentioned, it was necessary to modify at least app/prj.conf and app/src/main.c to make a project that will compile.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Simplest option is to use what is in the "hello world" sample: for app/prj.conf use&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;# nothing here!&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;and for app/srsc/main.c use&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;#include &amp;lt;stdio.h&amp;gt;
int main(void)
{
  printf("Hello World! %s\n", CONFIG_BOARD_TARGET);
  return 0;
}&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;Next, before running the west build command, cd to the&amp;nbsp;directory that you cloned. In your case, since you didn't specify a directory name, the directory is called example-application.&lt;BR /&gt;Then, specify the app directory as what is to be compiled.&lt;BR /&gt;So, if your board's name is mimxrt1010_evk, the command is:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;west build --force -p always -b mimxrt1010_evk app&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Secondly, thanks for the wiki hint! I missed the .vscode directory; should have looked for hidden files!&lt;/P&gt;&lt;P&gt;I tried working through the README you listed, this command&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;git clone https://github.com/wolfSSL/nxp-appcodehub.git ssh-rgb&lt;/LI-CODE&gt;&lt;P&gt;got me a setup.sh which I think is the one referenced in&lt;BR /&gt;&lt;A href="https://github.com/wolfSSL/nxp-appcodehub/blob/main/README.md" target="_self"&gt;https://github.com/wolfSSL/nxp-appcodehub/blob/main/README.md&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;although there is no nxp-appcodehub directory.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;(.venv) test@zephyr-vm:~/zephyrproject/applications/ssh-rgb$ ./setup.sh dm-wolfssl-tls-hello-server-with-zephyr
Created .vscode directory in dm-wolfssl-tls-hello-server-with-zephyr.
cmake-kits.json created.
cmake-variants.json created.
launch.json created.
mcuxpresso-tools.json created.
settings.json created.&lt;/LI-CODE&gt;&lt;P&gt;As I mentioned, I was able to import a couple of the zephyr sample projects into VSCode -- "Import Example from Repository" works, it's "Import Project" that I have a problem with -- so I do have a couple of VSCode projects. So I was able to copy a .vscode directory with&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;launch.json mcuxpresso-tools.json settings.json tasks.json&lt;/LI-CODE&gt;&lt;P&gt;But there was no sign of a cmake-kits.json or cmake-variants.json anywhere in my home directory so I added the files from your script.&lt;/P&gt;&lt;P&gt;Now the Import Project seems to be working! &lt;LI-EMOJI id="lia_slightly-smiling-face" title=":slightly_smiling_face:"&gt;&lt;/LI-EMOJI&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Apr 2025 16:47:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-for-VSCode/How-to-import-a-Zephyr-project-in-MCUXpresso-VS-Code-extension/m-p/2081024#M374</guid>
      <dc:creator>fpeelo</dc:creator>
      <dc:date>2025-04-15T16:47:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to import a Zephyr project in MCUXpresso VS Code extension</title>
      <link>https://community.nxp.com/t5/MCUXpresso-for-VSCode/How-to-import-a-Zephyr-project-in-MCUXpresso-VS-Code-extension/m-p/2081032#M375</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/249239"&gt;@fpeelo&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think this could be of use for other community users too, thanks a lot for sharing to this level of detail and for providing me the missing steps to setup the sample project.&amp;nbsp;I am glad to know that you where able to solve the problem!&lt;/P&gt;
&lt;P&gt;Diego&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Apr 2025 17:21:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-for-VSCode/How-to-import-a-Zephyr-project-in-MCUXpresso-VS-Code-extension/m-p/2081032#M375</guid>
      <dc:creator>diego_charles</dc:creator>
      <dc:date>2025-04-15T17:21:26Z</dc:date>
    </item>
  </channel>
</rss>

