From a0a0f99c3e27d41fb3621cbd2c180d9b66ac3886 Mon Sep 17 00:00:00 2001 From: Ewoud Date: Fri, 10 Mar 2023 15:41:22 +0100 Subject: [PATCH] Add esp32_16MB_M_eth Test needed if NetDebug works on esp32_16MB_M_eth --- platformio.ini | 11 +++++++++++ wled00/wled.cpp | 3 ++- wled00/wled.h | 2 +- 3 files changed, 14 insertions(+), 2 deletions(-) diff --git a/platformio.ini b/platformio.ini index 93809bc3..2703e250 100644 --- a/platformio.ini +++ b/platformio.ini @@ -68,6 +68,7 @@ default_envs = esp8266pro_16MB_S esp8266pro_16MB_M esp01_1MB_S + esp32_16MB_M_eth ; Go to MoonModules environments for environments @@ -973,6 +974,16 @@ board_build.partitions = tools/WLED_ESP32_16MB.csv ; Flash: [======= ] 67.0% (used 1405701 bytes from 2097152 bytes) ;lib_ignore = IRremoteESP8266 ; use with WLED_DISABLE_INFRARED for faster compilation +[env:esp32_16MB_M_eth] +extends = esp32_4MB_M_base +board_build.partitions = tools/WLED_ESP32_16MB.csv +board = esp32_16MB +build_flags = ${esp32_4MB_M_base.build_flags} + -D WLED_RELEASE_NAME=esp32_16MB_M_eth ; This will be included in the firmware.bin filename + -D WLED_USE_ETHERNET +; RAM: [== ] 24.5% (used 80348 bytes from 327680 bytes) +; Flash: [======= ] 69.4% (used 1455233 bytes from 2097152 bytes) + [env:esp8266_4MB_S] extends = env:d1_mini upload_speed = 460800 ;115200 diff --git a/wled00/wled.cpp b/wled00/wled.cpp index 4a6f4d56..1f3825a1 100644 --- a/wled00/wled.cpp +++ b/wled00/wled.cpp @@ -868,7 +868,8 @@ void WLED::initInterfaces() WiFi.hostByName(WLED_DEBUG_HOST, netDebugPrintIP, 750); #else #ifdef WLED_USE_ETHERNET - ETH.hostByName(WLED_DEBUG_HOST, netDebugPrintIP); + // ETH.hostByName(WLED_DEBUG_HOST, netDebugPrintIP); WLEDMM: ETH.hostByName does not exist, WiFi.hostByName seems to do the same, but must be tested. + WiFi.hostByName(WLED_DEBUG_HOST, netDebugPrintIP); #else WiFi.hostByName(WLED_DEBUG_HOST, netDebugPrintIP); #endif diff --git a/wled00/wled.h b/wled00/wled.h index 068cb466..0ec4f636 100644 --- a/wled00/wled.h +++ b/wled00/wled.h @@ -8,7 +8,7 @@ */ // version code in format yymmddb (b = daily build) -#define VERSION 2303090 +#define VERSION 2303100 //uncomment this if you have a "my_config.h" file you'd like to use //#define WLED_USE_MY_CONFIG