diff options
author | Damien George <damien.p.george@gmail.com> | 2016-11-16 20:25:36 +1100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2016-11-16 20:25:36 +1100 |
commit | 85ae17c9938d65fe33835b72a8d98f2eda93605f (patch) | |
tree | 39037210d4c955e380f87061b30528974c232ed6 /mpy-cross | |
parent | 5bdf1650de782d766a648f992270306269cc985a (diff) | |
download | micropython-85ae17c9938d65fe33835b72a8d98f2eda93605f.tar.gz micropython-85ae17c9938d65fe33835b72a8d98f2eda93605f.zip |
mpy-cross: Get compiling after recent persistent code refactors.
Diffstat (limited to 'mpy-cross')
-rw-r--r-- | mpy-cross/main.c | 1 | ||||
-rw-r--r-- | mpy-cross/mpconfigport.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/mpy-cross/main.c b/mpy-cross/main.c index 5e5bc73304..378c013c8d 100644 --- a/mpy-cross/main.c +++ b/mpy-cross/main.c @@ -32,6 +32,7 @@ #include "py/mpstate.h" #include "py/compile.h" +#include "py/persistentcode.h" #include "py/runtime.h" #include "py/gc.h" #include "py/stackctrl.h" diff --git a/mpy-cross/mpconfigport.h b/mpy-cross/mpconfigport.h index c0a404103b..0f76510986 100644 --- a/mpy-cross/mpconfigport.h +++ b/mpy-cross/mpconfigport.h @@ -47,6 +47,7 @@ #define MICROPY_OPT_CACHE_MAP_LOOKUP_IN_BYTECODE (0) +#define MICROPY_READER_POSIX (1) #define MICROPY_ENABLE_RUNTIME (0) #define MICROPY_ENABLE_GC (1) #define MICROPY_STACK_CHECK (1) |