Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

openthread: add soft float fallback for lib path calculation #1429

Merged

Conversation

maciejbaczmanski
Copy link
Member

@maciejbaczmanski maciejbaczmanski commented Aug 8, 2024

Add soft float fallback to enable building from libs with softfp ABI enabled.

Code built with soft and softfp float-abi options can be linked together as they both use the same soft-float ABI and generate functions to pass floating-point arguments to integer registers. This is contrary to the hard option where floating-point arguments are passed directly to FPU registers. softfp additionally allows using hardware floating-point instructions instead of emulated ones.

Add soft float fallback to enable building from libs with softfp
ABI enabled.

Code built with `soft` and `softfp` `float-abi` options
can be linked together as they both use the same soft-float ABI
and generate functions to pass floating-point arguments
to integer registers.
This is contrary to the `hard` option where floating-point arguments
are passed directly to FPU registers.
`softfp` additionally allows using hardware floating-point
instructions instead of emulated ones.

Signed-off-by: Maciej Baczmanski <[email protected]>
@nordicjm nordicjm merged commit 4309051 into nrfconnect:v2.7-branch Aug 9, 2024
3 checks passed
@maciejbaczmanski maciejbaczmanski deleted the ot_lib_cmake_fix_2_7 branch August 9, 2024 11:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants