summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2019-01-17 16:43:20 +1100
committerDamien George <damien.p.george@gmail.com>2019-01-17 16:43:20 +1100
commiteb446ec2276baa7fa1d11056df39de1143487c06 (patch)
tree93a3c17de37feaf6489ad0b02584d0355f2f4d26
parent90f86a0197f8acb53add617f48a43947c2d5e223 (diff)
esp32/Makefile: Use system provided math library rather than uPy one.
The ESP IDF system already provides a math library, and that one is likely to be better tuned to the Xtensa architecture. The IDF components are also tested against its own math library, so best not to override it. Using the system provided library also allows to easily switch to double-precision floating point by changing MICROPY_FLOAT_IMPL to MICROPY_FLOAT_IMPL_DOUBLE.
-rw-r--r--ports/esp32/Makefile18
1 files changed, 0 insertions, 18 deletions
diff --git a/ports/esp32/Makefile b/ports/esp32/Makefile
index 39ecced42..64ca664ee 100644
--- a/ports/esp32/Makefile
+++ b/ports/esp32/Makefile
@@ -182,24 +182,6 @@ EXTMOD_SRC_C = $(addprefix extmod/,\
)
LIB_SRC_C = $(addprefix lib/,\
- libm/math.c \
- libm/fmodf.c \
- libm/roundf.c \
- libm/ef_sqrt.c \
- libm/kf_rem_pio2.c \
- libm/kf_sin.c \
- libm/kf_cos.c \
- libm/kf_tan.c \
- libm/ef_rem_pio2.c \
- libm/sf_sin.c \
- libm/sf_cos.c \
- libm/sf_tan.c \
- libm/sf_frexp.c \
- libm/sf_modf.c \
- libm/sf_ldexp.c \
- libm/asinfacosf.c \
- libm/atanf.c \
- libm/atan2f.c \
mp-readline/readline.c \
netutils/netutils.c \
timeutils/timeutils.c \