-
Notifications
You must be signed in to change notification settings - Fork 639
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #780 from lobradov/h-split
.h splitting and reorg
- Loading branch information
Showing
17 changed files
with
467 additions
and
396 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
#pragma once | ||
|
||
//------------------------------------------------------------------------------ | ||
// Do not change this file unless you know what you are doing | ||
// Configuration settings are in the settings.h file | ||
//------------------------------------------------------------------------------ | ||
|
||
|
||
#if DEBUG_TELNET_SUPPORT | ||
#undef TELNET_SUPPORT | ||
#define TELNET_SUPPORT 1 | ||
#endif | ||
|
||
#ifndef DEBUG_WEB_SUPPORT | ||
#define DEBUG_WEB_SUPPORT WEB_SUPPORT // Enable web debug log if web is enabled too | ||
#endif | ||
|
||
#if DEBUG_WEB_SUPPORT | ||
#undef WEB_SUPPORT | ||
#define WEB_SUPPORT 1 // Chicken and egg :) | ||
#endif | ||
|
||
#if not WEB_SUPPORT | ||
#undef SSDP_SUPPORT | ||
#define SSDP_SUPPORT 0 // SSDP support requires web support | ||
#endif | ||
|
||
#if UART_MQTT_SUPPORT | ||
#define MQTT_SUPPORT 1 | ||
#undef TERMINAL_SUPPORT | ||
#define TERMINAL_SUPPORT 0 | ||
#undef DEBUG_SERIAL_SUPPORT | ||
#define DEBUG_SERIAL_SUPPORT 0 | ||
#endif | ||
|
||
#if DOMOTICZ_SUPPORT | ||
#undef MQTT_SUPPORT | ||
#define MQTT_SUPPORT 1 // If Domoticz enabled enable MQTT | ||
#endif | ||
|
||
#if HOMEASSISTANT_SUPPORT | ||
#undef MQTT_SUPPORT | ||
#define MQTT_SUPPORT 1 // If Home Assistant enabled enable MQTT | ||
#endif | ||
|
||
#ifndef ASYNC_TCP_SSL_ENABLED | ||
#if THINGSPEAK_USE_SSL && THINGSPEAK_USE_ASYNC | ||
#undef THINGSPEAK_SUPPORT // Thingspeak in ASYNC mode requires ASYNC_TCP_SSL_ENABLED | ||
#endif | ||
#endif | ||
|
||
#if SCHEDULER_SUPPORT | ||
#undef NTP_SUPPORT | ||
#define NTP_SUPPORT 1 // Scheduler needs NTP | ||
#endif | ||
|
||
//------------------------------------------------------------------------------ | ||
// Sensors | ||
//------------------------------------------------------------------------------ | ||
|
||
|
||
#if ANALOG_SUPPORT | ||
#undef ADC_VCC_ENABLED | ||
#define ADC_VCC_ENABLED 0 | ||
#endif | ||
|
||
#if EMON_ANALOG_SUPPORT | ||
#undef ADC_VCC_ENABLED | ||
#define ADC_VCC_ENABLED 0 | ||
#endif | ||
|
||
// I2C dependencies moved to actual sensor files. | ||
|
||
//------------------------------------------------------------------------------ |
Oops, something went wrong.