cancel
Showing results for 
Search instead for 
Did you mean: 

Makefile project for STM32G431 fail to build

PHryn
Associate III

Hi all,

I am trying to create simple makefile project in CubeMX for stm32g431.

After executing makefile I get error:

/home/pawel/STM32Cube/Repository/STM32Cube_FW_G4_V1.1.0/Drivers/CMSIS/Include/cmsis_gcc.h: In function '__get_CONTROL':
/home/pawel/STM32Cube/Repository/STM32Cube_FW_G4_V1.1.0/Drivers/CMSIS/Include/cmsis_gcc.h:152:1: sorry, unimplemented: Thumb-1 hard-float VFP ABI
 {
 ^

I suspect it has something to do with this:

# float-abi

FLOAT-ABI = -mfloat-abi=hard

Is it something to do with compiler? At the moment I am using gcc-arm-none-eabi-7-2017-q4-major .

I have to mention that I didn't have any problems with other sm32f and stm32l.

Regards,

Pawel

10 REPLIES 10
WTom
Associate III

That's good..Thank-you. /Wayne