diff options
| author | Damien George | 2014-04-13 14:51:56 +0100 |
|---|---|---|
| committer | Damien George | 2014-04-13 14:51:56 +0100 |
| commit | 73496fbbe4b787a5b4255d6ae98c20255878e012 (patch) | |
| tree | 4a58715b37c77e3dc951e8930d7defbc01334c39 /stmhal | |
| parent | b636d024d2fe950d8dd643c74aa006d1ea88078d (diff) | |
py: Fix up source-line calculation.
Should address issue #475.
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 552910142..6a3182346 100644 --- a/stmhal/mpconfigport.h +++ b/stmhal/mpconfigport.h @@ -7,6 +7,7 @@ #define MICROPY_ENABLE_GC (1) #define MICROPY_ENABLE_FINALISER (1) #define MICROPY_ENABLE_REPL_HELPERS (1) +#define MICROPY_ENABLE_SOURCE_LINE (1) #define MICROPY_LONGINT_IMPL (MICROPY_LONGINT_IMPL_MPZ) #define MICROPY_FLOAT_IMPL (MICROPY_FLOAT_IMPL_FLOAT) #define MICROPY_PATH_MAX (128) |
