mirror of
https://github.com/esphome/esphome.git
synced 2026-09-14 08:38:39 +00:00
ec2259733eecbff2f900ddb77b629694cc68aa34
A std::atomic_flag spinlock is unsafe on preemptive single-core RTOS platforms (like LN882H) due to priority inversion: a high-priority task spinning would prevent the lock holder from running to release it. FreeRTOS Mutex has priority inheritance to handle this correctly. Added a comment explaining why spinlock can't be used here. 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
594 MiB
Languages
C++
55.8%
Python
43.6%
C
0.3%
JavaScript
0.2%
