mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-26 20:26:32 +00:00
Fix ESP32C3 compilation
This commit is contained in:
parent
7211b45ac4
commit
eb566c3b62
@ -94,6 +94,19 @@ String EthernetMacAddress(void);
|
|||||||
|
|
||||||
#ifdef ESP32
|
#ifdef ESP32
|
||||||
|
|
||||||
|
/*-------------------------------------------------------------------------------------------*\
|
||||||
|
* Start ESP32-C32 specific parameters - disable features not present in ESP32-C3
|
||||||
|
\*-------------------------------------------------------------------------------------------*/
|
||||||
|
|
||||||
|
#if CONFIG_IDF_TARGET_ESP32C3 // ESP32-C3
|
||||||
|
#ifdef USE_ETHERNET
|
||||||
|
#undef USE_ETHERNET // ESP32-C3 does not support ethernet
|
||||||
|
#endif
|
||||||
|
#endif // CONFIG_IDF_TARGET_ESP32C3
|
||||||
|
|
||||||
|
/*-------------------------------------------------------------------------------------------*\
|
||||||
|
* End ESP32-S2 specific parameters
|
||||||
|
\*-------------------------------------------------------------------------------------------*/
|
||||||
/*-------------------------------------------------------------------------------------------*\
|
/*-------------------------------------------------------------------------------------------*\
|
||||||
* Start ESP32-S2 specific parameters - disable features not present in ESP32-S2
|
* Start ESP32-S2 specific parameters - disable features not present in ESP32-S2
|
||||||
\*-------------------------------------------------------------------------------------------*/
|
\*-------------------------------------------------------------------------------------------*/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user