8000 unix: Enable loading of persistent native .mpy modules. · micropython/micropython@162a024 · GitHub
[go: up one dir, main page]

Skip to content

Commit 162a024

Browse files
committed
unix: Enable loading of persistent native .mpy modules.
1 parent 3f99194 commit 162a024

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

unix/mpconfigport.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@
2727
// options to control how Micro Python is built
2828

2929
#define MICROPY_ALLOC_PATH_MAX (PATH_MAX)
30+
#define MICROPY_PERSISTENT_CODE_LOAD (1)
31+
#define MICROPY_PERSISTENT_NATIVE (1)
3032
#if !defined(MICROPY_EMIT_X64) && defined(__x86_64__)
3133
#define MICROPY_EMIT_X64 (1)
3234
#endif

0 commit comments

Comments
 (0)
0