From 85ae17c9938d65fe33835b72a8d98f2eda93605f Mon Sep 17 00:00:00 2001 From: Damien George Date: Wed, 16 Nov 2016 20:25:36 +1100 Subject: [PATCH] mpy-cross: Get compiling after recent persistent code refactors. --- mpy-cross/main.c | 1 + mpy-cross/mpconfigport.h | 1 + 2 files changed, 2 insertions(+) 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)