Added checks for supported platforms to config.sample.h
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Fabian Schlenz 2019-06-07 06:30:38 +02:00
parent 38c55e3047
commit ced56d2ae8
1 changed files with 4 additions and 0 deletions

View File

@ -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