diff --git a/Kconfig b/Kconfig index f5118f9365..ca849382cd 100644 --- a/Kconfig +++ b/Kconfig @@ -575,7 +575,7 @@ mainmenu "Espressif IoT Development Framework Configuration" config COMPILER_DISABLE_DEFAULT_ERRORS bool "Disable errors for default warnings" - default "y" + default "n" help Enable this option if you do not want default warnings to be considered as errors, especially when updating IDF. diff --git a/docs/en/migration-guides/release-6.x/6.0/build-system.rst b/docs/en/migration-guides/release-6.x/6.0/build-system.rst index 42903d4ede..02829a3e48 100644 --- a/docs/en/migration-guides/release-6.x/6.0/build-system.rst +++ b/docs/en/migration-guides/release-6.x/6.0/build-system.rst @@ -79,3 +79,8 @@ Changes in Configuration Files Syntax ------------------------------------- ESP-IDF v6 uses esp-idf-kconfig v3, which introduces several changes in the configuration (``Kconfig``) files. For the full list of changes, please refer to the `esp-idf-kconfig migration guide from v2.x to v3.x `_. + +Compiler Options +---------------- + +The default compiler warnings will be considered as errors. The configuration option :ref:`CONFIG_COMPILER_DISABLE_DEFAULT_ERRORS` has been changed to N.