diff options
| author | Damien George | 2018-09-26 15:05:19 +1000 |
|---|---|---|
| committer | Damien George | 2018-09-26 15:05:19 +1000 |
| commit | 84090edaa3537fcd6ec00d59d76619a6c3fee713 (patch) | |
| tree | 89ace2b6c90eeb9dff1df6a3dc01f5cd2179922f | |
| parent | 8c656754aa2892cbd36968bfaab1ff7033edeb0f (diff) | |
stm32/mpconfigport.h: Enable math.factorial, optimised version.
| -rw-r--r-- | ports/stm32/mpconfigport.h | 2 |
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) |
