baoshi / CubeMX2Makefile

STM32CubeMX project to Makefile converter
152 stars 50 forks source link

Wrong FPU type for Cortex-M7 #17

Open eugene-babichenko opened 8 years ago

eugene-babichenko commented 8 years ago

Reference manual for Cortex-M7 says that FPv5 is used, but your configuration uses FPv4.

slee-ensil commented 8 years ago

You want to replace the 29th line of CubeMX2Makefile.py from ... -mfpu=fpv4-sp-d16 ... to ... -mfpu=fpv5-sp-d16 ...