AnsweredAssumed Answered

floating point unit

Question asked by Paul Hembrook on Apr 29, 2019
Latest reply on Apr 30, 2019 by Con Verse

Have used the 4337 board with the tools for a few projects. Have selected some projects and have built a workspace for actual product development using the 4337 on our own board.

 

Recently we have investigating using the 54102. So I took the ADC example and did some initial code development incorporating some filters. I wan't to investigate the time savings if I engage the floating point hardware. I went to the IDE (MCUXpresso) and select FPv4-SP(Hard ABI) on MCU C Compiler-Architecture, MCU Assembler-Archtecture and MCU Linker-Architecture. I did a clean and build and get the following error(s)

 

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

c:/nxp/mcuxpressoide_10.3.0_2200/ide/plugins/com.nxp.mcuxpresso.tools.win32_10.3.0.201811011841/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/bin/ld.exe: error: periph_adc.axf uses VFP register arguments, C:\Users\phembrook\Documents\MCUXpressoIDE_10.3.0_2200\workspace\lpc_board_lpcxpresso_54102\Debug\liblpc_board_lpcxpresso_54102.a(board.o) does not
c:/nxp/mcuxpressoide_10.3.0_2200/ide/plugins/com.nxp.mcuxpresso.tools.win32_10.3.0.201811011841/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file C:\Users\phembrook\Documents\MCUXpressoIDE_10.3.0_2200\workspace\lpc_board_lpcxpresso_54102\Debug\liblpc_board_lpcxpresso_54102.a(board.o)
c:/nxp/mcuxpressoide_10.3.0_2200/ide/plugins/com.nxp.mcuxpresso.tools.win32_10.3.0.201811011841/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/bin/ld.exe: error: periph_adc.axf uses VFP register arguments, C:\Users\phembrook\Documents\MCUXpressoIDE_10.3.0_2200\workspace\lpc_board_lpcxpresso_54102\Debug\liblpc_board_lpcxpresso_54102.a(board_sysinit.o) does not
c:/nxp/mcuxpressoide_10.3.0_2200/ide/plugins/com.nxp.mcuxpresso.tools.win32_10.3.0.201811011841/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file C:\Users\phembrook\Documents\MCUXpressoIDE_10.3.0_2200\workspace\lpc_board_lpcxpresso_54102\Debug\liblpc_board_lpcxpresso_54102.a(board_sysinit.o)
c:/nxp/mcuxpressoide_10.3.0_2200/ide/plugins/com.nxp.mcuxpresso.tools.win32_10.3.0.201811011841/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/bin/ld.exe: error: periph_adc.axf uses VFP register arguments, C:\Users\phembrook\Documents\MCUXpressoIDE_10.3.0_2200\workspace\lpc_chip_5410x\Debug\liblpc_chip_5410x.a(adc_5410x.o) does not
c:/nxp/mcuxpressoide_10.3.0_2200/ide/plugins/com.nxp.mcuxpresso.tools.win32_10.3.0.201811011841/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file C:\Users\phembrook\Documents\MCUXpressoIDE_10.3.0_2200\workspace\lpc_chip_5410x\Debug\liblpc_chip_5410x.a(adc_5410x.o)
c:/nxp/mcuxpressoide_10.3.0_2200/ide/plugins/com.nxp.mcuxpresso.tools.win32_10.3.0.201811011841/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/bin/ld.exe: error: periph_adc.axf uses VFP register arguments, C:\Users\phembrook\Documents\MCUXpressoIDE_10.3.0_2200\workspace\lpc_chip_5410x\Debug\liblpc_chip_5410x.a(chip_5410x.o) does not
c:/nxp/mcuxpressoide_10.3.0_2200/ide/plugins/com.nxp.mcuxpresso.tools.win32_10.3.0.201811011841/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file C:\Users\phembrook\Documents\MCUXpressoIDE_10.3.0_2200\workspace\lpc_chip_5410x\Debug\liblpc_chip_5410x.a(chip_5410x.o)
c:/nxp/mcuxpressoide_10.3.0_2200/ide/plugins/com.nxp.mcuxpresso.tools.win32_10.3.0.201811011841/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/bin/ld.exe: error: periph_adc.axf uses VFP register arguments, C:\Users\phembrook\Documents\MCUXpressoIDE_10.3.0_2200\workspace\lpc_chip_5410x\Debug\liblpc_chip_5410x.a(clock_5410x.o) does not
c:/nxp/mcuxpressoide_10.3.0_2200/ide/plugins/com.nxp.mcuxpresso.tools.win32_10.3.0.201811011841/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file C:\Users\phembrook\Documents\MCUXpressoIDE_10.3.0_2200\workspace\lpc_chip_5410x\Debug\liblpc_chip_5410x.a(clock_5410x.o)
c:/nxp/mcuxpressoide_10.3.0_2200/ide/plugins/com.nxp.mcuxpresso.tools.win32_10.3.0.201811011841/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/bin/ld.exe: error: periph_adc.axf uses VFP register arguments, C:\Users\phembrook\Documents\MCUXpressoIDE_10.3.0_2200\workspace\lpc_chip_5410x\Debug\liblpc_chip_5410x.a(fpu_init.o) does not
c:/nxp/mcuxpressoide_10.3.0_2200/ide/plugins/com.nxp.mcuxpresso.tools.win32_10.3.0.201811011841/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file C:\Users\phembrook\Documents\MCUXpressoIDE_10.3.0_2200\workspace\lpc_chip_5410x\Debug\liblpc_chip_5410x.a(fpu_init.o)
c:/nxp/mcuxpressoide_10.3.0_2200/ide/plugins/com.nxp.mcuxpresso.tools.win32_10.3.0.201811011841/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/bin/ld.exe: error: periph_adc.axf uses VFP register arguments, C:\Users\phembrook\Documents\MCUXpressoIDE_10.3.0_2200\workspace\lpc_chip_5410x\Debug\liblpc_chip_5410x.a(gpio_5410x.o) does not
c:/nxp/mcuxpressoide_10.3.0_2200/ide/plugins/com.nxp.mcuxpresso.tools.win32_10.3.0.201811011841/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file C:\Users\phembrook\Documents\MCUXpressoIDE_10.3.0_2200\workspace\lpc_chip_5410x\Debug\liblpc_chip_5410x.a(gpio_5410x.o)
c:/nxp/mcuxpressoide_10.3.0_2200/ide/plugins/com.nxp.mcuxpresso.tools.win32_10.3.0.201811011841/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/bin/ld.exe: error: periph_adc.axf uses VFP register arguments, C:\Users\phembrook\Documents\MCUXpressoIDE_10.3.0_2200\workspace\lpc_chip_5410x\Debug\liblpc_chip_5410x.a(iocon_5410x.o) does not
c:/nxp/mcuxpressoide_10.3.0_2200/ide/plugins/com.nxp.mcuxpresso.tools.win32_10.3.0.201811011841/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file C:\Users\phembrook\Documents\MCUXpressoIDE_10.3.0_2200\workspace\lpc_chip_5410x\Debug\liblpc_chip_5410x.a(iocon_5410x.o)
c:/nxp/mcuxpressoide_10.3.0_2200/ide/plugins/com.nxp.mcuxpresso.tools.win32_10.3.0.201811011841/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/bin/ld.exe: error: periph_adc.axf uses VFP register arguments, C:\Users\phembrook\Documents\MCUXpressoIDE_10.3.0_2200\workspace\lpc_chip_5410x\Debug\liblpc_chip_5410x.a(pll_5410x.o) does not
c:/nxp/mcuxpressoide_10.3.0_2200/ide/plugins/com.nxp.mcuxpresso.tools.win32_10.3.0.201811011841/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file C:\Users\phembrook\Documents\MCUXpressoIDE_10.3.0_2200\workspace\lpc_chip_5410x\Debug\liblpc_chip_5410x.a(pll_5410x.o)
c:/nxp/mcuxpressoide_10.3.0_2200/ide/plugins/com.nxp.mcuxpresso.tools.win32_10.3.0.201811011841/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/bin/ld.exe: error: periph_adc.axf uses VFP register arguments, C:\Users\phembrook\Documents\MCUXpressoIDE_10.3.0_2200\workspace\lpc_chip_5410x\Debug\liblpc_chip_5410x.a(syscon_5410x.o) does not
c:/nxp/mcuxpressoide_10.3.0_2200/ide/plugins/com.nxp.mcuxpresso.tools.win32_10.3.0.201811011841/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file C:\Users\phembrook\Documents\MCUXpressoIDE_10.3.0_2200\workspace\lpc_chip_5410x\Debug\liblpc_chip_5410x.a(syscon_5410x.o)
c:/nxp/mcuxpressoide_10.3.0_2200/ide/plugins/com.nxp.mcuxpresso.tools.win32_10.3.0.201811011841/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/bin/ld.exe: error: periph_adc.axf uses VFP register arguments, C:\Users\phembrook\Documents\MCUXpressoIDE_10.3.0_2200\workspace\lpc_chip_5410x\Debug\liblpc_chip_5410x.a(sysinit_5410x.o) does not
c:/nxp/mcuxpressoide_10.3.0_2200/ide/plugins/com.nxp.mcuxpresso.tools.win32_10.3.0.201811011841/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file C:\Users\phembrook\Documents\MCUXpressoIDE_10.3.0_2200\workspace\lpc_chip_5410x\Debug\liblpc_chip_5410x.a(sysinit_5410x.o)
c:/nxp/mcuxpressoide_10.3.0_2200/ide/plugins/com.nxp.mcuxpresso.tools.win32_10.3.0.201811011841/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/bin/ld.exe: error: periph_adc.axf uses VFP register arguments, C:\Users\phembrook\Documents\MCUXpressoIDE_10.3.0_2200\workspace\lpc_chip_5410x\Debug\liblpc_chip_5410x.a(uart_5410x.o) does not
c:/nxp/mcuxpressoide_10.3.0_2200/ide/plugins/com.nxp.mcuxpresso.tools.win32_10.3.0.201811011841/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file C:\Users\phembrook\Documents\MCUXpressoIDE_10.3.0_2200\workspace\lpc_chip_5410x\Debug\liblpc_chip_5410x.a(uart_5410x.o)
c:/nxp/mcuxpressoide_10.3.0_2200/ide/plugins/com.nxp.mcuxpresso.tools.win32_10.3.0.201811011841/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/bin/ld.exe: error: periph_adc.axf uses VFP register arguments, C:\Users\phembrook\Documents\MCUXpressoIDE_10.3.0_2200\workspace\lpc_chip_5410x\Debug\liblpc_chip_5410x.a(ring_buffer.o) does not
c:/nxp/mcuxpressoide_10.3.0_2200/ide/plugins/com.nxp.mcuxpresso.tools.win32_10.3.0.201811011841/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file C:\Users\phembrook\Documents\MCUXpressoIDE_10.3.0_2200\workspace\lpc_chip_5410x\Debug\liblpc_chip_5410x.a(ring_buffer.o)
c:/nxp/mcuxpressoide_10.3.0_2200/ide/plugins/com.nxp.mcuxpresso.tools.win32_10.3.0.201811011841/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/bin/ld.exe: error: periph_adc.axf uses VFP register arguments, C:\Users\phembrook\Documents\MCUXpressoIDE_10.3.0_2200\workspace\lpc_chip_5410x\libs\libpower.a(power_library.o) does not
c:/nxp/mcuxpressoide_10.3.0_2200/ide/plugins/com.nxp.mcuxpresso.tools.win32_10.3.0.201811011841/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file C:\Users\phembrook\Documents\MCUXpressoIDE_10.3.0_2200\workspace\lpc_chip_5410x\libs\libpower.a(power_library.o)
collect2.exe: error: ld returned 1 exit status
make: *** [makefile:32: periph_adc.axf] Error 1

 

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

 

Don't know how to proceed from here !!

Outcomes