mirror of
https://github.com/esphome/esphome.git
synced 2024-12-22 13:34:54 +01:00
Minor defines.h updates (#5610)
This commit is contained in:
parent
2adda3a994
commit
535568e065
1 changed files with 7 additions and 3 deletions
|
@ -78,6 +78,7 @@
|
||||||
#define USE_VOICE_ASSISTANT
|
#define USE_VOICE_ASSISTANT
|
||||||
#define USE_MICROPHONE
|
#define USE_MICROPHONE
|
||||||
#define USE_SPEAKER
|
#define USE_SPEAKER
|
||||||
|
#define USE_SPI
|
||||||
|
|
||||||
#ifdef USE_ARDUINO
|
#ifdef USE_ARDUINO
|
||||||
#define USE_ARDUINO_VERSION_CODE VERSION_CODE(2, 0, 5)
|
#define USE_ARDUINO_VERSION_CODE VERSION_CODE(2, 0, 5)
|
||||||
|
@ -97,9 +98,7 @@
|
||||||
#define USE_HTTP_REQUEST_ESP8266_HTTPS
|
#define USE_HTTP_REQUEST_ESP8266_HTTPS
|
||||||
#define USE_SOCKET_IMPL_LWIP_TCP
|
#define USE_SOCKET_IMPL_LWIP_TCP
|
||||||
|
|
||||||
#ifdef USE_LIBRETINY
|
#define USE_SPI
|
||||||
#define USE_SOCKET_IMPL_LWIP_SOCKETS
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// Dummy firmware payload for shelly_dimmer
|
// Dummy firmware payload for shelly_dimmer
|
||||||
#define USE_SHD_FIRMWARE_MAJOR_VERSION 56
|
#define USE_SHD_FIRMWARE_MAJOR_VERSION 56
|
||||||
|
@ -112,6 +111,11 @@
|
||||||
#ifdef USE_RP2040
|
#ifdef USE_RP2040
|
||||||
#define USE_ARDUINO_VERSION_CODE VERSION_CODE(3, 3, 0)
|
#define USE_ARDUINO_VERSION_CODE VERSION_CODE(3, 3, 0)
|
||||||
#define USE_SOCKET_IMPL_LWIP_TCP
|
#define USE_SOCKET_IMPL_LWIP_TCP
|
||||||
|
#define USE_SPI
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifdef USE_LIBRETINY
|
||||||
|
#define USE_SOCKET_IMPL_LWIP_SOCKETS
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef USE_HOST
|
#ifdef USE_HOST
|
||||||
|
|
Loading…
Reference in a new issue