-
-
Notifications
You must be signed in to change notification settings - Fork 120
W5500 Support for ALL boards #320
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: mdev
Are you sure you want to change the base?
Changes from all commits
af6aa5b
2bb2664
dc41ebb
7037edd
8a114b2
60d28a9
830861a
6ccb057
b745f8c
f4b2dd8
25eaa8f
28bd512
52c3eb9
164614b
42d2f1c
ff28c9c
199d505
84da8cb
6079b48
ac1a4ca
e11e1f3
6091344
7db76e0
f698f06
e0c8b47
7cd1b2f
a430386
cfcd2dd
b1f44d4
4917c13
83bff2d
a540b96
33feac9
84b35af
286d95e
a4d0822
68e1790
41512dd
43fe29d
214be9a
32a0c7b
f676134
10d70c7
9772e36
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -115,6 +115,7 @@ default_envs = | |
| abc_wled_controller_v43_V4_S | ||
| athom_music_esp32_4MB_V4_M | ||
| adafruit_matrixportal_esp32s3 ;; HUB75 supported, uses standard bootloader | ||
| WaveShare_ESP32-S3-ETH ;; Easiest ESP32-S3 with W5500 Ethernet and USB-C for programming | ||
| ; adafruit_matrixportal_esp32s3_tinyUF2 ;; supports the adafruit "tinyUF2" bootloader | ||
|
|
||
| ; Go to MoonModules environments for environments | ||
|
|
@@ -262,6 +263,7 @@ lib_deps = | |
| https://github.com/Aircoookie/ESPAsyncWebServer.git#v2.4.2 | ||
| bitbank2/AnimatedGIF@^1.4.7 | ||
| https://github.com/Aircoookie/GifDecoder.git#bc3af189b6b1e06946569f6b4287f0b79a860f8e | ||
| https://github.com/troyhacks/ETHClass2.git#3744ef20fdaa8d8c15597701fc3b5267757bee90 | ||
| #For use of the TTGO T-Display ESP32 Module with integrated TFT display uncomment the following line | ||
| #TFT_eSPI | ||
| #For compatible OLED display uncomment following | ||
|
|
@@ -325,6 +327,7 @@ lib_deps = | |
| ${esp8266.lib8266_deps} ;; use proven library versions for 8266 | ||
| lib_ignore = | ||
| NeoESP32RmtHI | ||
| ETHClass2 | ||
|
|
||
| ;; compatibilty flags - same as 0.14.0 which seems to work better on some 8266 boards. Not using PIO_FRAMEWORK_ARDUINO_MMU_CACHE16_IRAM48 | ||
| build_flags_compat = | ||
|
|
@@ -420,11 +423,11 @@ platformV4_pre = espressif32@5.2.0 | |
| platformV4_packages_pre = | ||
| toolchain-riscv32-esp @ 8.4.0+2021r2-patch5 ; required for platform version < 5.3.0, remove this line when upgrading to platform >=5.3.0 | ||
| ;;; standard V4 platform | ||
| platformV4 = espressif32@ ~6.3.2 | ||
| platformV4_packages = platformio/framework-arduinoespressif32 @ 3.20009.0 ;; select arduino-esp32 v2.0.9 (arduino-esp32 2.0.10 thru 2.0.14 are buggy so avoid them) | ||
| platformV4 = espressif32@6.12.0 | ||
| platformV4_packages = platformio/framework-arduinoespressif32 @ 3.20017.241212+sha.dcc1105b ;; select arduino-esp32 v2.0.9 (arduino-esp32 2.0.10 thru 2.0.14 are buggy so avoid them) | ||
|
Comment on lines
+426
to
+427
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🧩 Analysis chain🏁 Script executed: cd /tmp && find . -name "platformio.ini" -type f 2>/dev/null | head -5Repository: MoonModules/WLED-MM Length of output: 45 🏁 Script executed: head -500 platformio.ini | tail -100Repository: MoonModules/WLED-MM Length of output: 5453 🏁 Script executed: sed -n '410,430p' platformio.iniRepository: MoonModules/WLED-MM Length of output: 1219 🏁 Script executed: sed -n '1860,1870p' platformio.iniRepository: MoonModules/WLED-MM Length of output: 582 🏁 Script executed: sed -n '2550,2565p' platformio.iniRepository: MoonModules/WLED-MM Length of output: 917 🌐 Web query:
💡 Result: platform-espressif32 (release around 2023-06-02 / v6.3.2) used framework-arduinoespressif32 version 3.20009.0 (Arduino core 2.0.9). [1][2] Sources:
🏁 Script executed: # Check what other environments reference platformTasmota
grep -n "platformTasmota\|platform_packagesTasmota" platformio.ini | head -20Repository: MoonModules/WLED-MM Length of output: 1078 🏁 Script executed: # Check if there are comments explaining why Tasmota is used
grep -B2 -A2 "platform_packagesTasmota" platformio.ini | head -40Repository: MoonModules/WLED-MM Length of output: 1895 Update Tasmota platform framework version to support W5500. Multiple environments using Update 🤖 Prompt for AI Agents |
||
|
|
||
| ;;; experimental: latest V4 platform with latest arduino-esp32 2.0.14 + ESP-IDF 4.4.6 (may or may not work) | ||
| platformV4_xp = espressif32@ ~6.5.0 | ||
| platformV4_xp = espressif32@6.12.0 | ||
| platformV4_packages_xp = platformio/framework-arduinoespressif32 @ 3.20014.231204 ;; arduino-esp32 2.0.14 | ||
|
|
||
| build_flagsV4 = -g | ||
|
|
@@ -458,8 +461,8 @@ lib_depsV4 = | |
| ;; platform_packages = platformio/framework-arduinoespressif32 @ 3.20009.0 ;; select arduino-esp32 v2.0.9 (arduino-esp32 2.0.10 thru 2.0.14 are buggy so avoid them) | ||
|
|
||
| ;; Tasmota Arduino Core 2.0.9 with IPv6 support, based on IDF 4.4.4. Warning: all kernel error asserts removed | ||
| platform = ${esp32.platformTasmota} | ||
| platform_packages = ${esp32.platform_packagesTasmota} | ||
| platform = espressif32@6.12.0 ;; ${esp32.platformTasmota} | ||
| platform_packages = platformio/framework-arduinoespressif32 @ 3.20017.241212+sha.dcc1105b ;; ${esp32.platform_packagesTasmota} | ||
coderabbitai[bot] marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
|
||
| build_unflags = ${common.build_unflags} | ||
| build_flags = -g | ||
|
|
@@ -689,6 +692,8 @@ build_flags = ${common.build_flags} ${esp32_legacy.build_flags} -D WLED_RELEAS | |
| ;;-D WLED_ENABLE_FULL_FONTS ;; 10KB flash | ||
| lib_deps = ${esp32_legacy.lib_deps} | ||
| ${esp32.AR_lib_deps} | ||
| lib_ignore = ${esp32_legacy.lib_ignore} | ||
| ETHClass2 | ||
| board_build.partitions = ${esp32_legacy.default_partitions} | ||
| monitor_filters = esp32_exception_decoder | ||
| ;; RAM: [== ] 23.2% (used 75944 bytes from 327680 bytes) | ||
|
|
@@ -1480,6 +1485,8 @@ build_flags = ${esp32_4MB_M_base.build_flags} | |
| -D WLED_DISABLE_INFRARED ;; Over the limit | ||
| -D WLED_DISABLE_PARTICLESYSTEM1D ;; exceeds flash size limit | ||
| -D WLED_DISABLE_PARTICLESYSTEM2D ;; exceeds flash size limit | ||
| lib_ignore = ${esp32_4MB_M_base.lib_ignore} | ||
| ETHClass2 | ||
|
Comment on lines
+1488
to
+1489
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Inconsistent configuration: ethernet enabled but ETHClass2 library ignored. The Remove lib_ignore = ${esp32_4MB_M_base.lib_ignore}
- ETHClass2🤖 Prompt for AI Agents |
||
| ; RAM: [== ] 24.1% (used 78904 bytes from 327680 bytes) | ||
| ; Flash: [==========] 98.5% (used 1548489 bytes from 1572864 bytes | ||
|
|
||
|
|
@@ -1856,8 +1863,8 @@ extends = env:esp32_4MB_V4_S_HUB75 | |
| [env:esp32_4MB_V4_M] | ||
| extends = esp32_4MB_V4_M_base | ||
| ;; needs tasmota framework; will exceed flash limits with default framework | ||
| platform = ${esp32.platform} ;; "V4" tasmota | ||
| platform_packages = ${esp32.platform_packages} | ||
| platform = ${esp32.platformTasmota} | ||
| platform_packages = ${esp32.platform_packagesTasmota} | ||
| build_flags = ${esp32_4MB_V4_M_base.esp32_build_flags} | ||
| -D WLED_RELEASE_NAME=esp32_4MB_V4_M | ||
| -D WLED_WATCHDOG_TIMEOUT=0 #-D WLED_DISABLE_BROWNOUT_DET | ||
|
|
@@ -1869,6 +1876,7 @@ build_flags = ${esp32_4MB_V4_M_base.esp32_build_flags} | |
| lib_deps = ${esp32_4MB_V4_M_base.esp32_lib_deps} | ||
| lib_ignore = | ||
| IRremoteESP8266 ; use with WLED_DISABLE_INFRARED for faster compilation | ||
| ETHClass2 | ||
| ${common_mm.HUB75_lib_ignore} ;; over the flash size limit | ||
| ;;${common_mm.animartrix_lib_ignore} | ||
| build_unflags = ${esp32_4MB_V4_M_base.build_unflags} | ||
|
|
@@ -2547,8 +2555,8 @@ lib_ignore = | |
| ;; MM for esp32-s3 zero/supermini and lolin S3 mini boards - standard | ||
| [env:esp32S3_4MB_PSRAM_M] | ||
| extends = env:esp32S3_8MB_M | ||
| platform = ${esp32s3.platform} | ||
| platform_packages = ${esp32s3.platform_packages} | ||
| platform = ${esp32.platformTasmota} | ||
| platform_packages = ${esp32.platform_packagesTasmota} | ||
| board = lolin_s3_mini ;; -S3 mini: 4MB flash 2MB PSRAM | ||
| board_build.partitions = ${esp32.extended_partitions} ;; 1.65MB firmware, 700KB filesystem | ||
| build_unflags = ${common.build_unflags} | ||
|
|
@@ -2587,6 +2595,7 @@ lib_ignore = | |
| ;; IRremoteESP8266 ; use with WLED_DISABLE_INFRARED for faster compilation | ||
| ${common_mm.HUB75_lib_ignore} | ||
| ${common_mm.DMXin_lib_ignore} | ||
| ETHClass2 | ||
| ;; ${common_mm.animartrix_lib_ignore} | ||
| ; RAM: [== ] 16.7% (used 54676 bytes from 327680 bytes) | ||
| ; Flash: [======== ] 83.2% (used 1416997 bytes from 1703936 bytes) | ||
|
|
@@ -2661,8 +2670,8 @@ monitor_filters = esp32_exception_decoder | |
| [env:esp32s2_PSRAM_M] | ||
| extends = esp32_4MB_V4_M_base | ||
| ;; default tasmota platform | ||
| platform = ${esp32s2.platform} | ||
| platform_packages = ${esp32s2.platform_packages} | ||
| platform = ${esp32.platformTasmota} | ||
| platform_packages = ${esp32.platform_packagesTasmota} | ||
| ;; standard espressif platform (optional) | ||
| ;; platform = ${esp32.platformV4} | ||
| ;; platform_packages = ${esp32.platformV4_packages} | ||
|
|
@@ -2710,6 +2719,7 @@ lib_deps = ${esp32s2.lib_deps} ${common_mm.lib_deps_S} ${common_mm.lib_deps_V4_M | |
| lib_ignore = | ||
| IRremoteESP8266 ; use with WLED_DISABLE_INFRARED for faster compilation | ||
| OneWire ; not needed as we don't include USERMOD_DALLASTEMPERATURE | ||
| ETHClass2 | ||
| ${common_mm.HUB75_lib_ignore} | ||
| ${common_mm.DMXin_lib_ignore} | ||
| monitor_filters = esp32_exception_decoder | ||
|
|
@@ -2718,6 +2728,8 @@ monitor_filters = esp32_exception_decoder | |
|
|
||
| [env:esp32s2_PSRAM_S] | ||
| extends = env:esp32s2_PSRAM_M | ||
| platform = ${esp32.platformTasmota} | ||
| platform_packages = ${esp32.platform_packagesTasmota} | ||
| board_build.partitions = ${esp32.default_partitions} ;; 1.55MB firmware, 1MB filesystem | ||
| build_unflags = ${env:esp32s2_PSRAM_M.build_unflags} | ||
| -DWLED_DISABLE_ADALIGHT | ||
|
|
@@ -2731,6 +2743,7 @@ build_flags = ${env:esp32s2_PSRAM_M.build_flags} | |
| -D WLED_RELEASE_NAME=esp32s2_4MB_S | ||
| lib_deps = ${env:esp32s2_PSRAM_M.lib_deps} | ||
| lib_ignore = ${env:esp32s2_PSRAM_M.lib_ignore} | ||
| ETHClass2 | ||
| U8g2 | ||
| ${common_mm.animartrix_lib_ignore} | ||
| ; RAM: [== ] 18.1% (used 59176 bytes from 327680 bytes) | ||
|
|
@@ -2821,6 +2834,8 @@ build_flags = ${env:esp32c3dev_4MB_M.build_flags} | |
|
|
||
| [env:esp32c3dev_2MB_M] | ||
| extends = env:esp32c3dev_4MB_M | ||
| platform = ${esp32.platformTasmota} | ||
| platform_packages = ${esp32.platform_packagesTasmota} | ||
| board = lolin_c3_mini | ||
| ;;; replace WLED_RELEASE_NAME, disable CDC_ON_BOOT | ||
| build_unflags = ${env:esp32c3dev_4MB_M.build_unflags} | ||
|
|
@@ -2833,7 +2848,8 @@ board_build.partitions = tools/WLED_ESP32_2MB_noOTA.csv | |
| board_build.flash_mode = dio | ||
| board_upload.flash_size = 2MB | ||
| board_upload.maximum_size = 2097152 | ||
|
|
||
| lib_ignore = ${env:esp32c3dev_4MB_M.lib_ignore} | ||
| ETHClass2 | ||
| build_flags = ${env:esp32c3dev_4MB_M.build_flags} | ||
| -D WLED_WATCHDOG_TIMEOUT=0 | ||
| -D WLED_DISABLE_OTA | ||
|
|
@@ -3073,8 +3089,8 @@ lib_ignore = ${esp32_4MB_M_base.lib_ignore} | |
| ;; "V4" build environment (tasmota core) | ||
| [env:athom_music_esp32_4MB_V4_M] | ||
| extends = esp32_4MB_V4_M_base | ||
| platform = ${esp32.platform} ;; "V4" tasmota | ||
| platform_packages = ${esp32.platform_packages} | ||
| platform = ${esp32.platformTasmota} | ||
| platform_packages = ${esp32.platform_packagesTasmota} | ||
| build_unflags = ${esp32_4MB_V4_M_base.build_unflags} ;; ${common_mm.build_disable_sync_interfaces} | ||
| ${common_mm.animartrix_build_flags} ;; exceeds flash limits, no pins for HUB75 | ||
| ; -D USERMOD_ARTIFX ;; disabled to save some program space in flash | ||
|
|
@@ -3108,6 +3124,7 @@ build_flags = ${esp32_4MB_V4_M_base.esp32_build_flags} | |
| lib_deps = ${esp32_4MB_V4_M_base.esp32_lib_deps} | ||
| lib_ignore = | ||
| ${common_mm.DMXin_lib_ignore} | ||
| ETHClass2 | ||
| ; RAM: [== ] 24.0% (used 78568 bytes from 327680 bytes) | ||
| ; Flash: [======== ] 82.3% (used 1402341 bytes from 1703936 bytes) | ||
|
|
||
|
|
@@ -3309,3 +3326,12 @@ build_flags = ${env:adafruit_matrixportal_esp32s3_wled.build_flags} | |
| [env:adafruit_matrixportal_esp32s3] | ||
| ;; this buildenv is just an alias for the matrixportal UF2 build, to keep 3rd party build tools happy. | ||
| extends = env:adafruit_matrixportal_esp32s3_wled | ||
|
|
||
| [env:WaveShare_ESP32-S3-ETH] | ||
| ;; This is the easiest-to-use W5500 board as it has USB-C for programming | ||
| extends = env:esp32S3_16MB_PSRAM_M_HUB75 | ||
| build_unflags = -D LEDPIN -D BTNPIN -D RLYPIN -D I2S_SDPIN -D I2S_CKPIN -D I2S_WSPIN -D ARDUINO_TTGO_T7_S3 | ||
| build_flags = ${env:esp32S3_16MB_PSRAM_M_HUB75.build_flags} | ||
| -D WLED_USE_ETHERNET | ||
| -D WLED_ETH_DEFAULT=16 | ||
| -D LEDPIN=-1 -D BTNPIN=-1 -D RLYPIN=-1 -D I2S_SDPIN=-1 -D I2S_CKPIN=-1 -D I2S_WSPIN=-1 | ||
Uh oh!
There was an error while loading. Please reload this page.