Converting cortex M3 lib (which was genreted using IAR tool chain) for use with XPRESSO IDE

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Converting cortex M3 lib (which was genreted using IAR tool chain) for use with XPRESSO IDE

886件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by ramakrishna.boyina on Tue Oct 29 00:31:11 MST 2013
Hi All,

I have Cortex M3 lib which was generated using IAR tool chain. when i use the lib with my source code in XPRESSO IDE, i have got the following warnings:

c:/nxp/lpcxpresso_6.0.4_159/lpcxpresso/tools/bin/../lib/gcc/arm-none-eabi/4.6.2/../../../../arm-none-eabi/bin/ld.exe: Warning: ../\libecc.a(eccas163.obj): Conflicting platform configuration.

Code didn't worked on target platform.

Is there any solution we can use the lib in XPRESSO tool chain like passing some flags so that it will compile without warnings and code will work on target platform.

thanks & regards
Ramakrishna.
0 件の賞賛
返信
2 返答(返信)

863件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by ramakrishna.boyina on Tue Oct 29 02:47:26 MST 2013
Hi,

Thank your mail.

The library built for Cortex M3 with IAR tool chain with following compiler options:

Compiler options: -DARM -DNO_SEED_ENTROPY --dlib_config c:/Program Files/IAR Systems/Embedded Workbench 5.4/arm/inc/Dlib_Config_Normal.h --cpu Cortex-M3 --cpu_mode thumb --endian little -e --fpu None --no_tbaa --no_scheduling --no_inline --no_unroll --diag_suppress Pa050

I am using lib with ucos-iii blinky example code.

If i use lib with IAR tool chain for blinky example, i didn't get any warnings and able to use function APIs provides by the lib.

But if I use lib with XPRESSO for blinky example, i hove got the lot of following warnings:

c:/nxp/lpcxpresso_6.0.4_159/lpcxpresso/tools/bin/../lib/gcc/arm-none-eabi/4.6.2/../../../../arm-none-eabi/bin/ld.exe: Warning: ../\libecc.a(eccas163.obj): Conflicting platform configuration

i have debug (hardware debugging) the code by calling one of API provided by the lib and after calling that function it is not returned from that function.

Is there any options that we can provide in XPRESSO so that we can use lib in XPRESSO IDE.

thanks & regards
Ramakrishna.
0 件の賞賛
返信

863件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by lpcxpresso-support on Tue Oct 29 02:26:46 MST 2013
I suspect that the warning is actually benign, though without seeing it, it is hard to tell for real.

And with regards to the code not running, you really need to provide more details for anyone to really help you here.

For example you say that the library was built for Cortex-M3, but was it intended to run on the actual MCU that you are trying it on? ie does it contain code/options specific to a different MCU, which may not apply to the part you are actually using?

And how do you know that it is the library code that is causing you issues on the target MCU?

Regards,
LPCXpresso Support


0 件の賞賛
返信