sdkconfig file updated on build
Posted: Wed Nov 29, 2023 8:53 am
Hi,
I have created a sdkconfig.defaults file with my required configuration.
My project builds fine on my old laptop with the same version of esp-idf (5.0.4), but when I try to build on my new laptop with same version of esp-idf, something weird happens.
The sdkconfig file is not updated correctly with all my CONFIG's, as an example we use nimble, but these CONFIG's are not copied to the sdkconfig file.
CONFIG_BT_NIMBLE_50_FEATURE_SUPPORT=y
CONFIG_BT_NIMBLE_LL_CFG_FEAT_LE_2M_PHY=y
CONFIG_BT_NIMBLE_LL_CFG_FEAT_LE_CODED_PHY=y
CONFIG_BT_NIMBLE_MAX_PERIODIC_SYNCS=0
Other CONFIG's are just set to "y", example:
sdkconfig.defaults: # CONFIG_ESP_WIFI_STA_DISCONNECTED_PM_ENABLE is not set
After build:
sdkconfig: CONFIG_ESP_WIFI_STA_DISCONNECTED_PM_ENABLE=y
How do I fix this ?
I have created a sdkconfig.defaults file with my required configuration.
My project builds fine on my old laptop with the same version of esp-idf (5.0.4), but when I try to build on my new laptop with same version of esp-idf, something weird happens.
The sdkconfig file is not updated correctly with all my CONFIG's, as an example we use nimble, but these CONFIG's are not copied to the sdkconfig file.
CONFIG_BT_NIMBLE_50_FEATURE_SUPPORT=y
CONFIG_BT_NIMBLE_LL_CFG_FEAT_LE_2M_PHY=y
CONFIG_BT_NIMBLE_LL_CFG_FEAT_LE_CODED_PHY=y
CONFIG_BT_NIMBLE_MAX_PERIODIC_SYNCS=0
Other CONFIG's are just set to "y", example:
sdkconfig.defaults: # CONFIG_ESP_WIFI_STA_DISCONNECTED_PM_ENABLE is not set
After build:
sdkconfig: CONFIG_ESP_WIFI_STA_DISCONNECTED_PM_ENABLE=y
How do I fix this ?