mirror of
https://github.com/esphome/esphome.git
synced 2024-11-21 22:48:10 +01:00
[CI] Fix webserver defines to be present based on platform, not just framework (#7703)
This commit is contained in:
parent
5a2fed3569
commit
74ea1b60e3
1 changed files with 6 additions and 2 deletions
|
@ -86,8 +86,6 @@
|
||||||
#ifdef USE_ARDUINO
|
#ifdef USE_ARDUINO
|
||||||
#define USE_CAPTIVE_PORTAL
|
#define USE_CAPTIVE_PORTAL
|
||||||
#define USE_PROMETHEUS
|
#define USE_PROMETHEUS
|
||||||
#define USE_WEBSERVER
|
|
||||||
#define USE_WEBSERVER_PORT 80 // NOLINT
|
|
||||||
#define USE_WIFI_WPA2_EAP
|
#define USE_WIFI_WPA2_EAP
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -111,6 +109,8 @@
|
||||||
#define USE_SPEAKER
|
#define USE_SPEAKER
|
||||||
#define USE_SPI
|
#define USE_SPI
|
||||||
#define USE_VOICE_ASSISTANT
|
#define USE_VOICE_ASSISTANT
|
||||||
|
#define USE_WEBSERVER
|
||||||
|
#define USE_WEBSERVER_PORT 80 // NOLINT
|
||||||
#define USE_WIFI_11KV_SUPPORT
|
#define USE_WIFI_11KV_SUPPORT
|
||||||
|
|
||||||
#ifdef USE_ARDUINO
|
#ifdef USE_ARDUINO
|
||||||
|
@ -147,6 +147,8 @@
|
||||||
#define USE_SHD_FIRMWARE_DATA \
|
#define USE_SHD_FIRMWARE_DATA \
|
||||||
{}
|
{}
|
||||||
|
|
||||||
|
#define USE_WEBSERVER
|
||||||
|
#define USE_WEBSERVER_PORT 80 // NOLINT
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef USE_RP2040
|
#ifdef USE_RP2040
|
||||||
|
@ -158,6 +160,8 @@
|
||||||
|
|
||||||
#ifdef USE_LIBRETINY
|
#ifdef USE_LIBRETINY
|
||||||
#define USE_SOCKET_IMPL_LWIP_SOCKETS
|
#define USE_SOCKET_IMPL_LWIP_SOCKETS
|
||||||
|
#define USE_WEBSERVER
|
||||||
|
#define USE_WEBSERVER_PORT 80 // NOLINT
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef USE_HOST
|
#ifdef USE_HOST
|
||||||
|
|
Loading…
Reference in a new issue