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.
This commit is contained in:
JeremyLaurenson 2024-06-02 16:25:54 -04:00
parent cce2dc59b4
commit d3ef6670df
1 changed files with 4 additions and 0 deletions

View File

@ -26,6 +26,10 @@
********************************************************************************/
#include <ESPmDNS.h>
#include <core_version.h>
#ifdef ARDUINO_ESP32_RELEASE_3_0_0
# error HomeSpan currently does not work on the Espressif Board 3.0 definitions$
#endif
#include <sodium.h>
#include <MD5Builder.h>
#include <mbedtls/version.h>