Skip to content

Commit

Permalink
Merge pull request MoonModules#65 from MoonModules/eth-builds
Browse files Browse the repository at this point in the history
Add Ethernet build
  • Loading branch information
netmindz authored Aug 14, 2023
2 parents 1b5ef5c + dbda447 commit a6f999d
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
default_envs =
; esp32_4MB_S ;; experimental, optimized for speed
esp32_4MB_M ; recommended default
esp32_4MB_M_eth
esp32_4MB_M_debug
esp32_4MB_XL
; esp32_16MB_S ;; experimental, optimized for speed
Expand Down Expand Up @@ -1119,6 +1120,15 @@ 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_M_eth]
extends = esp32_4MB_M_base
build_flags = ${esp32_4MB_M_base.build_flags}
-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


[env:esp32_4MB_XL]
extends = esp32_4MB_XL_base
build_flags = ${esp32_4MB_XL_base.build_flags}
Expand Down

0 comments on commit a6f999d

Please sign in to comment.