From 47b6170722e84634b12e8072cca3fd298f1a26f8 Mon Sep 17 00:00:00 2001 From: Jason2866 <24528715+Jason2866@users.noreply.github.com> Date: Sun, 20 Feb 2022 14:00:25 +0100 Subject: [PATCH] Update tasmota_configurations_ESP32.h --- tasmota/tasmota_configurations_ESP32.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tasmota/tasmota_configurations_ESP32.h b/tasmota/tasmota_configurations_ESP32.h index 8a533e0b4..84e937bf3 100644 --- a/tasmota/tasmota_configurations_ESP32.h +++ b/tasmota/tasmota_configurations_ESP32.h @@ -457,7 +457,9 @@ //#define USE_A4988_STEPPER // Add support for A4988/DRV8825 stepper-motor-driver-circuit (+10k5 code) //#define USE_THERMOSTAT // Add support for Thermostat -#define USE_ETHERNET // Add support for ethernet (+20k code) +#if CONFIG_IDF_TARGET_ESP32 + #define USE_ETHERNET // Add support for ethernet (+20k code) +#endif #ifndef USE_KNX #define USE_KNX // Enable KNX IP Protocol Support (+23k code, +3k3 mem)