Bug in CubeMX generating Makefile, missing some CPU info.
I did not tested if this is specific to all MCU but for U5 familly this is sure:
How to reproduce :
Launch cubeMX, (6.7.0)
select U5 board like nucleo
Go to project manager, and select under Toolchain - Makefile.
--> Bug, the Makefile genereted is missing some details on CPU, so cannot build.
To solve it add :
CPU = -mcpu=cortex-m33after
#######################################
# CFLAGS
#######################################
# cpuMoreover, and i am not sure about this but I think I read somewhere that U5 was using : fpv5-sp-d16 and not fpv4-sp-d16 as in generated makefile
so I replaced
FPU = -mfpu=fpv4-sp-d16by this :
FPU = -mfpu=fpv5-sp-d16Please review the makefile generation under cudeMX seems to have some mistake for U5 series at least.
Hope this help and avoid other to lose time to spot this.
