mirror of
https://github.com/esphome/esphome.git
synced 2024-11-29 10:14:13 +01:00
Handle deprecated sdkconfig option (#4204)
Co-authored-by: Maurice Makaay <maurice@h2b.nl> fixes https://github.com/mmakaay/esphome-xiaomi_bslamp2/issues/104
This commit is contained in:
parent
22b384363b
commit
c1f09684e6
1 changed files with 8 additions and 3 deletions
|
@ -356,6 +356,11 @@ async def to_code(config):
|
|||
|
||||
if conf[CONF_ADVANCED][CONF_IGNORE_EFUSE_MAC_CRC]:
|
||||
cg.add_define("USE_ESP32_IGNORE_EFUSE_MAC_CRC")
|
||||
if (framework_ver.major, framework_ver.minor) >= (4, 4):
|
||||
add_idf_sdkconfig_option(
|
||||
"CONFIG_ESP_PHY_CALIBRATION_AND_DATA_STORAGE", False
|
||||
)
|
||||
else:
|
||||
add_idf_sdkconfig_option(
|
||||
"CONFIG_ESP32_PHY_CALIBRATION_AND_DATA_STORAGE", False
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue