mirror of
https://github.com/esphome/esphome.git
synced 2026-09-14 16:48:40 +00:00
6c8542026fea062dff2e18f0d371f3d596b79f16
The atomics path only takes the lock during rollover (every ~49.7 days) for a ~5 instruction critical section. A std::atomic_flag spinlock (1 byte) replaces the full FreeRTOS Mutex (~80-100 bytes RAM) since contention is near-zero. The full Mutex is kept only for the MULTI_NO_ATOMICS path (BK72xx) which needs it for broader locking. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Description
ESPHome is a system to control your ESP8266/ESP32 by simple yet powerful configuration files and control them remotely through Home Automation systems.
Readme
Multiple Licenses
603 MiB
Languages
C++
55.8%
Python
43.6%
C
0.3%
JavaScript
0.2%
