Commit Graph
16 Commits
Author SHA1 Message Date
Yurii 39a0f34798 fix: download TinyUSB sources using SDK revisions
Download lib-builder and TinyUSB source snapshots directly using the
revisions in the installed SDK versions.txt. Avoid the GitHub REST lookup
without maintaining a separate set of commit pins.

Check the archive commit ID, extract the required files and reuse completed
downloads. Incomplete extraction is retried on the next invocation.
2026-11-23 18:39:40 +03:00
Yurii 765508993a fix: recover missing source revisions in S2 TinyUSB builds
Resolve missing SDK revisions to their full GitHub commit IDs and fetch
those commits explicitly before checkout. Keep using the matching source
revision when upstream branches no longer expose it.

Always materialize the requested checkout, including fresh no-checkout
clones whose HEAD already matches the pinned revision. Cached commits
continue to work without API requests.
2026-11-23 17:52:07 +03:00
Yurii 558d52fa9b fix: support clean SDK builds and portable C6 compiler flags
Create the SDK source directory before pioarduino populates it so its
project generator supplies app_main when Arduino autostart is disabled.

Skip TinyUSB setup for S2 clean targets before accessing SDK packages.
Move C6 constexpr attributes into a forced include header to preserve the
size optimizations across SDK metadata parsing and POSIX shell execution.
2026-11-23 08:41:21 +03:00
Yurii 9ff1bd14f5 refactor: remove unused code from firmware, portal and build scripts
Remove the unused sensor connection getter, slug prefix and suffix helpers, UTC conversion and array formatting routines. Drop unused shared strings and the CONFIG_URL macro.

Remove setupUpgradeForm from the shared browser bundle. The upgrade page registers its own submit handler.

Delete the obsolete Python gzip packer and its import. Gulp handles compression when building the web assets.
2026-11-22 03:27:25 +03:00
Yurii 8f659e3e55 feat: add offline ESP32 core dump analysis
Decode native ESP-IDF core dumps against a matching firmware ELF. Report the target, build identity, task stacks, registers, and saved heap metrics with the PlatformIO GDB toolchain.
2026-11-22 02:35:31 +03:00
Yurii 3fb433d3eb refactor: migrate ESP32 firmware to task-managed services
Split the header-based firmware into services for OpenTherm, heating control, sensors, networking, logging, and the portal. Run these services with MycilaTaskManager and use ESP32OT for the boiler bus.

Move MQTT and Home Assistant discovery to Mycila libraries, expose native crash metrics, and align the board profiles and build hooks with the new dependencies.
2026-11-22 02:34:37 +03:00
Yurii b10d91b8fa build: enforce the firmware size limit before creating factory images
Reject images that exceed the application slot, propagate esptool failures, and run the build workflow when the PlatformIO hooks change.
2026-11-22 02:32:55 +03:00
Yurii 11747dd8bd feat: added commit hash 2026-02-16 10:06:26 +03:00
Yurii 3e6a2d93d4 chore: updated esp32.py
Source: https://raw.githubusercontent.com/letscontrolit/ESPEasy/mega/tools/pio/post_esp32.py
2025-08-04 07:07:31 +03:00
Yurii 062468c6b1 chore: updated esp32.py to be compatible with new versions of esptool
Source: https://raw.githubusercontent.com/letscontrolit/ESPEasy/mega/tools/pio/post_esp32.py
2025-07-04 04:12:06 +03:00
Yurii 355d983437 chore: copy elf to build dir 2024-10-24 04:26:46 +03:00
Yurii 2648918dda feat: added multilanguage for portal 2024-06-21 02:01:38 +03:00
Yurii 249d32ce35 chore: more info when scan wifi 2024-06-10 14:55:14 +03:00
Yurii 63228baebd chore: auto file compression when building a FS 2024-04-12 04:10:55 +03:00
Yurii 07ce1db304 feat: make fs after build and copy to build dir 2024-01-13 20:34:00 +03:00
Yurii a255dda8dd Compatible with ESP32 2023-11-11 05:01:36 +03:00