From ac236625505014ea74a3b443962a7b27e1552a96 Mon Sep 17 00:00:00 2001 From: Damien George Date: Thu, 11 Feb 2016 22:40:03 +0000 Subject: [PATCH] unix: Enabled importing of persistent bytecode (.mpy files). --- unix/mpconfigport.h | 1 + 1 file changed, 1 insertion(+) diff --git a/unix/mpconfigport.h b/unix/mpconfigport.h index 024f65b744..36e98735f6 100644 --- a/unix/mpconfigport.h +++ b/unix/mpconfigport.h @@ -27,6 +27,7 @@ // options to control how Micro Python is built #define MICROPY_ALLOC_PATH_MAX (PATH_MAX) +#define MICROPY_PERSISTENT_CODE_LOAD (1) #if !defined(MICROPY_EMIT_X64) && defined(__x86_64__) #define MICROPY_EMIT_X64 (1) #endif