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 ?
sdkconfig file updated on build
-
- Posts: 9729
- Joined: Thu Nov 26, 2015 4:08 am
Re: sdkconfig file updated on build
The values in these files are defaults, as in they're used if no sdkconfig values exist for these. You can try removing your existing sdkconfig, then it should use the values in sdkconfig.defaults.
Who is online
Users browsing this forum: No registered users and 64 guests