summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ports/unix/mpconfigport.h1
-rw-r--r--py/mpconfig.h6
2 files changed, 5 insertions, 2 deletions
diff --git a/ports/unix/mpconfigport.h b/ports/unix/mpconfigport.h
index a3d2bb7db..06ae1e234 100644
--- a/ports/unix/mpconfigport.h
+++ b/ports/unix/mpconfigport.h
@@ -103,7 +103,6 @@
#endif
#define MICROPY_PY_CMATH (1)
#define MICROPY_PY_IO_FILEIO (1)
-#define MICROPY_PY_IO_RESOURCE_STREAM (1)
#define MICROPY_PY_GC_COLLECT_RETVAL (1)
#define MICROPY_MODULE_FROZEN_STR (1)
diff --git a/py/mpconfig.h b/py/mpconfig.h
index 095b7ef7b..778436708 100644
--- a/py/mpconfig.h
+++ b/py/mpconfig.h
@@ -938,7 +938,11 @@ typedef double mp_float_t;
// Whether to provide "uio.resource_stream()" function with
// the semantics of CPython's pkg_resources.resource_stream()
-// (allows to access resources in frozen packages).
+// (allows to access binary resources in frozen source packages).
+// Note that the same functionality can be achieved in "pure
+// Python" by prepocessing binary resources into Python source
+// and bytecode-freezing it (with a simple helper module available
+// e.g. in micropython-lib).
#ifndef MICROPY_PY_IO_RESOURCE_STREAM
#define MICROPY_PY_IO_RESOURCE_STREAM (0)
#endif