From d3ef6670df7e0eb62aa226c085fa6e7c35f47a6d Mon Sep 17 00:00:00 2001 From: JeremyLaurenson Date: Sun, 2 Jun 2024 16:25:54 -0400 Subject: [PATCH] Alert users to compatibility with Espressif Boards v3 This checks the core_version definition of the espressif32 and throws an error with a description of the fix rather than failing on sodium include. --- src/HAP.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/HAP.cpp b/src/HAP.cpp index 4f08076..ab2f8ad 100644 --- a/src/HAP.cpp +++ b/src/HAP.cpp @@ -26,6 +26,10 @@ ********************************************************************************/ #include +#include +#ifdef ARDUINO_ESP32_RELEASE_3_0_0 +# error HomeSpan currently does not work on the Espressif Board 3.0 definitions$ +#endif #include #include #include