summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2016-02-11 22:39:24 +0000
committerDamien George <damien.p.george@gmail.com>2016-02-25 10:12:30 +0000
commit476c15290decdfd01942c58a29edf06b8f0f49e5 (patch)
tree440fd265825ac4938e189d3ad1f9b33a42c90f97
parent56f76b873a28a35f045c93cb9d76d78827f87462 (diff)
stmhal: Enabled importing of persistent bytecode (.mpy files).
-rw-r--r--stmhal/mpconfigport.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/stmhal/mpconfigport.h b/stmhal/mpconfigport.h
index 941290367..ecdbbc413 100644
--- a/stmhal/mpconfigport.h
+++ b/stmhal/mpconfigport.h
@@ -31,6 +31,7 @@
// options to control how Micro Python is built
#define MICROPY_ALLOC_PATH_MAX (128)
+#define MICROPY_PERSISTENT_CODE_LOAD (1)
#define MICROPY_EMIT_THUMB (1)
#define MICROPY_EMIT_INLINE_THUMB (1)
#define MICROPY_COMP_MODULE_CONST (1)