Welcome,
How to add GUI Library (ARM MDK-Pro) to current project? I have board (EB-SAM9G45) with ATMEL AT91SAM9G45.
My project is like that:
//it's the same without that includes: #include <board.h> #include <board_memories.h> #include <pio/pio.h> #include <dbgu/dbgu.h> #include <tsd/tsd.h> #include <lcd/lcdd.h> #include <lcd/draw.h> #include <lcd/color.h> #include <stdio.h> #include <string.h> #include <utility/trace.h> #include <irq/irq.h> #include <GUI.h> int main(void) { GUI_Init(); }
And linker says: .\RUN_IN_DDRAM\touchscreen.axf: Error: L6218E: Undefined symbol GUI_Init (referred from main.o).
I tried example from Keil website (apnt_234.zip) and it's working. Only difference (except processor...) - that example has added lib file (Keil\ARM\Segger\emWin\Lib\GUI_CM3.lib) to project. I cannot fine informations about that, but when I tried to do the same (I have tried all 5 lib files from Keil\ARM\Segger\emWin\Lib\) it isn't working. Occurs errors like:
".\RUN_IN_DDRAM\touchscreen.axf: error: L6789U: Library GUI_ARM_B.lib member gui_core.o : Endianness mismatch.",
".\RUN_IN_DDRAM\touchscreen.axf: Error: L6367E: gui_core.o(i.GUI_Clear) attributes are not compatible with the provided cpu and fpu attributes".
So, how to add GUI Library to project?