forked from esphome/esphome
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Clean-up constant definitions (esphome#2148)
- Loading branch information
Showing
12 changed files
with
76 additions
and
55 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
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
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
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 |
---|---|---|
@@ -1,31 +1,52 @@ | ||
#pragma once | ||
// This file is auto-generated! Do not edit! | ||
|
||
// This file is not used by the runtime, instead, a version is generated during | ||
// compilation with only the relevant feature flags for the current build. | ||
// | ||
// This file is only used by static analyzers and IDEs. | ||
|
||
// Informative flags | ||
#define ESPHOME_BOARD "dummy_board" | ||
#define ESPHOME_PROJECT_NAME "dummy project" | ||
#define ESPHOME_PROJECT_VERSION "v2" | ||
|
||
// Feature flags | ||
#define USE_ADC_SENSOR_VCC | ||
#define USE_API | ||
#define USE_LOGGER | ||
#define USE_BINARY_SENSOR | ||
#define USE_SENSOR | ||
#define USE_SWITCH | ||
#define USE_WIFI | ||
#define USE_STATUS_LED | ||
#define USE_TEXT_SENSOR | ||
#define USE_FAN | ||
#define USE_CAPTIVE_PORTAL | ||
#define USE_CLIMATE | ||
#define USE_COVER | ||
#define USE_DEEP_SLEEP | ||
#define USE_ESP8266_PREFERENCES_FLASH | ||
#define USE_FAN | ||
#define USE_HOMEASSISTANT_TIME | ||
#define USE_I2C_MULTIPLEXER | ||
#define USE_JSON | ||
#define USE_LIGHT | ||
#define USE_CLIMATE | ||
#define USE_NUMBER | ||
#define USE_SELECT | ||
#define USE_LOGGER | ||
#define USE_MDNS | ||
#define USE_MQTT | ||
#define USE_NUMBER | ||
#define USE_OTA_STATE_CALLBACK | ||
#define USE_POWER_SUPPLY | ||
#define USE_HOMEASSISTANT_TIME | ||
#define USE_JSON | ||
#define USE_PROMETHEUS | ||
#define USE_SELECT | ||
#define USE_SENSOR | ||
#define USE_STATUS_LED | ||
#define USE_SWITCH | ||
#define USE_TEXT_SENSOR | ||
#define USE_TFT_UPLOAD | ||
#define USE_TIME | ||
#define USE_WIFI | ||
#define USE_WIFI_WPA2_EAP | ||
|
||
#ifdef ARDUINO_ARCH_ESP32 | ||
#define USE_ESP32_CAMERA | ||
#define USE_ESP32_BLE_SERVER | ||
#define USE_ESP32_CAMERA | ||
#define USE_ETHERNET | ||
#define USE_IMPROV | ||
#endif | ||
#define USE_TIME | ||
#define USE_DEEP_SLEEP | ||
#define USE_CAPTIVE_PORTAL | ||
#define ESPHOME_BOARD "dummy_board" | ||
#define USE_MDNS | ||
|
||
// Disabled feature flags | ||
//#define USE_BSEC // Requires a library with proprietary license. |
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 |
---|---|---|
@@ -1,3 +1,9 @@ | ||
#pragma once | ||
// This file is auto-generated! Do not edit! | ||
|
||
// This file is not used by the runtime, instead, a version is generated during | ||
// compilation with only the version for the current build. This is kept in its | ||
// own file so that not all files have to be recompiled for each new release. | ||
// | ||
// This file is only used by static analyzers and IDEs. | ||
|
||
#define ESPHOME_VERSION "dev" |