diff options
author | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2016-03-17 23:06:47 +0800 |
---|---|---|
committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2016-03-17 23:06:47 +0800 |
commit | 9d7b871f589660cd81c5659f40fc2dbf06d44665 (patch) | |
tree | 5af19d799f39355ed5d6912b43e074ddbdc5a692 /esp8266/mpconfigport.h | |
parent | 2466cb67f831abef9425ec9c6b12cb8eeb8602b7 (diff) | |
download | micropython-9d7b871f589660cd81c5659f40fc2dbf06d44665.tar.gz micropython-9d7b871f589660cd81c5659f40fc2dbf06d44665.zip |
esp8266: Store frozen modules in FlashROM.
Requires special lexer to access their contents.
Diffstat (limited to 'esp8266/mpconfigport.h')
-rw-r--r-- | esp8266/mpconfigport.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/esp8266/mpconfigport.h b/esp8266/mpconfigport.h index 744cc2d825..8984779f4f 100644 --- a/esp8266/mpconfigport.h +++ b/esp8266/mpconfigport.h @@ -51,6 +51,7 @@ #define MICROPY_FLOAT_IMPL (MICROPY_FLOAT_IMPL_FLOAT) #define MICROPY_ERROR_REPORTING (MICROPY_ERROR_REPORTING_TERSE) #define MICROPY_MODULE_FROZEN (1) +#define MICROPY_MODULE_FROZEN_LEXER mp_lexer_new_from_str32 #define MICROPY_EVENT_POLL_HOOK {ets_event_poll();} |