[libretiny] Make IRAM_ATTR functional on RTL87xx and LN882H (#15766)

This commit is contained in:
J. Nick Koston authored and GitHub committed 2026-04-16 19:38:49 +00:00
1 parent 6bb90a1268
commit 627e440bd6
11 files changed
+308 -29

No files matched your search

+3 -3
View File
@@ -12,12 +12,12 @@
namespace esphome {
// === ESP32 — IRAM_ATTR entry points ===
#ifdef USE_ESP32
// === ESP32 / LibreTiny — IRAM_ATTR entry points ===
#if defined(USE_ESP32) || defined(USE_LIBRETINY)
void IRAM_ATTR wake_loop_isrsafe(BaseType_t *px_higher_priority_task_woken) {
esphome_main_task_notify_from_isr(px_higher_priority_task_woken);
}
void IRAM_ATTR wake_loop_any_context() { esphome_main_task_notify_any_context(); }
void IRAM_ATTR wake_loop_any_context() { wake_main_task_any_context(); }
#endif
// === ESP8266 / RP2040 ===