samd/mcu: Enable the math module on SAMD51.
This commit is contained in:
parent
00dcf04643
commit
387025f5d1
|
@ -9,7 +9,8 @@
|
|||
|
||||
#define MICROPY_FLOAT_IMPL (MICROPY_FLOAT_IMPL_FLOAT)
|
||||
#define MICROPY_PY_BUILTINS_COMPLEX (0)
|
||||
#define MICROPY_PY_MATH (0)
|
||||
#define MICROPY_PY_MATH (1)
|
||||
#define MP_NEED_LOG2 (1)
|
||||
#define MICROPY_PY_CMATH (0)
|
||||
|
||||
#define MICROPY_PY_UOS_URANDOM (1)
|
||||
|
|
|
@ -1 +1,30 @@
|
|||
SRC_S += shared/runtime/gchelper_m3.s
|
||||
|
||||
SRC_MOD += $(addprefix lib/libm/,\
|
||||
acoshf.c \
|
||||
asinfacosf.c \
|
||||
asinhf.c \
|
||||
atan2f.c \
|
||||
atanf.c \
|
||||
atanhf.c \
|
||||
ef_rem_pio2.c \
|
||||
erf_lgamma.c \
|
||||
fmodf.c \
|
||||
kf_cos.c \
|
||||
kf_rem_pio2.c \
|
||||
kf_sin.c \
|
||||
kf_tan.c \
|
||||
log1pf.c \
|
||||
math.c \
|
||||
nearbyintf.c \
|
||||
roundf.c \
|
||||
sf_cos.c \
|
||||
sf_erf.c \
|
||||
sf_frexp.c \
|
||||
sf_ldexp.c \
|
||||
sf_modf.c \
|
||||
sf_sin.c \
|
||||
sf_tan.c \
|
||||
wf_lgamma.c \
|
||||
wf_tgamma.c \
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue