Loading...
 

Zephyr project on STM32

   Zephyr Workbench, a VSCode extension to manage Zephyr on STM32.
It enables users to easily create, develop, and debug Zephyr applications.
Main features:
  • Install host dependencies.
  • Import toolchain and SDK.
  • Create, configure, build and manage apps.
  • Debug STM32.
You can directly download it from the VSCode marketplace
For more details, visit the Zephyr Workbench

System Workbench for STM32


compilation error “uses VFP register arguments”

compilation error “uses VFP register arguments, ” when compiling with static library, 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