diff options
| author | Damien George | 2016-11-03 12:26:32 +1100 |
|---|---|---|
| committer | Damien George | 2016-11-03 12:26:32 +1100 |
| commit | cd527bb324ade952d11a134859d38bf5272c165e (patch) | |
| tree | f8b3d1b9a1c98f3d777d9be342c68481917d0d8a /stmhal | |
| parent | 828df54bfeaa4a31040fa534dd2961cc9b4ac16e (diff) | |
lib/libm: Move Thumb-specific sqrtf function to separate file.
This allows it to be used only when the hardware supports VFP
instructions, preventing compile errors.
Diffstat (limited to 'stmhal')
| -rw-r--r-- | stmhal/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/stmhal/Makefile b/stmhal/Makefile index e2e1dc6a1..a7a3018cc 100644 --- a/stmhal/Makefile +++ b/stmhal/Makefile @@ -81,6 +81,7 @@ endif SRC_LIB = $(addprefix lib/,\ libc/string0.c \ libm/math.c \ + libm/thumb_vfp_sqrtf.c \ libm/asinfacosf.c \ libm/atanf.c \ libm/atan2f.c \ |
