2021-09-13 06:48 AM
hello,
I'm working on bare-metal, free-standing software on STM32H753, build with arm-none-eabi_gcc v10. I'm starting to implement math function.
First I noticed that the default libm.a (the one in <INSTALL_PATH>/arm-none-eabi-gcc/lib/libm.a is not compile for hard float abi.
So I tried to link to the correct libm.a but there are many instances.
I chose <INSTALL_PATH>/arm-none-eabi-gcc/lib/thumb/v7e-m+dp/hard/ but I am not 100% sure and I get a nasty bug when using it.
I think ARMv7e-m is the correct architecture for STM32H7 ?
I guess +dp means double precision FPU ?
Where in ARM documentation (or gcc ?) is it described ?
Thank you