Skip to content

Commit a71f19b

Browse files
committed
circuitpy_mpconfig.h: terse errors on non-full-builds
1 parent 53020f5 commit a71f19b

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)