diff options
author | Damien George <damien.p.george@gmail.com> | 2016-01-31 22:24:16 +0000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2016-04-13 16:07:47 +0100 |
commit | 0a2e9650f5383bc1190d6b27a3d923e313c3d879 (patch) | |
tree | cf8cf4d9e9c69c1d07ef65cf926c47763df72ef3 /esp8266 | |
parent | 0699c6bf9e7a1754002948063390b68590fc3e96 (diff) | |
download | micropython-0a2e9650f5383bc1190d6b27a3d923e313c3d879.tar.gz micropython-0a2e9650f5383bc1190d6b27a3d923e313c3d879.zip |
py: Add ability to have frozen persistent bytecode from .mpy files.
The config variable MICROPY_MODULE_FROZEN is now made of two separate
parts: MICROPY_MODULE_FROZEN_STR and MICROPY_MODULE_FROZEN_MPY. This
allows to have none, either or both of frozen strings and frozen mpy
files (aka frozen bytecode).
Diffstat (limited to 'esp8266')
-rw-r--r-- | esp8266/mpconfigport.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/esp8266/mpconfigport.h b/esp8266/mpconfigport.h index 7d5914191a..a19572a20d 100644 --- a/esp8266/mpconfigport.h +++ b/esp8266/mpconfigport.h @@ -61,7 +61,7 @@ #define MICROPY_FLOAT_IMPL (MICROPY_FLOAT_IMPL_FLOAT) #define MICROPY_ERROR_REPORTING (MICROPY_ERROR_REPORTING_NORMAL) #define MICROPY_STREAMS_NON_BLOCK (1) -#define MICROPY_MODULE_FROZEN (1) +#define MICROPY_MODULE_FROZEN_STR (1) #define MICROPY_MODULE_FROZEN_LEXER mp_lexer_new_from_str32 #define MICROPY_FATFS_ENABLE_LFN (1) |