[nrf52] add platformio deprecation warning (#17705)

This commit is contained in:
tomaszduda23
2026-07-20 20:29:00 +02:00
committed by GitHub
parent 057143838d
commit d5681ac6a0
+7
View File
@@ -283,6 +283,13 @@ def _validate_mcumgr(config):
def _final_validate(config):
# Remove before 2027.2.0
if CORE.using_toolchain_platformio:
_LOGGER.warning(
"The 'platformio' toolchain for nRF52 is deprecated and will be removed in ESPHome 2027.2.0. "
"Please use 'toolchain: sdk-nrf' instead."
)
if CONF_DFU in config:
_validate_mcumgr(config)
if config[KEY_BOOTLOADER] == BOOTLOADER_ADAFRUIT: