<?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>Kinetis MicrocontrollersのトピックemWin 6.10f: APPW_Init()</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/emWin-6-10f-APPW-Init/m-p/1044037#M56850</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am in the process of setting up emWin to run on a custom board (custom bsp) with MK22FX512AVLQ12 MCU.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There appears to be a library call "&lt;STRONG&gt;APPW_Init()&lt;/STRONG&gt;" that is found in APPMainTask.c for&amp;nbsp;most BSP examples that use emWin 6.10f along with AppWizard:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px;"&gt;&lt;EM style="font-family: 'courier new', courier, monospace; "&gt;"...&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px;"&gt;&lt;EM style="font-family: 'courier new', courier, monospace; "&gt;void MainTask(void) {&lt;/EM&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 13px;"&gt;&lt;EM style="font-family: 'courier new', courier, monospace; "&gt; //&lt;/EM&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 13px;"&gt;&lt;EM style="font-family: 'courier new', courier, monospace; "&gt; // Setup configuration dependent pointers&lt;/EM&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 13px;"&gt;&lt;EM style="font-family: 'courier new', courier, monospace; "&gt; //&lt;/EM&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 13px;"&gt;&lt;EM style="font-family: 'courier new', courier, monospace; "&gt; APPW_X_Setup();&lt;/EM&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #0000ff; font-size: 13px;"&gt;&lt;STRONG&gt;&lt;EM style="font-family: 'courier new', courier, monospace; "&gt; //&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #0000ff; font-size: 13px;"&gt;&lt;STRONG&gt;&lt;EM style="font-family: 'courier new', courier, monospace; "&gt; // Initialize AppWizard&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #0000ff; font-size: 13px;"&gt;&lt;STRONG&gt;&lt;EM style="font-family: 'courier new', courier, monospace; "&gt; //&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #0000ff; font-size: 13px;"&gt;&lt;STRONG&gt;&lt;EM style="font-family: 'courier new', courier, monospace; "&gt; APPW_Init(APPW_PROJECT_PATH);&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 13px;"&gt;&lt;EM style="font-family: 'courier new', courier, monospace; "&gt; //&lt;/EM&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 13px;"&gt;&lt;EM style="font-family: 'courier new', courier, monospace; "&gt; // Create initial screen...&lt;/EM&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 13px;"&gt;&lt;EM style="font-family: 'courier new', courier, monospace; "&gt; //&lt;/EM&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 13px;"&gt;&lt;EM style="font-family: 'courier new', courier, monospace; "&gt; APPW_CreateRoot(APPW_INITIAL_SCREEN, WM_HBKWIN);&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px;"&gt;&lt;EM style="font-family: 'courier new', courier, monospace; "&gt;..."&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is the APPW_Init() needed when compiling AppWizard in my custom board project?&lt;/P&gt;&lt;P&gt;What happens if APPW_Init() is commented out (or not used)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What resource files from "&lt;STRONG style="color: #0000ff;"&gt;&lt;EM&gt;&lt;SPAN&gt;APPW_PROJECT_PATH&lt;/SPAN&gt;&lt;/EM&gt;&lt;/STRONG&gt;" are accessed when App_Init() is called?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 01 Jun 2020 21:16:50 GMT</pubDate>
    <dc:creator>lsrbigfoot</dc:creator>
    <dc:date>2020-06-01T21:16:50Z</dc:date>
    <item>
      <title>emWin 6.10f: APPW_Init()</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/emWin-6-10f-APPW-Init/m-p/1044037#M56850</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am in the process of setting up emWin to run on a custom board (custom bsp) with MK22FX512AVLQ12 MCU.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There appears to be a library call "&lt;STRONG&gt;APPW_Init()&lt;/STRONG&gt;" that is found in APPMainTask.c for&amp;nbsp;most BSP examples that use emWin 6.10f along with AppWizard:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px;"&gt;&lt;EM style="font-family: 'courier new', courier, monospace; "&gt;"...&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px;"&gt;&lt;EM style="font-family: 'courier new', courier, monospace; "&gt;void MainTask(void) {&lt;/EM&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 13px;"&gt;&lt;EM style="font-family: 'courier new', courier, monospace; "&gt; //&lt;/EM&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 13px;"&gt;&lt;EM style="font-family: 'courier new', courier, monospace; "&gt; // Setup configuration dependent pointers&lt;/EM&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 13px;"&gt;&lt;EM style="font-family: 'courier new', courier, monospace; "&gt; //&lt;/EM&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 13px;"&gt;&lt;EM style="font-family: 'courier new', courier, monospace; "&gt; APPW_X_Setup();&lt;/EM&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #0000ff; font-size: 13px;"&gt;&lt;STRONG&gt;&lt;EM style="font-family: 'courier new', courier, monospace; "&gt; //&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #0000ff; font-size: 13px;"&gt;&lt;STRONG&gt;&lt;EM style="font-family: 'courier new', courier, monospace; "&gt; // Initialize AppWizard&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #0000ff; font-size: 13px;"&gt;&lt;STRONG&gt;&lt;EM style="font-family: 'courier new', courier, monospace; "&gt; //&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #0000ff; font-size: 13px;"&gt;&lt;STRONG&gt;&lt;EM style="font-family: 'courier new', courier, monospace; "&gt; APPW_Init(APPW_PROJECT_PATH);&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 13px;"&gt;&lt;EM style="font-family: 'courier new', courier, monospace; "&gt; //&lt;/EM&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 13px;"&gt;&lt;EM style="font-family: 'courier new', courier, monospace; "&gt; // Create initial screen...&lt;/EM&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 13px;"&gt;&lt;EM style="font-family: 'courier new', courier, monospace; "&gt; //&lt;/EM&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 13px;"&gt;&lt;EM style="font-family: 'courier new', courier, monospace; "&gt; APPW_CreateRoot(APPW_INITIAL_SCREEN, WM_HBKWIN);&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px;"&gt;&lt;EM style="font-family: 'courier new', courier, monospace; "&gt;..."&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is the APPW_Init() needed when compiling AppWizard in my custom board project?&lt;/P&gt;&lt;P&gt;What happens if APPW_Init() is commented out (or not used)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What resource files from "&lt;STRONG style="color: #0000ff;"&gt;&lt;EM&gt;&lt;SPAN&gt;APPW_PROJECT_PATH&lt;/SPAN&gt;&lt;/EM&gt;&lt;/STRONG&gt;" are accessed when App_Init() is called?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jun 2020 21:16:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/emWin-6-10f-APPW-Init/m-p/1044037#M56850</guid>
      <dc:creator>lsrbigfoot</dc:creator>
      <dc:date>2020-06-01T21:16:50Z</dc:date>
    </item>
    <item>
      <title>Re: emWin 6.10f: APPW_Init()</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/emWin-6-10f-APPW-Init/m-p/1044038#M56851</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/lsrbigfoot"&gt;lsrbigfoot&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;APPW_Init is necessary for any AppWizard project.&amp;nbsp; It initializes and configures the GUI as well as initializes the text usage.&amp;nbsp; If a file system is being used, it will also initialize that.&amp;nbsp; If you try to comment this out, you will get a hard fault (this is what happened in my system).&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;APPW_PROJECT_PATH is only utilized when running the AppWizard simulator.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Chris&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jun 2020 21:32:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/emWin-6-10f-APPW-Init/m-p/1044038#M56851</guid>
      <dc:creator>chris_brown</dc:creator>
      <dc:date>2020-06-04T21:32:15Z</dc:date>
    </item>
  </channel>
</rss>

