disable ESP-NOW remotes in ethernet build (may crash)
ESP-NOW requires wifi. It will crash with ethernet connection.
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user