<?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 add new files / folders? in GUI Guider</title>
    <link>https://community.nxp.com/t5/GUI-Guider/How-to-add-new-files-folders/m-p/1745230#M546</link>
    <description>&lt;P&gt;My question is how to use the IDE, not outside the IDE. Anyone can manually manipulate the "make" files to compile whatever they need, but I want to use the IDE to build an interface with sub-folders / files / structure, etc...&lt;/P&gt;</description>
    <pubDate>Tue, 24 Oct 2023 11:44:25 GMT</pubDate>
    <dc:creator>application_ninja</dc:creator>
    <dc:date>2023-10-24T11:44:25Z</dc:date>
    <item>
      <title>How to add new files / folders?</title>
      <link>https://community.nxp.com/t5/GUI-Guider/How-to-add-new-files-folders/m-p/1743573#M536</link>
      <description>&lt;P&gt;I want to add new files and folders to be compiled into a GUI Guider simulator project, but it seems that there is no way to do this, and that "custom.c" is all we can use?&lt;/P&gt;</description>
      <pubDate>Fri, 20 Oct 2023 09:10:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/GUI-Guider/How-to-add-new-files-folders/m-p/1743573#M536</guid>
      <dc:creator>application_ninja</dc:creator>
      <dc:date>2023-10-20T09:10:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to add new files / folders?</title>
      <link>https://community.nxp.com/t5/GUI-Guider/How-to-add-new-files-folders/m-p/1744124#M538</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I suppose that the simulator compiles the code in custom.c, whether the customer.c will be overwritten by simulator is dependent on the version of GUI guider.&lt;/P&gt;
&lt;P&gt;I will ask the AE team for detailed information.&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;XiangJun Rong&lt;/P&gt;</description>
      <pubDate>Mon, 23 Oct 2023 03:28:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/GUI-Guider/How-to-add-new-files-folders/m-p/1744124#M538</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2023-10-23T03:28:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to add new files / folders?</title>
      <link>https://community.nxp.com/t5/GUI-Guider/How-to-add-new-files-folders/m-p/1745102#M542</link>
      <description>&lt;P&gt;Thank you for the response, urgently looking for a response if additional files could be added to GUI Guider project rather than only using custom.c...&lt;/P&gt;</description>
      <pubDate>Tue, 24 Oct 2023 08:14:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/GUI-Guider/How-to-add-new-files-folders/m-p/1745102#M542</guid>
      <dc:creator>application_ninja</dc:creator>
      <dc:date>2023-10-24T08:14:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to add new files / folders?</title>
      <link>https://community.nxp.com/t5/GUI-Guider/How-to-add-new-files-folders/m-p/1745123#M543</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/216299"&gt;@application_ninja&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;create .c files in "custom" folder with your favorite editor and they will be built with your application (custom.mk takes care of it).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Paolo&lt;/P&gt;</description>
      <pubDate>Tue, 24 Oct 2023 08:39:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/GUI-Guider/How-to-add-new-files-folders/m-p/1745123#M543</guid>
      <dc:creator>paolog</dc:creator>
      <dc:date>2023-10-24T08:39:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to add new files / folders?</title>
      <link>https://community.nxp.com/t5/GUI-Guider/How-to-add-new-files-folders/m-p/1745127#M544</link>
      <description>&lt;P&gt;I've tried this, I want to add folders, not just .c files. Adding folders doesn't work.&lt;/P&gt;</description>
      <pubDate>Tue, 24 Oct 2023 08:42:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/GUI-Guider/How-to-add-new-files-folders/m-p/1745127#M544</guid>
      <dc:creator>application_ninja</dc:creator>
      <dc:date>2023-10-24T08:42:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to add new files / folders?</title>
      <link>https://community.nxp.com/t5/GUI-Guider/How-to-add-new-files-folders/m-p/1745176#M545</link>
      <description>&lt;P&gt;You should then modify the custom.mk makefile file to build subfolders too.&lt;/P&gt;</description>
      <pubDate>Tue, 24 Oct 2023 09:44:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/GUI-Guider/How-to-add-new-files-folders/m-p/1745176#M545</guid>
      <dc:creator>paolog</dc:creator>
      <dc:date>2023-10-24T09:44:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to add new files / folders?</title>
      <link>https://community.nxp.com/t5/GUI-Guider/How-to-add-new-files-folders/m-p/1745230#M546</link>
      <description>&lt;P&gt;My question is how to use the IDE, not outside the IDE. Anyone can manually manipulate the "make" files to compile whatever they need, but I want to use the IDE to build an interface with sub-folders / files / structure, etc...&lt;/P&gt;</description>
      <pubDate>Tue, 24 Oct 2023 11:44:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/GUI-Guider/How-to-add-new-files-folders/m-p/1745230#M546</guid>
      <dc:creator>application_ninja</dc:creator>
      <dc:date>2023-10-24T11:44:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to add new files / folders?</title>
      <link>https://community.nxp.com/t5/GUI-Guider/How-to-add-new-files-folders/m-p/1746554#M552</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;This is AE reply:&lt;/P&gt;
&lt;P&gt;You have two application scenarios to add your custom code in GUI Guider.&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; 1. For example, there is a screen named &lt;STRONG&gt;scrHome&lt;/STRONG&gt; in you design. You want to add some initialization code when this screen is initialized. You can do it like this&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="xiangjun_rong_0-1698291274420.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/246808i8A6942C9BCA6AF62/image-size/medium?v=v2&amp;amp;px=400" role="button" title="xiangjun_rong_0-1698291274420.png" alt="xiangjun_rong_0-1698291274420.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;then you reopen or update your project, you can see the new code are all added to the project like this:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="xiangjun_rong_1-1698291317793.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/246809i1725EC69279BF0DA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="xiangjun_rong_1-1698291317793.png" alt="xiangjun_rong_1-1698291317793.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. For example, you have a button and you hope when this button is clicked, you can execute your custom code. You can do it like this:&lt;/P&gt;
&lt;P&gt;1.Place a button in the editor&lt;/P&gt;
&lt;P&gt;2.Add a clicked event&lt;/P&gt;
&lt;P&gt;3. Add your code with method described in scenario 1, your code will be added into the event handler&lt;/P&gt;
&lt;P&gt;4. If your code in event handler has a function call, you can implement it in custom.c located in the custom folder, certainly, you can create your own file and placed into custom folder.&lt;/P&gt;
&lt;P&gt;However, the current version, 1.6.1, GUI Guider doesn't support subfolder. Subfolder will be supported in 1.7.1.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope it can help you&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;XiangJun Rong&lt;/P&gt;</description>
      <pubDate>Thu, 26 Oct 2023 03:36:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/GUI-Guider/How-to-add-new-files-folders/m-p/1746554#M552</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2023-10-26T03:36:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to add new files / folders?</title>
      <link>https://community.nxp.com/t5/GUI-Guider/How-to-add-new-files-folders/m-p/1746581#M553</link>
      <description>&lt;P&gt;OK, thank you for the response, looks like I have to wait until version 1.7.1 to fully use GUI Guider as I'd like to. &lt;LI-EMOJI id="lia_disappointed-face" title=":disappointed_face:"&gt;&lt;/LI-EMOJI&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Oct 2023 04:42:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/GUI-Guider/How-to-add-new-files-folders/m-p/1746581#M553</guid>
      <dc:creator>application_ninja</dc:creator>
      <dc:date>2023-10-26T04:42:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to add new files / folders?</title>
      <link>https://community.nxp.com/t5/GUI-Guider/How-to-add-new-files-folders/m-p/1746798#M554</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/216299"&gt;@application_ninja&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Thanks for your question and comments&lt;/P&gt;
&lt;P&gt;Below is the workaround for subfolder support based on GUI Guider v1.6.1.&lt;/P&gt;
&lt;P&gt;1. create "src"&amp;nbsp;subfolder in "custom" folder&lt;/P&gt;
&lt;P&gt;2. add source files, e.g. "mytest.c" and "mytest.h"&lt;/P&gt;
&lt;P&gt;3. add "src.mk" in "src“ folder, the following is the content of src.mk&lt;/P&gt;
&lt;P&gt;GEN_CSRCS += $(notdir $(wildcard $(PRJ_DIR)/custom/src/*.c))&lt;/P&gt;
&lt;P&gt;DEPPATH += --dep-path $(PRJ_DIR)/custom/src&lt;/P&gt;
&lt;P&gt;VPATH += :$(PRJ_DIR)/custom/src&lt;/P&gt;
&lt;P&gt;CFLAGS += "-I$(PRJ_DIR)/custom/src"&lt;/P&gt;
&lt;P&gt;4. edit "custom.mk" to add "include $(PRJ_DIR)/custom/src/src.mk"&lt;/P&gt;
&lt;P&gt;## SPDX-License-Identifier: MIT&lt;BR /&gt;## Copyright 2020 NXP&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000FF"&gt;&lt;STRONG&gt;include $(PRJ_DIR)/custom/src/src.mk&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;GEN_CSRCS += $(notdir $(wildcard $(PRJ_DIR)/custom/*.c))&lt;/P&gt;
&lt;P&gt;DEPPATH += --dep-path $(PRJ_DIR)/custom&lt;BR /&gt;VPATH += :$(PRJ_DIR)/custom&lt;/P&gt;
&lt;P&gt;CFLAGS += "-I$(PRJ_DIR)/custom"&lt;/P&gt;
&lt;P&gt;Then the newly added source files in subfolder will be included and built.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Zhenhua&lt;/P&gt;</description>
      <pubDate>Thu, 26 Oct 2023 08:16:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/GUI-Guider/How-to-add-new-files-folders/m-p/1746798#M554</guid>
      <dc:creator>zhenhualuo</dc:creator>
      <dc:date>2023-10-26T08:16:12Z</dc:date>
    </item>
  </channel>
</rss>

