diff options
| author | Damien George | 2014-12-19 13:36:17 +0000 |
|---|---|---|
| committer | Damien George | 2014-12-19 13:36:17 +0000 |
| commit | 2a3e2b903394376fcf5722904453febd7472ee25 (patch) | |
| tree | 49da1c7af3fe1726a550c6a3ca189acdb5b838d6 /stmhal | |
| parent | 8427c5b76c9326ab3bc060fb729c1f0dbe17facd (diff) | |
py: Add execfile function (from Python 2); enable in stmhal port.
Adds just 60 bytes to stmhal binary. Addresses issue #362.
Diffstat (limited to 'stmhal')
| -rw-r--r-- | stmhal/mpconfigport.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/stmhal/mpconfigport.h b/stmhal/mpconfigport.h index 1b2cf4abf..92dafe83d 100644 --- a/stmhal/mpconfigport.h +++ b/stmhal/mpconfigport.h @@ -54,6 +54,7 @@ #define MICROPY_PY_BUILTINS_STR_UNICODE (1) #define MICROPY_PY_BUILTINS_MEMORYVIEW (1) #define MICROPY_PY_BUILTINS_FROZENSET (1) +#define MICROPY_PY_BUILTINS_EXECFILE (1) #define MICROPY_PY_SYS_EXIT (1) #define MICROPY_PY_SYS_STDFILES (1) #define MICROPY_PY_CMATH (1) |
