esp8266/Makefile: Add more libm files to build.
Allows MICROPY_PY_MATH_SPECIAL_FUNCTIONS to be enabled, and for ulab to be built as a user C module.
This commit is contained in:
parent
25159129dd
commit
b099db4426
@ -123,21 +123,29 @@ LIB_SRC_C = $(addprefix lib/,\
|
|||||||
libm/fmodf.c \
|
libm/fmodf.c \
|
||||||
libm/nearbyintf.c \
|
libm/nearbyintf.c \
|
||||||
libm/ef_sqrt.c \
|
libm/ef_sqrt.c \
|
||||||
|
libm/erf_lgamma.c \
|
||||||
libm/kf_rem_pio2.c \
|
libm/kf_rem_pio2.c \
|
||||||
libm/kf_sin.c \
|
libm/kf_sin.c \
|
||||||
libm/kf_cos.c \
|
libm/kf_cos.c \
|
||||||
libm/kf_tan.c \
|
libm/kf_tan.c \
|
||||||
libm/ef_rem_pio2.c \
|
libm/ef_rem_pio2.c \
|
||||||
|
libm/sf_erf.c \
|
||||||
libm/sf_sin.c \
|
libm/sf_sin.c \
|
||||||
libm/sf_cos.c \
|
libm/sf_cos.c \
|
||||||
libm/sf_tan.c \
|
libm/sf_tan.c \
|
||||||
libm/sf_frexp.c \
|
libm/sf_frexp.c \
|
||||||
libm/sf_modf.c \
|
libm/sf_modf.c \
|
||||||
libm/sf_ldexp.c \
|
libm/sf_ldexp.c \
|
||||||
|
libm/acoshf.c \
|
||||||
libm/asinfacosf.c \
|
libm/asinfacosf.c \
|
||||||
|
libm/asinhf.c \
|
||||||
libm/atanf.c \
|
libm/atanf.c \
|
||||||
|
libm/atanhf.c \
|
||||||
libm/atan2f.c \
|
libm/atan2f.c \
|
||||||
|
libm/log1pf.c \
|
||||||
libm/roundf.c \
|
libm/roundf.c \
|
||||||
|
libm/wf_lgamma.c \
|
||||||
|
libm/wf_tgamma.c \
|
||||||
)
|
)
|
||||||
|
|
||||||
SHARED_SRC_C = $(addprefix shared/,\
|
SHARED_SRC_C = $(addprefix shared/,\
|
||||||
|
@ -186,6 +186,9 @@ extern const struct _mp_obj_module_t mp_module_onewire;
|
|||||||
mp_obj_t pin_irq_handler[16]; \
|
mp_obj_t pin_irq_handler[16]; \
|
||||||
byte *uart0_rxbuf; \
|
byte *uart0_rxbuf; \
|
||||||
|
|
||||||
|
// We need an implementation of the log2 function which is not a macro
|
||||||
|
#define MP_NEED_LOG2 (1)
|
||||||
|
|
||||||
// We need to provide a declaration/definition of alloca()
|
// We need to provide a declaration/definition of alloca()
|
||||||
#include <alloca.h>
|
#include <alloca.h>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user