aboutsummaryrefslogtreecommitdiff
path: root/py/mpconfig.h
diff options
context:
space:
mode:
authorDamien George <damien@micropython.org>2022-03-03 17:59:30 +1100
committerDamien George <damien@micropython.org>2022-03-09 10:03:23 +1100
commit926b554dafffa1e9bd80aa12fea5c621221c9d79 (patch)
tree448ffc696c24da0ef1e88c6c46f2f8bd328ab0a2 /py/mpconfig.h
parent507ad03329983551635831c0b5ba76319eaca165 (diff)
extmod/moduos: Create general uos module to be used by all ports.
Based on the rp2 port version, with the rp2 port converted to use this module. Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'py/mpconfig.h')
-rw-r--r--py/mpconfig.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/py/mpconfig.h b/py/mpconfig.h
index 5edff69df..8f9f0f02f 100644
--- a/py/mpconfig.h
+++ b/py/mpconfig.h
@@ -1455,6 +1455,10 @@ typedef double mp_float_t;
#define MICROPY_PY_UJSON_SEPARATORS (1)
#endif
+#ifndef MICROPY_PY_UOS
+#define MICROPY_PY_UOS (MICROPY_CONFIG_ROM_LEVEL_AT_LEAST_EXTRA_FEATURES)
+#endif
+
#ifndef MICROPY_PY_URE
#define MICROPY_PY_URE (MICROPY_CONFIG_ROM_LEVEL_AT_LEAST_EXTRA_FEATURES)
#endif