nrf: Enable source line on tracebacks.
This commit is contained in:
parent
77b4cfcbc9
commit
8645b7c23b
@ -44,6 +44,14 @@
|
||||
|
||||
// Board overridable feature configuration.
|
||||
|
||||
#ifndef MICROPY_ENABLE_SOURCE_LINE
|
||||
#if defined(BLUETOOTH_SD)
|
||||
#define MICROPY_ENABLE_SOURCE_LINE (0)
|
||||
#else
|
||||
#define MICROPY_ENABLE_SOURCE_LINE (1)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifndef MICROPY_PY_ARRAY_SLICE_ASSIGN
|
||||
#if defined(BLUETOOTH_SD)
|
||||
#define MICROPY_PY_ARRAY_SLICE_ASSIGN (0)
|
||||
|
@ -36,6 +36,10 @@
|
||||
|
||||
// Board overridable feature configuration.
|
||||
|
||||
#ifndef MICROPY_ENABLE_SOURCE_LINE
|
||||
#define MICROPY_ENABLE_SOURCE_LINE (1)
|
||||
#endif
|
||||
|
||||
#ifndef MICROPY_PY_ARRAY_SLICE_ASSIGN
|
||||
#define MICROPY_PY_ARRAY_SLICE_ASSIGN (1)
|
||||
#endif
|
||||
|
@ -36,6 +36,10 @@
|
||||
|
||||
// Board overridable feature configuration.
|
||||
|
||||
#ifndef MICROPY_ENABLE_SOURCE_LINE
|
||||
#define MICROPY_ENABLE_SOURCE_LINE (1)
|
||||
#endif
|
||||
|
||||
#ifndef MICROPY_PY_ARRAY_SLICE_ASSIGN
|
||||
#define MICROPY_PY_ARRAY_SLICE_ASSIGN (1)
|
||||
#endif
|
||||
|
@ -36,6 +36,10 @@
|
||||
|
||||
// Board overridable feature configuration.
|
||||
|
||||
#ifndef MICROPY_ENABLE_SOURCE_LINE
|
||||
#define MICROPY_ENABLE_SOURCE_LINE (1)
|
||||
#endif
|
||||
|
||||
#ifndef MICROPY_PY_ARRAY_SLICE_ASSIGN
|
||||
#define MICROPY_PY_ARRAY_SLICE_ASSIGN (1)
|
||||
#endif
|
||||
|
@ -55,7 +55,6 @@
|
||||
#define MICROPY_REPL_EMACS_KEYS (0)
|
||||
#define MICROPY_REPL_AUTO_INDENT (1)
|
||||
#define MICROPY_KBD_EXCEPTION (1)
|
||||
#define MICROPY_ENABLE_SOURCE_LINE (0)
|
||||
#define MICROPY_LONGINT_IMPL (MICROPY_LONGINT_IMPL_MPZ)
|
||||
#if NRF51
|
||||
#define MICROPY_FLOAT_IMPL (MICROPY_FLOAT_IMPL_NONE)
|
||||
|
Loading…
Reference in New Issue
Block a user