mirror of
https://github.com/esphome/esphome.git
synced 2026-03-03 19:28:20 -07: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
263 MiB
Languages
C++
64%
Python
35.6%
C
0.3%
