<?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>LPC MicrocontrollersのトピックemWin errors with NXP Library: Undefined Symbol GUI_X_InitOS and others</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/emWin-errors-with-NXP-Library-Undefined-Symbol-GUI-X-InitOS-and/m-p/515283#M1098</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by rhaguiuda on Tue Jul 01 05:49:08 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm trying to create a configuration to use emWin 5.24 with a Winstar 320x240 Monocrome display that has a RA8835 controller.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm using the emWin library by NXP, in a LCP1114 Cortex-M0 and Keil uVision 5.11.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have written and successfully tested the low level access routines to write and read bytes to display controller. Tested these before starting to use the emWin.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm having lots of troubles configuring emWin:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When I try to compile my project the compiler outputs four errors:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Undefined symbol GUI_X_GetTaskId (reffered from GUI_Task.o)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Undefined symbol GUI_X_InitOs (reffered from GUI_Task.o)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Undefined symbol GUI_X_Lock (reffered from GUI_Task.o)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Undefined symbol GUI_X_Unlock (reffered from GUI_Task.o)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have disable multitask support in GUIConf.h by setting #define GUI_OS 0.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Question 1:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Why the compiler is outputting these errors I have disable the GUI_OS? Shouln't these methods be called only when using an OS?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Question 2:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If I define these methods (with empty bodies) I can compile and flash the firmware. But the codes gets hanged at a WAKEUP_IRQHandler, when calling GUI_Clear() (GUI_Init runs ok and calls the LCD initialization routine), even if I disable it in NVIC at firmware load. This is the main function:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD bgcolor="#cacaca"&gt; &lt;PRE&gt;
int main(void)
{
InitIO();

BitSet(&amp;amp;LPC_SYSCON-&amp;gt;SYSAHBCLKCTRL, 16);

NVIC_DisableIRQ(WAKEUP0_IRQn);
NVIC_DisableIRQ(WAKEUP1_IRQn);
NVIC_DisableIRQ(WAKEUP2_IRQn);
NVIC_DisableIRQ(WAKEUP3_IRQn);
NVIC_DisableIRQ(WAKEUP4_IRQn);
NVIC_DisableIRQ(WAKEUP5_IRQn);
NVIC_DisableIRQ(WAKEUP6_IRQn);
NVIC_DisableIRQ(WAKEUP7_IRQn);
NVIC_DisableIRQ(WAKEUP8_IRQn);
NVIC_DisableIRQ(WAKEUP9_IRQn);
NVIC_DisableIRQ(WAKEUP10_IRQn);
NVIC_DisableIRQ(WAKEUP11_IRQn);
NVIC_DisableIRQ(WAKEUP12_IRQn);
NVIC_DisableIRQ(CAN_IRQn);

GUI_Init();
GUI_Clear();
GUI_DispString("www.keil.com");

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; while(1);
}
&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can someone help me why these problems are happening?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 17:16:01 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T17:16:01Z</dc:date>
    <item>
      <title>emWin errors with NXP Library: Undefined Symbol GUI_X_InitOS and others</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/emWin-errors-with-NXP-Library-Undefined-Symbol-GUI-X-InitOS-and/m-p/515283#M1098</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by rhaguiuda on Tue Jul 01 05:49:08 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm trying to create a configuration to use emWin 5.24 with a Winstar 320x240 Monocrome display that has a RA8835 controller.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm using the emWin library by NXP, in a LCP1114 Cortex-M0 and Keil uVision 5.11.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have written and successfully tested the low level access routines to write and read bytes to display controller. Tested these before starting to use the emWin.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm having lots of troubles configuring emWin:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When I try to compile my project the compiler outputs four errors:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Undefined symbol GUI_X_GetTaskId (reffered from GUI_Task.o)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Undefined symbol GUI_X_InitOs (reffered from GUI_Task.o)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Undefined symbol GUI_X_Lock (reffered from GUI_Task.o)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Undefined symbol GUI_X_Unlock (reffered from GUI_Task.o)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have disable multitask support in GUIConf.h by setting #define GUI_OS 0.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Question 1:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Why the compiler is outputting these errors I have disable the GUI_OS? Shouln't these methods be called only when using an OS?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Question 2:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If I define these methods (with empty bodies) I can compile and flash the firmware. But the codes gets hanged at a WAKEUP_IRQHandler, when calling GUI_Clear() (GUI_Init runs ok and calls the LCD initialization routine), even if I disable it in NVIC at firmware load. This is the main function:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD bgcolor="#cacaca"&gt; &lt;PRE&gt;
int main(void)
{
InitIO();

BitSet(&amp;amp;LPC_SYSCON-&amp;gt;SYSAHBCLKCTRL, 16);

NVIC_DisableIRQ(WAKEUP0_IRQn);
NVIC_DisableIRQ(WAKEUP1_IRQn);
NVIC_DisableIRQ(WAKEUP2_IRQn);
NVIC_DisableIRQ(WAKEUP3_IRQn);
NVIC_DisableIRQ(WAKEUP4_IRQn);
NVIC_DisableIRQ(WAKEUP5_IRQn);
NVIC_DisableIRQ(WAKEUP6_IRQn);
NVIC_DisableIRQ(WAKEUP7_IRQn);
NVIC_DisableIRQ(WAKEUP8_IRQn);
NVIC_DisableIRQ(WAKEUP9_IRQn);
NVIC_DisableIRQ(WAKEUP10_IRQn);
NVIC_DisableIRQ(WAKEUP11_IRQn);
NVIC_DisableIRQ(WAKEUP12_IRQn);
NVIC_DisableIRQ(CAN_IRQn);

GUI_Init();
GUI_Clear();
GUI_DispString("www.keil.com");

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; while(1);
}
&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can someone help me why these problems are happening?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:16:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/emWin-errors-with-NXP-Library-Undefined-Symbol-GUI-X-InitOS-and/m-p/515283#M1098</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:16:01Z</dc:date>
    </item>
  </channel>
</rss>

