From 477cb11b36e3f36bb0d75eb23e30cdd0637f8f77 Mon Sep 17 00:00:00 2001 From: Frank <91616163+softhack007@users.noreply.github.com> Date: Tue, 1 Aug 2023 12:55:04 +0200 Subject: [PATCH] disable ESP-NOW remotes in ethernet build (may crash) ESP-NOW requires wifi. It will crash with ethernet connection. --- platformio.ini | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/platformio.ini b/platformio.ini index 7ac008a6..46df1a04 100644 --- a/platformio.ini +++ b/platformio.ini @@ -533,7 +533,7 @@ platform = ${esp32.platform} platform_packages = ${esp32.platform_packages} upload_speed = 921600 build_unflags = ${common.build_unflags} -build_flags = ${common.build_flags_esp32} -D WLED_RELEASE_NAME=ESP32_Ethernet -D RLYPIN=-1 -D WLED_USE_ETHERNET -D BTNPIN=-1 +build_flags = ${common.build_flags_esp32} -D WLED_RELEASE_NAME=ESP32_Ethernet -D RLYPIN=-1 -D WLED_USE_ETHERNET -D BTNPIN=-1 -D WLED_DISABLE_ESPNOW lib_deps = ${esp32.lib_deps} board_build.partitions = ${esp32.default_partitions} @@ -1215,6 +1215,7 @@ board = esp32_16MB-poe ;; needed for ethernet boards (selects "esp32-poe" 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 + -D WLED_DISABLE_ESPNOW ;; ESP-NOW requires wifi, may crash with ethernet only ; RAM: [== ] 24.5% (used 80348 bytes from 327680 bytes) ; Flash: [======= ] 69.4% (used 1455233 bytes from 2097152 bytes)