mirror of
https://github.com/esphome/esphome.git
synced 2026-08-29 01:03:29 +00:00
ESP-NOW rides the Wi-Fi PHY, so on a radio-less esp32 variant the espnow component would otherwise fail with an inscrutable "undefined reference to esp_now_*" at link time. Fail fast in final validation instead: the P4 must have the esp32_hosted shim, and other radio-less variants have no ESP-NOW path at all. Adds a P4 esp32_hosted + espnow compile test and unit tests for the new validation.