Add esp32_16MB_M_eth

Test needed if NetDebug works on esp32_16MB_M_eth
This commit is contained in:
Ewoud
2023-03-10 15:41:22 +01:00
parent 437284d380
commit a0a0f99c3e
3 changed files with 14 additions and 2 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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