Commit af8d791b authored by Damien George's avatar Damien George

esp8266: Enable importing of precompiled .mpy files.

parent 11fc6553
...@@ -9,6 +9,7 @@ ...@@ -9,6 +9,7 @@
#define MICROPY_ALLOC_PARSE_RULE_INC (8) #define MICROPY_ALLOC_PARSE_RULE_INC (8)
#define MICROPY_ALLOC_PARSE_RESULT_INC (8) #define MICROPY_ALLOC_PARSE_RESULT_INC (8)
#define MICROPY_ALLOC_PARSE_CHUNK_INIT (64) #define MICROPY_ALLOC_PARSE_CHUNK_INIT (64)
#define MICROPY_PERSISTENT_CODE_LOAD (1)
#define MICROPY_EMIT_X64 (0) #define MICROPY_EMIT_X64 (0)
#define MICROPY_EMIT_THUMB (0) #define MICROPY_EMIT_THUMB (0)
#define MICROPY_EMIT_INLINE_THUMB (0) #define MICROPY_EMIT_INLINE_THUMB (0)
......
...@@ -425,7 +425,7 @@ mp_raw_code_t *mp_raw_code_load_file(const char *filename) { ...@@ -425,7 +425,7 @@ mp_raw_code_t *mp_raw_code_load_file(const char *filename) {
return rc; return rc;
} }
#elif defined(__thumb2__) #elif defined(__thumb2__) || defined(__xtensa__)
// fatfs file reader (assume thumb2 arch uses fatfs...) // fatfs file reader (assume thumb2 arch uses fatfs...)
#include "lib/fatfs/ff.h" #include "lib/fatfs/ff.h"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment