2023-02-10 07:27 AM
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-m33
after
#######################################
# CFLAGS
#######################################
# cpu
Moreover, 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-d16
by this :
FPU = -mfpu=fpv5-sp-d16
Please 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.
Solved! Go to Solution.
2023-02-13 07:03 AM
Hello @Bertha
Thank you for your contributions and for your detailed explanations,
I confirm the issue on my side, it has been reported to STM32CubeMX development team .
Internal ticket number: 145419(This is an internal tracking number and is not accessible or usable by customers).
I will keep you posted with updates.
Thx
Ghofrane
2023-02-13 07:03 AM
Hello @Bertha
Thank you for your contributions and for your detailed explanations,
I confirm the issue on my side, it has been reported to STM32CubeMX development team .
Internal ticket number: 145419(This is an internal tracking number and is not accessible or usable by customers).
I will keep you posted with updates.
Thx
Ghofrane
2023-03-07 12:50 AM
Hello @Bertha
I am glad to inform you that the Internal ticket number: 145419 is fixed and integrated in the latest CubeMX version 6.8.0 .
This is the LINK for downloading it .
Thanks again for your contributions .
Ghofrane.