AnsweredAssumed Answered

libPDMFilter_GCC.a (pdm_filter.o) does not uses VFP

Question asked by lebedev.ivan on Nov 8, 2012
Latest reply on Dec 6, 2012 by fm
How I can build my application with STM32F4-Discovery_FW_V1.1.0 in VFP notification?

arm-none-eabi-ar -r libstm32f4.a misc.o stm32f4xx_dma.o stm32f4xx_rcc.o stm32f4xx_adc.o stm32f4xx_exti.o stm32f4xx_rng.o stm32f4xx_can.o stm32f4xx_flash.o stm32f4xx_rtc.o stm32f4xx_crc.o stm32f4xx_fsmc.o stm32f4xx_sdio.o stm32f4xx_cryp_aes.o stm32f4xx_gpio.o stm32f4xx_spi.o stm32f4xx_cryp.o stm32f4xx_hash.o stm32f4xx_syscfg.o stm32f4xx_cryp_des.o stm32f4xx_hash_md5.o stm32f4xx_tim.o stm32f4xx_cryp_tdes.o stm32f4xx_hash_sha1.o stm32f4xx_usart.o stm32f4xx_dac.o stm32f4xx_i2c.o stm32f4xx_wwdg.o stm32f4xx_dbgmcu.o stm32f4xx_iwdg.o stm32f4xx_dcmi.o stm32f4xx_pwr.o
make[1]: Leaving directory `/home/lin/stm32f4/blinky/lib'
arm-none-eabi-gcc -g -O2 -Wall -Tstm32_flash.ld  -mlittle-endian -mthumb -mcpu=cortex-m4 -mthumb-interwork -mfloat-abi=hard -mfpu=fpv4-sp-d16 -Iinc -Ilib -Ilib/inc  -Ilib/inc/core -Ilib/inc/peripherals  -I/home/lin/stm32f4/src/STM32F4-Discovery_FW_V1.1.0/Utilities/STM32F4-Discovery src/main.c src/stm32f4xx_it.c src/system_stm32f4xx.c lib/startup_stm32f4xx.s /home/lin/stm32f4/src/STM32F4-Discovery_FW_V1.1.0/Utilities/STM32F4-Discovery/libPDMFilter_GCC.a -o main.elf -Llib -lstm32f4
/home/lin/stm32f4/bin/lib/gcc/arm-none-eabi/4.6.2/../../../../arm-none-eabi/bin/ld: error: main.elf uses VFP register arguments, /home/lin/st32f4/src/STM32F4-Discovery_FW_V1.1.0/Utilities/STM32F4-Discovery/libPDMFilter_GCC.a(pdm_filter.o) does not
/home/lin/st32f4/bin/lib/gcc/arm-none-eabi/4.6.2/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file /home/lin/st32f4/src/STM32F4-Discovery_FW_V1.1.0/Utilities/STM32F4-Discovery/libPDMFilter_GCC.a(pdm_filter.o)
collect2: ld returned 1 exit status
make: *** [main.elf] Error 1

Outcomes