mbed compiler - Import emWin precompiled libraries

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

mbed compiler - Import emWin precompiled libraries

1,363 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by frankvnk on Sun Apr 07 03:04:03 MST 2013

Is it possible to import the precompiled emWin libraries into the mbed compiler?


I already tried modifying the mcb1700bsp at <a href="http://www.lpcware.com/content/nxpfile/nxpemwin514mcb1700bsp">http://www.lpcware.com/content/nxpfile/nxpemwin514mcb1700bsp</a> but compiling results in errors.


Or do we need to ask NXP to create the precompiled libraries for the mbed?

Labels (1)
0 Kudos
Reply
2 Replies

1,315 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by frankvnk on Sat Apr 20 06:24:50 MST 2013

I already carried out following steps:


<ol>
<li>Import folders from NXP_emWin514_MCB1700_BSP : Application, Config, GUI, Inc, System</li>
<li>Renamed all .c files to .cpp</li>
<li>Removed System\HW\DeviceSupport.</li>
<li>Import mbed libraries : mbed-NXP and mbed-src.</li>
<li>Removed path names from includes.</li>
<li>Corrected upper case / lower case in #include.</li>
<li>Created segger_mbed.h for setting __cplusplus.</li>
<li>Modified LCD_X_SPI.cpp for ILI9320.</li>
<li>Problem in Config\GUIconf.cpp : How to define __ICCARM__ or __CC_ARM or __GNUC__ ??</li>
<li>Currently, i disabled ifdefs  in Config\GUIconf.cpp and kept U32 static _aMemory definition from __GNUC__</li>
</ol>

When compiling, i get L6218E errors (Undefined symbol .... referred from ... .o) - see annexed file.


The project code is available at <a href="http://mbed.org/users/frankvnk/code/emWin_mbed/">http://mbed.org/users/frankvnk/code/emWin_mbed/</a>


I don't know if the Keil .o files can be used in the mbed compiler - i posted a question at the mbed communtiy: <a href="https://mbed.org/questions/766/mbed-compiler-Import-emWin-precompiled-l/">https://mbed.org/questions/766/mbed-compiler-Import-emWin-precompiled-l/</a> - got no replies until now.


 


0 Kudos
Reply

1,315 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by mc on Fri Apr 19 12:52:53 MST 2013

Hi Frankvnk,


Could you please let us know the error. Errors may be due to the reason that libraries are compiled in C.


 


------------


Thanks,


NXP Support 

0 Kudos
Reply