diff options
| author | Damien George | 2014-04-13 19:00:56 +0100 |
|---|---|---|
| committer | Damien George | 2014-04-13 19:00:56 +0100 |
| commit | 86a03044e343433115bbbe37df544fc1305f36d3 (patch) | |
| tree | 7676a23be4f68b5cf151a64c50c8e10f06f5b6ee /stmhal/mpconfigport.h | |
| parent | e2a48b66c2a94375d3af00500073e05a5e5fd75a (diff) | |
stmhal: Add stdin/stdout/stderr objects.
Available via sys.std{in,out,err}. Basic reading and writing supported.
Even sys.stdin.readline!
Diffstat (limited to 'stmhal/mpconfigport.h')
| -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 6a3182346..d7045c42f 100644 --- a/stmhal/mpconfigport.h +++ b/stmhal/mpconfigport.h @@ -19,6 +19,7 @@ */ #define MICROPY_ENABLE_LFN (1) #define MICROPY_LFN_CODE_PAGE (437) /* 1=SFN/ANSI 437=LFN/U.S.(OEM) */ +#define MICROPY_MOD_SYS_STDFILES (1) // extra built in names to add to the global namespace extern const struct _mp_obj_fun_native_t mp_builtin_help_obj; |
