diff --git a/include/config.sample.h b/include/config.sample.h index 07093b6..e80bbd8 100644 --- a/include/config.sample.h +++ b/include/config.sample.h @@ -83,6 +83,10 @@ #define LOGln(x) do {} while(0); #endif +#if !defined( ESP8266 ) && !defined( ESP32 ) + #error "Neither ESP8266 nor ESP32 are set. Maybe you are compiling this for another platform...?" +#endif + #ifndef CONFIG_USABLE #error "CONFIG_USABLE isn't set!" #endif