Skip to main content
Gpeti
Senior
September 13, 2021
Question

What arm-none-eabi-gcc libm.a for STM32H753 bare-metal ?

  • September 13, 2021
  • 0 replies
  • 965 views

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

This topic has been closed for replies.