bogus sdkconfig changes
Posted: Mon Apr 15, 2024 6:18 pm
I realize this is probably more of a Kconfig question, but it's ESP-IDF I have this problem with.
Whenever I build my ESP-IDF project (containing custom Kconfig projectbuild configurations), I get bogus changes in the sdkconfig like that:
No substantial changes, but a block of configurations gets removed from somewhere and put to another location.
Is that a known problem and is there a fix? It really disturbs my diffs.
Whenever I build my ESP-IDF project (containing custom Kconfig projectbuild configurations), I get bogus changes in the sdkconfig like that:
Code: Select all
diff --git a/firmware/boards/ecuconnect/sdkconfig.debug b/firmware/boards/ecuconnect/sdkconfig.debug
index fe9366b..7cff1c2 100644
--- a/firmware/boards/ecuconnect/sdkconfig.debug
+++ b/firmware/boards/ecuconnect/sdkconfig.debug
@@ -2218,6 +2218,22 @@ CONFIG_WIFI_PROV_STA_ALL_CHANNEL_SCAN=y
# CONFIG_WIFI_PROV_STA_FAST_SCAN is not set
# end of Wi-Fi Provisioning Manager
+#
+# ESP-NimBLE-CPP configuration
+#
+# CONFIG_NIMBLE_CPP_LOG_LEVEL_NONE is not set
+# CONFIG_NIMBLE_CPP_LOG_LEVEL_ERROR is not set
+# CONFIG_NIMBLE_CPP_LOG_LEVEL_WARNING is not set
+CONFIG_NIMBLE_CPP_LOG_LEVEL_INFO=y
+# CONFIG_NIMBLE_CPP_LOG_LEVEL_DEBUG is not set
+CONFIG_NIMBLE_CPP_LOG_LEVEL=3
+# CONFIG_NIMBLE_CPP_ENABLE_RETURN_CODE_TEXT is not set
+# CONFIG_NIMBLE_CPP_ENABLE_GAP_EVENT_CODE_TEXT is not set
+# CONFIG_NIMBLE_CPP_ENABLE_ADVERTISEMENT_TYPE_TEXT is not set
+# CONFIG_NIMBLE_CPP_ATT_VALUE_TIMESTAMP_ENABLED is not set
+CONFIG_NIMBLE_CPP_ATT_VALUE_INIT_LENGTH=20
+# end of ESP-NimBLE-CPP configuration
+
#
# LittleFS
#
@@ -2244,22 +2260,6 @@ CONFIG_LITTLEFS_MALLOC_STRATEGY_DEFAULT=y
# CONFIG_LITTLEFS_MALLOC_STRATEGY_INTERNAL is not set
CONFIG_LITTLEFS_ASSERTS=y
# end of LittleFS
-
-#
-# ESP-NimBLE-CPP configuration
-#
-# CONFIG_NIMBLE_CPP_LOG_LEVEL_NONE is not set
-# CONFIG_NIMBLE_CPP_LOG_LEVEL_ERROR is not set
-# CONFIG_NIMBLE_CPP_LOG_LEVEL_WARNING is not set
-CONFIG_NIMBLE_CPP_LOG_LEVEL_INFO=y
-# CONFIG_NIMBLE_CPP_LOG_LEVEL_DEBUG is not set
-CONFIG_NIMBLE_CPP_LOG_LEVEL=3
-# CONFIG_NIMBLE_CPP_ENABLE_RETURN_CODE_TEXT is not set
-# CONFIG_NIMBLE_CPP_ENABLE_GAP_EVENT_CODE_TEXT is not set
-# CONFIG_NIMBLE_CPP_ENABLE_ADVERTISEMENT_TYPE_TEXT is not set
-# CONFIG_NIMBLE_CPP_ATT_VALUE_TIMESTAMP_ENABLED is not set
-CONFIG_NIMBLE_CPP_ATT_VALUE_INIT_LENGTH=20
-# end of ESP-NimBLE-CPP configuration
# end of Component config
CONFIG_IDF_EXPERIMENTAL_FEATURES=y
Is that a known problem and is there a fix? It really disturbs my diffs.