Skip to content

Commit 85ae17c

Browse files
committed
mpy-cross: Get compiling after recent persistent code refactors.
1 parent 5bdf165 commit 85ae17c

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

mpy-cross/main.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232

3333
#include "py/mpstate.h"
3434
#include "py/compile.h"
35+
#include "py/persistentcode.h"
3536
#include "py/runtime.h"
3637
#include "py/gc.h"
3738
#include "py/stackctrl.h"

mpy-cross/mpconfigport.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@
4747

4848
#define MICROPY_OPT_CACHE_MAP_LOOKUP_IN_BYTECODE (0)
4949

50+
#define MICROPY_READER_POSIX (1)
5051
#define MICROPY_ENABLE_RUNTIME (0)
5152
#define MICROPY_ENABLE_GC (1)
5253
#define MICROPY_STACK_CHECK (1)

0 commit comments

Comments
 (0)