Skip to content

Commit d503d99

Browse files
committed
Pin CONFIG_COMPILER_DISABLE_DEFAULT_ERRORS=y
1 parent c871c93 commit d503d99

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

examples/UnitUnified/common/sdkconfig.defaults

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ CONFIG_MBEDTLS_CERTIFICATE_BUNDLE_DEFAULT_FULL=n
1111
# this does not silence M5_LOG_LEVEL logging.
1212
CONFIG_COMPILER_OPTIMIZATION_SIZE=y
1313

14+
# Keep upstream warnings as warnings (Kconfig default: y on IDF 5.4/5.5, n on 6.0+). Pin to y.
15+
CONFIG_COMPILER_DISABLE_DEFAULT_ERRORS=y
16+
1417
# ESP32 classic only: M5Unified falls back to the legacy touch_sensor.h API (the new
1518
# driver/touch_sens.h is not on its include path), which emits a deprecation #warning. That is
1619
# harmless by default, but becomes a hard error if the build turns default warnings into errors

0 commit comments

Comments
 (0)