From af3a8c0dc24a99e61ba3c74b45186f9d9cc64ae8 Mon Sep 17 00:00:00 2001 From: Will Tatam Date: Mon, 14 Aug 2023 20:21:06 +0100 Subject: [PATCH 1/4] esp32_4MB_eth_M --- platformio.ini | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/platformio.ini b/platformio.ini index 07fb50c8..9ce4a60b 100644 --- a/platformio.ini +++ b/platformio.ini @@ -1119,6 +1119,13 @@ build_flags = ${esp32_4MB_M_base.build_flags} ; RAM: [=== ] 25.2% (used 82628 bytes from 327680 bytes) ; Flash: [========= ] 94.3% (used 1483793 bytes from 1572864 bytes) WLEDMM: earlier 91.1 +[env:esp32_4MB_eth_M] +extends = esp32_4MB_M_base +build_flags = ${esp32_4MB_M_base.build_flags} + -D WLED_RELEASE_NAME=esp32_4MB_eth_M -D WLED_USE_ETHERNET + -D WLED_DISABLE_ESPNOW ;; ESP-NOW requires wifi, may crash with ethernet only + + [env:esp32_4MB_XL] extends = esp32_4MB_XL_base build_flags = ${esp32_4MB_XL_base.build_flags} From 5293a45c7fbaffa1af47deade6e3fa7af790b625 Mon Sep 17 00:00:00 2001 From: Will Tatam Date: Mon, 14 Aug 2023 20:24:53 +0100 Subject: [PATCH 2/4] Disable RLYPIN and BTNPIN as done with other ethernet build --- platformio.ini | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/platformio.ini b/platformio.ini index 9ce4a60b..a5fffdc1 100644 --- a/platformio.ini +++ b/platformio.ini @@ -1122,7 +1122,9 @@ build_flags = ${esp32_4MB_M_base.build_flags} [env:esp32_4MB_eth_M] extends = esp32_4MB_M_base build_flags = ${esp32_4MB_M_base.build_flags} - -D WLED_RELEASE_NAME=esp32_4MB_eth_M -D WLED_USE_ETHERNET + -D WLED_RELEASE_NAME=esp32_4MB_eth_M + -D WLED_USE_ETHERNET + -D RLYPIN=-1 -D BTNPIN=-1 ;; Prevent clash -D WLED_DISABLE_ESPNOW ;; ESP-NOW requires wifi, may crash with ethernet only From 2d0d742fb6e09688a71738adaad3b84af4a6ae74 Mon Sep 17 00:00:00 2001 From: Will Tatam Date: Mon, 14 Aug 2023 20:42:51 +0100 Subject: [PATCH 3/4] esp32_4MB_eth_M --- platformio.ini | 1 + 1 file changed, 1 insertion(+) diff --git a/platformio.ini b/platformio.ini index a5fffdc1..2adeccab 100644 --- a/platformio.ini +++ b/platformio.ini @@ -46,6 +46,7 @@ default_envs = ; esp32_4MB_S ;; experimental, optimized for speed esp32_4MB_M ; recommended default + esp32_4MB_eth_M esp32_4MB_M_debug esp32_4MB_XL ; esp32_16MB_S ;; experimental, optimized for speed From dbda447756be618dcbc49048535d35a185dbba85 Mon Sep 17 00:00:00 2001 From: Will Tatam Date: Mon, 14 Aug 2023 21:07:48 +0100 Subject: [PATCH 4/4] Swap naming format to match 16MB eth image --- platformio.ini | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/platformio.ini b/platformio.ini index 2adeccab..ddfe84a4 100644 --- a/platformio.ini +++ b/platformio.ini @@ -46,7 +46,7 @@ default_envs = ; esp32_4MB_S ;; experimental, optimized for speed esp32_4MB_M ; recommended default - esp32_4MB_eth_M + esp32_4MB_M_eth esp32_4MB_M_debug esp32_4MB_XL ; esp32_16MB_S ;; experimental, optimized for speed @@ -1120,10 +1120,10 @@ build_flags = ${esp32_4MB_M_base.build_flags} ; RAM: [=== ] 25.2% (used 82628 bytes from 327680 bytes) ; Flash: [========= ] 94.3% (used 1483793 bytes from 1572864 bytes) WLEDMM: earlier 91.1 -[env:esp32_4MB_eth_M] +[env:esp32_4MB_M_eth] extends = esp32_4MB_M_base build_flags = ${esp32_4MB_M_base.build_flags} - -D WLED_RELEASE_NAME=esp32_4MB_eth_M + -D WLED_RELEASE_NAME=esp32_4MB_M_eth -D WLED_USE_ETHERNET -D RLYPIN=-1 -D BTNPIN=-1 ;; Prevent clash -D WLED_DISABLE_ESPNOW ;; ESP-NOW requires wifi, may crash with ethernet only