simplify user_config.h
as test_config.h represents now the modules we want to tests per board there is no need of keeping differenciation into user_config.h
This commit is contained in:
1 parent
bdac0e1713
commit
9dfb5f9b01
1 file changed
+42
-83
+42
-83
@@ -83,89 +83,48 @@ const byte subnet[] = { 255, 255, 255, 0 }; //ip adress
|
|||||||
|
|
||||||
/*-------------DEFINE THE MODULES YOU WANT BELOW----------------*/
|
/*-------------DEFINE THE MODULES YOU WANT BELOW----------------*/
|
||||||
//Addons and module management, comment the Z line and the config file if you don't use
|
//Addons and module management, comment the Z line and the config file if you don't use
|
||||||
#ifdef ESP8266 // for nodemcu, weemos and esp8266
|
|
||||||
#define ZgatewayRF
|
#define ZgatewayRF //ESP8266, Arduino, ESP32
|
||||||
#include "config_RF.h"
|
#include "config_RF.h"
|
||||||
//#define ZgatewayRF2
|
|
||||||
//#define ZgatewaySRFB
|
//#define ZgatewayRF2 //ESP8266, Arduino, ESP32
|
||||||
//#include "config_SRFB.h"
|
|
||||||
#define ZgatewayIR
|
//#define ZgatewaySRFB //Sonoff RF Bridge
|
||||||
#include "config_IR.h"
|
//#include "config_SRFB.h"
|
||||||
#define ZgatewayBT
|
|
||||||
#include "config_BT.h"
|
#define ZgatewayIR //ESP8266, Arduino, Sonoff RF Bridge
|
||||||
//#define ZactuatorONOFF
|
#include "config_IR.h"
|
||||||
//#include "config_ONOFF.h"
|
|
||||||
//#define ZsensorINA226
|
#define ZgatewayBT //ESP8266, Arduino, ESP32
|
||||||
//#include "config_INA226.h"
|
#include "config_BT.h"
|
||||||
//#define ZsensorHCSR501
|
|
||||||
//#include "config_HCSR501.h"
|
//#define ZactuatorONOFF //ESP8266, Arduino, ESP32, Sonoff RF Bridge
|
||||||
//#define ZsensorADC
|
//#include "config_ONOFF.h"
|
||||||
//#include "config_ADC.h"
|
|
||||||
//#define ZsensorBH1750
|
//#define ZsensorINA226 //ESP8266, Arduino, ESP32
|
||||||
//#include "config_BH1750.h"
|
//#include "config_INA226.h"
|
||||||
//#define ZsensorTSL2561
|
|
||||||
//#include "config_TSL2561.h"
|
//#define ZsensorHCSR501 //ESP8266, Arduino, ESP32, Sonoff RF Bridge
|
||||||
//#define ZsensorBME280
|
//#include "config_HCSR501.h"
|
||||||
//#include "config_BME280.h"
|
|
||||||
//#define ZsensorDHT // If you uncomment this you can't use I2C due to the fact that I2C use also D1
|
//#define ZsensorADC //ESP8266, Arduino, ESP32
|
||||||
//#include "config_DHT.h"
|
//#include "config_ADC.h"
|
||||||
//#define ZgatewayRFM69 // If you uncomment this you can't use RF and BT due to the fact that RF use also D8 and BT use also D6/D7
|
|
||||||
//#include "config_RFM69.h"
|
//#define ZsensorBH1750 //ESP8266, Arduino, ESP32
|
||||||
#elif ESP32
|
//#include "config_BH1750.h"
|
||||||
#define ZgatewayRF
|
|
||||||
#include "config_RF.h"
|
//#define ZsensorTSL2561 //ESP8266, Arduino, ESP32
|
||||||
//#define ZgatewayRF2
|
//#include "config_TSL2561.h"
|
||||||
//#define ZgatewayIR
|
|
||||||
//#include "config_IR.h"
|
//#define ZsensorBME280 //ESP8266, Arduino, ESP32
|
||||||
#define ZgatewayBT
|
//#include "config_BME280.h"
|
||||||
#include "config_BT.h"
|
|
||||||
//#define ZactuatorONOFF
|
//#define ZsensorDHT //ESP8266, Arduino, ESP32, Sonoff RF Bridge
|
||||||
//#include "config_ONOFF.h"
|
//#include "config_DHT.h"
|
||||||
//#define ZsensorINA226
|
|
||||||
//#include "config_INA226.h"
|
//#define ZgatewayRFM69 //ESP8266, Arduino, ESP32
|
||||||
//#define ZsensorHCSR501
|
//#include "config_RFM69.h"
|
||||||
//#include "config_HCSR501.h"
|
|
||||||
//#define ZsensorADC
|
|
||||||
//#include "config_ADC.h"
|
|
||||||
//#define ZsensorBH1750
|
|
||||||
//#include "config_BH1750.h"
|
|
||||||
//#define ZsensorBME280
|
|
||||||
//#include "config_BME280.h"
|
|
||||||
//#define ZsensorDHT // If you uncomment this you can't use I2C due to the fact that I2C use also D1
|
|
||||||
//#include "config_DHT.h"
|
|
||||||
//#define ZgatewayRFM69 // If you uncomment this you can't use RF and BT due to the fact that RF use also D8 and BT use also D6/D7
|
|
||||||
//#include "config_RFM69.h"
|
|
||||||
#else // for arduino + W5100
|
|
||||||
#define ZgatewayRF
|
|
||||||
#include "config_RF.h"
|
|
||||||
//#define ZgatewayRF2 // too big for UNO
|
|
||||||
//#define ZgatewayRFM69 not tested
|
|
||||||
//#include "config_RFM69.h"
|
|
||||||
#define ZgatewayIR
|
|
||||||
#include "config_IR.h"
|
|
||||||
#define ZgatewayBT
|
|
||||||
#include "config_BT.h"
|
|
||||||
//#define ZactuatorONOFF
|
|
||||||
//#include "config_ONOFF.h"
|
|
||||||
//#define ZsensorINA226
|
|
||||||
//#include "config_INA226.h"
|
|
||||||
//#define ZsensorDHT
|
|
||||||
//#include "config_DHT.h"
|
|
||||||
//#define ZsensorBH1750
|
|
||||||
//#include "config_BH1750.h"
|
|
||||||
//#define ZsensorTSL2561
|
|
||||||
//#include "config_TSL2561.h"
|
|
||||||
//#define ZsensorBME280
|
|
||||||
//#include "config_BME280.h"
|
|
||||||
//#define ZsensorHCSR501
|
|
||||||
//#include "config_HCSR501.h"
|
|
||||||
//#define ZsensorADC
|
|
||||||
//#include "config_ADC.h"
|
|
||||||
//#define ZgatewayRFM69 not tested
|
|
||||||
//#include "config_RFM69.h"
|
|
||||||
//#define ZsensorINA226
|
|
||||||
//#include "config_INA226.h"
|
|
||||||
#endif
|
|
||||||
/*----------------------------OTHER PARAMETERS-----------------------------*/
|
/*----------------------------OTHER PARAMETERS-----------------------------*/
|
||||||
/*-------------------CHANGING THEM IS NOT COMPULSORY-----------------------*/
|
/*-------------------CHANGING THEM IS NOT COMPULSORY-----------------------*/
|
||||||
/*----------------------------USER PARAMETERS-----------------------------*/
|
/*----------------------------USER PARAMETERS-----------------------------*/
|
||||||
|
|||||||
Reference in new issue
Block a user