Loading...
 
Skip to main content

System Workbench for STM32


VFP register arguments with static library link error with STM32L4

Thanks for information. Now it is giving error for "uses VFP register arguments, " any suggestion

16:09:07 **** Incremental Build of configuration Debug for project UnitTest ****
make all
Building target: UnitTest.elf
Invoking: MCU GCC Linker
arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -L"/home/sachin/workspace/UnitTest/STM32_display/Lib" -T"/home/sachin/workspace/UnitTest/LinkerScript.ld" -Wl,-Map=output.map -Wl,--gc-sections -o "UnitTest.elf" @"objects.list" -lSTM32displayV3.0.0_CM4_GCC -lSTM32displayV3.0.0_CM4_GCC_ot -lm
/home/sachin/Ac6/SystemWorkbench/plugins/fr.ac6.mcu.externaltools.arm-none.linux64_1.15.0.201708311556/tools/compiler/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld: error: UnitTest.elf uses VFP register arguments, /home/sachin/workspace/UnitTest/STM32_display/Lib/libSTM32displayV3.0.0_CM4_GCC.a(display.o) does not
/home/sachin/Ac6/SystemWorkbench/plugins/fr.ac6.mcu.externaltools.arm-none.linux64_1.15.0.201708311556/tools/compiler/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file /home/sachin/workspace/UnitTest/STM32_display/Lib/libSTM32displayV3.0.0_CM4_GCC.a(display.o)
collect2: error: ld returned 1 exit status
make: *** UnitTest.elf Error 1
makefile:37: recipe for target 'UnitTest.elf' failed

 
Collapse/expand modules below