mirror of
https://github.com/esphome/esphome.git
synced 2026-07-11 01:15:33 +00:00
0bcb85cc72
The Realtek SDK defines `#define SUCCESS 0` in basic_types.h which collides with the FlushResult::SUCCESS enum value, breaking compilation on RTL87xx devices when api/wifi components pull in the SDK headers. Add `#undef SUCCESS` before the enum definition, following the same pattern used elsewhere in the codebase for vendor SDK macro collisions. Also add RTL87xx UART compilation test.