emWin errors with NXP Library: Undefined Symbol GUI_X_InitOS and others

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

emWin errors with NXP Library: Undefined Symbol GUI_X_InitOS and others

953 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by rhaguiuda on Tue Jul 01 05:49:08 MST 2014
I'm trying to create a configuration to use emWin 5.24 with a Winstar 320x240 Monocrome display that has a RA8835 controller.
I'm using the emWin library by NXP, in a LCP1114 Cortex-M0 and Keil uVision 5.11.

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.

I'm having lots of troubles configuring emWin:

When I try to compile my project the compiler outputs four errors:

Undefined symbol GUI_X_GetTaskId (reffered from GUI_Task.o)
Undefined symbol GUI_X_InitOs (reffered from GUI_Task.o)
Undefined symbol GUI_X_Lock (reffered from GUI_Task.o)
Undefined symbol GUI_X_Unlock (reffered from GUI_Task.o)

I have disable multitask support in GUIConf.h by setting #define GUI_OS 0.

Question 1:
Why the compiler is outputting these errors I have disable the GUI_OS? Shouln't these methods be called only when using an OS?

Question 2:
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:

int main(void)
{
InitIO();

BitSet(&LPC_SYSCON->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");

        while(1);
}


Can someone help me why these problems are happening?
Labels (1)
0 Kudos
Reply
0 Replies