Merge branch 'uart-isr-wake-on-rx' into integration

This commit is contained in:
J. Nick Koston
2026-02-28 12:26:54 -10:00
2 changed files with 8 additions and 2 deletions
@@ -3,11 +3,11 @@
#ifdef USE_ESP32
#include <driver/uart.h>
#include "esphome/core/component.h"
#include "uart_component.h"
#ifdef USE_UART_WAKE_LOOP_ON_RX
#include <driver/uart_select.h>
#endif
#include "esphome/core/component.h"
#include "uart_component.h"
namespace esphome::uart {
+6
View File
@@ -126,6 +126,12 @@
#include <stddef.h>
// IRAM_ATTR is defined by esp_attr.h (included via FreeRTOS headers) on ESP32.
// On LibreTiny it's not defined — provide a no-op fallback.
#ifndef IRAM_ATTR
#define IRAM_ATTR
#endif
// Compile-time verification of thread safety assumptions.
// On ESP32 (Xtensa/RISC-V) and LibreTiny (ARM Cortex-M), naturally-aligned
// reads/writes up to 32 bits are atomic.