summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--esp8266/Makefile14
-rw-r--r--esp8266/mpconfigport.h2
2 files changed, 15 insertions, 1 deletions
diff --git a/esp8266/Makefile b/esp8266/Makefile
index f6681eefa..62f1d2a20 100644
--- a/esp8266/Makefile
+++ b/esp8266/Makefile
@@ -76,6 +76,20 @@ LIB_SRC_C = $(addprefix lib/,\
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 \
diff --git a/esp8266/mpconfigport.h b/esp8266/mpconfigport.h
index 53eda128b..c24c2cc11 100644
--- a/esp8266/mpconfigport.h
+++ b/esp8266/mpconfigport.h
@@ -28,7 +28,7 @@
#define MICROPY_PY_GC (1)
#define MICROPY_PY_ARRAY (1)
#define MICROPY_PY_COLLECTIONS (1)
-#define MICROPY_PY_MATH (0)
+#define MICROPY_PY_MATH (1)
#define MICROPY_PY_CMATH (0)
#define MICROPY_PY_IO (1)
#define MICROPY_PY_STRUCT (1)