Remove ethernet from ESP32-Solo1

This commit is contained in:
Theo Arends 2022-05-11 15:07:12 +02:00
parent 8253f579f3
commit f70174142f
1 changed files with 6 additions and 0 deletions

View File

@ -104,6 +104,12 @@ String EthernetMacAddress(void);
#if CONFIG_IDF_TARGET_ESP32 #if CONFIG_IDF_TARGET_ESP32
#ifdef CORE32SOLO1
#ifdef USE_ETHERNET
#undef USE_ETHERNET // ESP32-Solo1 does not support ethernet
#endif
#endif // CORE32SOLO1
#else // Disable features not present in other ESP32 like ESP32C3, ESP32S2, ESP32S3 etc. #else // Disable features not present in other ESP32 like ESP32C3, ESP32S2, ESP32S3 etc.
#ifdef USE_ETHERNET #ifdef USE_ETHERNET
#undef USE_ETHERNET // All non-ESP32 do not support ethernet #undef USE_ETHERNET // All non-ESP32 do not support ethernet