mirror of
https://github.com/esphome/esphome.git
synced 2026-06-24 13:43:00 +00:00
@@ -1 +1 @@
|
|||||||
34f6ce4a4775acf8c7201778f114b191f78269f232b67f01fed920f0cdf73686
|
72f02816e288b68ff4ef4b3d6fb66432c893b187a80ad3ebaa29afa443ff9ea6
|
||||||
|
|||||||
2
Doxyfile
2
Doxyfile
@@ -48,7 +48,7 @@ PROJECT_NAME = ESPHome
|
|||||||
# could be handy for archiving the generated documentation or if some version
|
# could be handy for archiving the generated documentation or if some version
|
||||||
# control system is used.
|
# control system is used.
|
||||||
|
|
||||||
PROJECT_NUMBER = 2026.6.0b3
|
PROJECT_NUMBER = 2026.6.0b4
|
||||||
|
|
||||||
# Using the PROJECT_BRIEF tag one can provide an optional one line description
|
# Using the PROJECT_BRIEF tag one can provide an optional one line description
|
||||||
# for a project that appears at the top of each page and should give viewer a
|
# for a project that appears at the top of each page and should give viewer a
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ RUN \
|
|||||||
-r /requirements.txt
|
-r /requirements.txt
|
||||||
|
|
||||||
# Install the ESPHome Device Builder dashboard.
|
# Install the ESPHome Device Builder dashboard.
|
||||||
RUN uv pip install --no-cache-dir esphome-device-builder==1.0.1
|
RUN uv pip install --no-cache-dir esphome-device-builder==1.0.6
|
||||||
|
|
||||||
RUN \
|
RUN \
|
||||||
platformio settings set enable_telemetry No \
|
platformio settings set enable_telemetry No \
|
||||||
|
|||||||
@@ -257,7 +257,7 @@ async def to_code(config):
|
|||||||
esp32.add_idf_component(name="espressif/esp_wifi_remote", ref="1.5.1")
|
esp32.add_idf_component(name="espressif/esp_wifi_remote", ref="1.5.1")
|
||||||
esp32.add_idf_component(name="espressif/wifi_remote_over_eppp", ref="0.3.2")
|
esp32.add_idf_component(name="espressif/wifi_remote_over_eppp", ref="0.3.2")
|
||||||
esp32.add_idf_component(name="espressif/eppp_link", ref="1.1.5")
|
esp32.add_idf_component(name="espressif/eppp_link", ref="1.1.5")
|
||||||
esp32.add_idf_component(name="espressif/esp_hosted", ref="2.12.8")
|
esp32.add_idf_component(name="espressif/esp_hosted", ref="2.12.9")
|
||||||
else:
|
else:
|
||||||
esp32.add_idf_component(name="espressif/esp_wifi_remote", ref="0.13.0")
|
esp32.add_idf_component(name="espressif/esp_wifi_remote", ref="0.13.0")
|
||||||
esp32.add_idf_component(name="espressif/eppp_link", ref="0.2.0")
|
esp32.add_idf_component(name="espressif/eppp_link", ref="0.2.0")
|
||||||
|
|||||||
@@ -57,7 +57,18 @@ OTAResponseTypes IDFOTABackend::begin(size_t image_size, ota::OTAType ota_type)
|
|||||||
return OTA_RESPONSE_ERROR_NO_UPDATE_PARTITION;
|
return OTA_RESPONSE_ERROR_NO_UPDATE_PARTITION;
|
||||||
}
|
}
|
||||||
|
|
||||||
watchdog::WatchdogManager watchdog(15000);
|
// esp_ota_begin() erases the destination region, which blocks loopTask and
|
||||||
|
// scales with the erase size -- a fixed watchdog overruns on large OTA slots.
|
||||||
|
// An unknown size (0, e.g. web_server uploads) erases the whole partition, so
|
||||||
|
// budget against the bytes actually erased. ~10ms/KiB (conservative
|
||||||
|
// ~100 KiB/s erase) over a 15s floor; panic stays on so a stuck erase still
|
||||||
|
// resets rather than hanging forever.
|
||||||
|
size_t erase_size = image_size;
|
||||||
|
if (erase_size == 0 || erase_size > this->partition_->size) {
|
||||||
|
erase_size = this->partition_->size;
|
||||||
|
}
|
||||||
|
const uint32_t erase_budget_ms = 15000 + (erase_size >> 10) * 10;
|
||||||
|
watchdog::WatchdogManager watchdog(erase_budget_ms);
|
||||||
esp_err_t err = esp_ota_begin(this->partition_, image_size, &this->update_handle_);
|
esp_err_t err = esp_ota_begin(this->partition_, image_size, &this->update_handle_);
|
||||||
|
|
||||||
if (err != ESP_OK) {
|
if (err != ESP_OK) {
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ from enum import Enum
|
|||||||
|
|
||||||
from esphome.enum import StrEnum
|
from esphome.enum import StrEnum
|
||||||
|
|
||||||
__version__ = "2026.6.0b3"
|
__version__ = "2026.6.0b4"
|
||||||
|
|
||||||
ALLOWED_NAME_CHARS = "abcdefghijklmnopqrstuvwxyz0123456789-_"
|
ALLOWED_NAME_CHARS = "abcdefghijklmnopqrstuvwxyz0123456789-_"
|
||||||
VALID_SUBSTITUTIONS_CHARACTERS = (
|
VALID_SUBSTITUTIONS_CHARACTERS = (
|
||||||
|
|||||||
@@ -38,7 +38,7 @@ dependencies:
|
|||||||
rules:
|
rules:
|
||||||
- if: "target in [esp32h2, esp32p4]"
|
- if: "target in [esp32h2, esp32p4]"
|
||||||
espressif/esp_hosted:
|
espressif/esp_hosted:
|
||||||
version: 2.12.8
|
version: 2.12.9
|
||||||
rules:
|
rules:
|
||||||
- if: "target in [esp32h2, esp32p4]"
|
- if: "target in [esp32h2, esp32p4]"
|
||||||
zorxx/multipart-parser:
|
zorxx/multipart-parser:
|
||||||
|
|||||||
Reference in New Issue
Block a user