aboutsummaryrefslogtreecommitdiff
path: root/unix
diff options
context:
space:
mode:
authorDamien George2015-02-22 14:48:18 +0000
committerDamien George2015-02-22 14:48:18 +0000
commit5cbeacebdb8407425e692205f7333452e8a57784 (patch)
tree7862a270c4b0a78379994b7610b0856cb1826f7c /unix
parent9ab94c468cb0d2a22eadbce2f493e016c462109e (diff)
py: Make math special functions configurable and disabled by default.
The implementation of these functions is very large (order 4k) and they are rarely used, so we don't enable them by default. They are however enabled in stmhal and unix, since we have the room.
Diffstat (limited to 'unix')
-rw-r--r--unix/mpconfigport.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/unix/mpconfigport.h b/unix/mpconfigport.h
index a0366d9c6..bbfae7b21 100644
--- a/unix/mpconfigport.h
+++ b/unix/mpconfigport.h
@@ -64,6 +64,7 @@
#define MICROPY_PY_SYS_PLATFORM "linux"
#define MICROPY_PY_SYS_MAXSIZE (1)
#define MICROPY_PY_SYS_STDFILES (1)
+#define MICROPY_PY_MATH_SPECIAL_FUNCTIONS (1)
#define MICROPY_PY_CMATH (1)
#define MICROPY_PY_IO_FILEIO (1)
#define MICROPY_PY_GC_COLLECT_RETVAL (1)