Skip to content

Commit 96be941

Browse files
authored
Merge pull request #8844 from dhalbert/terse-errors
2 parents 2a082e0 + a71f19b commit 96be941

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

py/circuitpy_mpconfig.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ extern void common_hal_mcu_enable_interrupts(void);
8787
#define MICROPY_TRACKED_ALLOC (CIRCUITPY_SSL_MBEDTLS)
8888
#define MICROPY_ENABLE_SOURCE_LINE (1)
8989
#define MICROPY_EPOCH_IS_1970 (1)
90-
#define MICROPY_ERROR_REPORTING (MICROPY_ERROR_REPORTING_NORMAL)
90+
#define MICROPY_ERROR_REPORTING (CIRCUITPY_FULL_BUILD ? MICROPY_ERROR_REPORTING_NORMAL : MICROPY_ERROR_REPORTING_TERSE)
9191
#define MICROPY_FLOAT_HIGH_QUALITY_HASH (0)
9292
#define MICROPY_FLOAT_IMPL (MICROPY_FLOAT_IMPL_FLOAT)
9393
#define MICROPY_GC_ALLOC_THRESHOLD (0)

0 commit comments

Comments
 (0)