STM32CubeMX H743ZIT Makefile problems
I'm trying to build a simple 'hello world' program on the STM32H743 using the Makefile option and the standard Ubuntu arm-none-eabi-gcc V 4.9.3. At this stage my program doesn't even do floating point, but it will eventually, so I'd like to get the h/w floating point working. The link fails with:
/usr/lib/gcc/arm-none-eabi/4.9.3/../../../arm-none-eabi/bin/ld: failed to merge target specific data of file build/stm32h7xx_hal_i2c.o
/usr/lib/gcc/arm-none-eabi/4.9.3/../../../arm-none-eabi/bin/ld: error: build/stm32h7xx_hal_rcc_ex.o uses VFP register arguments, build/test_H7.elf does notEvery object gets listed with the above error, I've just used stm32h7xx_hal_rcc_ex.o as an example. All objects get compiled with: -mcpu=cortex-m7 -mthumb -mfpu=fpv5-d16 -mfloat-abi=hard as per the switches in the Makefile generated by CubeMX (V 4.25.1) The STM32Cube MCU Package for STM32H7 is version 1.2.0.
