aboutsummaryrefslogtreecommitdiff
path: root/stmhal
diff options
context:
space:
mode:
authorDamien George2014-05-03 18:40:50 +0100
committerDamien George2014-05-03 18:40:50 +0100
commit93e51b594a14d1537c31f07365410ded9b5de490 (patch)
tree6559b52595b9e248b2b1fc87baf7b4d7bbbb3b6c /stmhal
parentbb8ba7fc90b3505a5c6d95cb539c666ff04bc429 (diff)
stmhal: Enable cmath module.
Diffstat (limited to 'stmhal')
-rw-r--r--stmhal/mpconfigport.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/stmhal/mpconfigport.h b/stmhal/mpconfigport.h
index ad55ed632..faa1c806a 100644
--- a/stmhal/mpconfigport.h
+++ b/stmhal/mpconfigport.h
@@ -19,6 +19,7 @@
#define MICROPY_ENABLE_LFN (1)
#define MICROPY_LFN_CODE_PAGE (437) /* 1=SFN/ANSI 437=LFN/U.S.(OEM) */
#define MICROPY_MOD_SYS_STDFILES (1)
+#define MICROPY_ENABLE_MOD_CMATH (1)
// extra built in names to add to the global namespace
extern const struct _mp_obj_fun_native_t mp_builtin_help_obj;