mirror of
https://github.com/esphome/esphome.git
synced 2026-08-31 01:56:01 +00:00
[nrf52] add platformio deprecation warning (#17705)
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user