From ced56d2ae81e513871d87bf0e533becce4da7b1c Mon Sep 17 00:00:00 2001 From: Fabian Schlenz Date: Fri, 7 Jun 2019 06:30:38 +0200 Subject: [PATCH] Added checks for supported platforms to config.sample.h --- include/config.sample.h | 4 ++++ 1 file changed, 4 insertions(+) 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