aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien George2018-09-26 15:05:19 +1000
committerDamien George2018-09-26 15:05:19 +1000
commit84090edaa3537fcd6ec00d59d76619a6c3fee713 (patch)
tree89ace2b6c90eeb9dff1df6a3dc01f5cd2179922f
parent8c656754aa2892cbd36968bfaab1ff7033edeb0f (diff)
stm32/mpconfigport.h: Enable math.factorial, optimised version.
-rw-r--r--ports/stm32/mpconfigport.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ports/stm32/mpconfigport.h b/ports/stm32/mpconfigport.h
index 9149a5338..2c052d77f 100644
--- a/ports/stm32/mpconfigport.h
+++ b/ports/stm32/mpconfigport.h
@@ -52,6 +52,7 @@
#define MICROPY_OPT_COMPUTED_GOTO (1)
#define MICROPY_OPT_CACHE_MAP_LOOKUP_IN_BYTECODE (0)
#define MICROPY_OPT_MPZ_BITWISE (1)
+#define MICROPY_OPT_MATH_FACTORIAL (1)
// Python internal features
#define MICROPY_READER_VFS (1)
@@ -106,6 +107,7 @@
#define MICROPY_PY_COLLECTIONS_DEQUE (1)
#define MICROPY_PY_COLLECTIONS_ORDEREDDICT (1)
#define MICROPY_PY_MATH_SPECIAL_FUNCTIONS (1)
+#define MICROPY_PY_MATH_FACTORIAL (1)
#define MICROPY_PY_CMATH (1)
#define MICROPY_PY_IO (1)
#define MICROPY_PY_IO_IOBASE (1)