[LPC43xx] Multicore linking problem

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

[LPC43xx] Multicore linking problem

895件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by MaSt on Tue Oct 29 23:35:36 MST 2013
Hi,
when linking the two projects CortexM4 with FPv4-SP(Hard ABI) enabled for C-Compiler and Linker and the Cortex-M0 to one binary, the linker complains following:

error: Multicore-M4.axf uses VFP register arguments, Multicore-M0.axf.o does not

failed to merge target specific data of file Multicore-M0.axf.o

We have floating-point calculations on the M4-core, so HW-Floating point is highly appreciated. How can i use the M4-HW-Floating point and dualcore in LPCXpresso (V6.1.0)?
0 件の賞賛
返信
3 返答(返信)

857件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by lpcxpresso-support on Wed Oct 30 03:22:55 MST 2013

Quote: starblue
You shouldn't link them together, you need a separate binary for each core.



Suggest you read:

http://www.lpcware.com/content/faq/lpcxpresso/lpc43xx-multicore-apps

Regards,
LPCXpresso Support
0 件の賞賛
返信

857件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by starblue on Wed Oct 30 01:48:05 MST 2013
You shouldn't link them together, you need a separate binary for each core.
0 件の賞賛
返信

857件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by lpcxpresso-support on Wed Oct 30 01:37:42 MST 2013
Switching back to the default floating point option of using FPv4-SP (Soft ABI) is the simplest way to avoid this issue. This will still use floating point instructions but passes FP parameters between functions using the integer registers.

However it ought be possible to use Hard ABI, and as you have found this currently causes issues when doing multicore projects.

We will investigate this. But in the meantime you could temporarily add the "--no-warn-mismatch" option to the MCU Linker - Miscellaneous - Other options settings in Project Properties to avoid the issue.

Regards,
LPCXpresso Support
0 件の賞賛
返信