diff options
author | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2014-05-01 01:35:38 +0300 |
---|---|---|
committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2014-05-01 01:50:35 +0300 |
commit | 1f85d6255d6929edbcfc087e4e07c2fde39c3632 (patch) | |
tree | 218a841eb937c068cdace5710e408309c898cc7e /unix | |
parent | 68551a842892bd03e82176c0de3b751779a95a0f (diff) | |
download | micropython-1f85d6255d6929edbcfc087e4e07c2fde39c3632.tar.gz micropython-1f85d6255d6929edbcfc087e4e07c2fde39c3632.zip |
py: Add tentative scheme for error messages configuration.
Diffstat (limited to 'unix')
-rw-r--r-- | unix/mpconfigport.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/unix/mpconfigport.h b/unix/mpconfigport.h index 2d252427f0..b777cfbe31 100644 --- a/unix/mpconfigport.h +++ b/unix/mpconfigport.h @@ -16,6 +16,9 @@ #define MICROPY_USE_COMPUTED_GOTO (1) #define MICROPY_MOD_SYS_STDFILES (1) #define MICROPY_ENABLE_MOD_CMATH (1) +// Define to MICROPY_ERROR_REPORTING_DETAILED to get function, etc. +// names in exception messages (may require more RAM). +#define MICROPY_ERROR_REPORTING (MICROPY_ERROR_REPORTING_DETAILED) extern const struct _mp_obj_module_t mp_module_time; extern const struct _mp_obj_module_t mp_module_socket; |