Skip to content

Commit d55e11f

Browse files
committed
esp32/mpconfigport.h: How to get more debug info.
Debugging Note: Increase the MICROPY_ERROR_REPORTING level to view _FUNCTION__, __LINE__, __FILE__ in check_esp_err() exceptions. Signed-off-by: Ihor Nehrutsa <[email protected]>
1 parent a317d49 commit d55e11f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ports/esp32/mpconfigport.h

+2-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,8 @@
6262
#define MICROPY_STACK_CHECK_MARGIN (1024)
6363
#define MICROPY_ENABLE_EMERGENCY_EXCEPTION_BUF (1)
6464
#define MICROPY_LONGINT_IMPL (MICROPY_LONGINT_IMPL_MPZ)
65-
#define MICROPY_ERROR_REPORTING (MICROPY_ERROR_REPORTING_NORMAL)
65+
#define MICROPY_ERROR_REPORTING (MICROPY_ERROR_REPORTING_NORMAL) // Debugging Note: Increase the error reporting level to view
66+
// __FUNCTION__, __LINE__, __FILE__ in check_esp_err() exceptions
6667
#define MICROPY_WARNINGS (1)
6768
#define MICROPY_FLOAT_IMPL (MICROPY_FLOAT_IMPL_FLOAT)
6869
#define MICROPY_STREAMS_POSIX_API (1)

0 commit comments

Comments
 (0)