Update esp32 arduino and platform versions (#3564)

This commit is contained in:
Jesse Hills
2022-11-21 11:49:30 +13:00
committed by GitHub
parent d874626662
commit c2e198311c
24 changed files with 256 additions and 327 deletions
+2 -1
View File
@@ -155,4 +155,5 @@ constexpr stm32_dev_t DEVICES[] = {
} // namespace shelly_dimmer
} // namespace esphome
#endif
#endif // USE_SHD_FIRMWARE_DATA
+1 -1
View File
@@ -26,7 +26,7 @@ from esphome.const import (
from esphome.core import HexInt, CORE
DOMAIN = "shelly_dimmer"
DEPENDENCIES = ["sensor", "uart"]
DEPENDENCIES = ["sensor", "uart", "esp8266"]
shelly_dimmer_ns = cg.esphome_ns.namespace("shelly_dimmer")
ShellyDimmer = shelly_dimmer_ns.class_(
@@ -1,6 +1,8 @@
#include "esphome/core/defines.h"
#include "esphome/core/helpers.h"
#ifdef USE_ESP8266
#include "shelly_dimmer.h"
#ifdef USE_SHD_FIRMWARE_DATA
#include "stm32flash.h"
@@ -521,3 +523,5 @@ void ShellyDimmer::reset_dfu_boot_() {
} // namespace shelly_dimmer
} // namespace esphome
#endif // USE_ESP8266
@@ -1,5 +1,7 @@
#pragma once
#ifdef USE_ESP8266
#include "esphome/core/component.h"
#include "esphome/core/log.h"
#include "esphome/components/light/light_output.h"
@@ -115,3 +117,5 @@ class ShellyDimmer : public PollingComponent, public light::LightOutput, public
} // namespace shelly_dimmer
} // namespace esphome
#endif // USE_ESP8266
@@ -1061,4 +1061,5 @@ stm32_err_t stm32_crc_wrapper(const stm32_unique_ptr &stm, uint32_t address, uin
} // namespace shelly_dimmer
} // namespace esphome
#endif
#endif // USE_SHD_FIRMWARE_DATA