Compare commits

...

5 Commits

Author SHA1 Message Date
Frank 138eb99e64 fix compiler warning "ambiguous cast" 2026-07-04 12:42:07 +02:00
Frank Möhle 27bb0f9983 Add WLED_DEBUG flag to -S3 usermod buildenv
might catch some broken DEBUG_PRINT statements in usermods
only added to -S3, as this build has 16MB flash size, so the boat is big enough.
2026-07-03 17:22:34 +02:00
Frank 3fc9335f4b fix for usermod CI builds, part2
Align build_flags in usermods platformio.ini with main paltformio.ini
2026-07-03 17:22:33 +02:00
Frank Möhle ae9cbb6727 Update build flags for usermods environment
Added a flag for WLED_USE_SD_SPI to support "all usermods" test builds
2026-07-03 17:22:33 +02:00
Frank Möhle c8a4248b7a build 2606301 2026-07-01 12:15:19 +02:00
4 changed files with 12 additions and 3 deletions
+1 -1
View File
@@ -776,7 +776,7 @@ platform = ${esp32_idf_V4.platform}
platform_packages = ${esp32_idf_V4.platform_packages}
build_unflags = ${common.build_unflags}
build_flags = ${common.build_flags} ${esp32_idf_V4.build_flags} -D WLED_RELEASE_NAME=\"ESP32_USERMODS\"
-DTOUCH_CS=9
-DTOUCH_CS=9 -DWLED_USE_SD_SPI ;; help a few usermods that require special flags to compile
lib_deps = ${esp32_idf_V4.lib_deps}
monitor_filters = esp32_exception_decoder
board_build.flash_mode = dio
@@ -3,12 +3,16 @@ default_envs = usermods_esp32, usermods_esp32c3, usermods_esp32s2, usermods_esp3
[env:usermods_esp32]
extends = env:esp32dev
build_flags = ${env:esp32dev.build_flags}
-DTOUCH_CS=9 -D WLED_USE_SD_SPI ;; help a few usermods that require special flags to compile
custom_usermods = ${usermods.custom_usermods}
board_build.partitions = ${esp32.extreme_partitions} ; We're gonna need a bigger boat
[env:usermods_esp32c3]
extends = env:esp32c3dev
build_flags = ${env:esp32c3dev.build_flags}
-DTOUCH_CS=9 -D WLED_USE_SD_SPI ;; help a few usermods that require special flags to compile
board = esp32-c3-devkitm-1
custom_usermods = ${usermods.custom_usermods}
board_build.partitions = ${esp32.extreme_partitions} ; We're gonna need a bigger boat
@@ -16,12 +20,17 @@ board_build.partitions = ${esp32.extreme_partitions} ; We're gonna need a bigge
[env:usermods_esp32s2]
extends = env:lolin_s2_mini
build_flags = ${env:lolin_s2_mini.build_flags}
-DTOUCH_CS=9 -D WLED_USE_SD_SPI ;; help a few usermods that require special flags to compile
custom_usermods = ${usermods.custom_usermods}
board_build.partitions = ${esp32.extreme_partitions} ; We're gonna need a bigger boat
[env:usermods_esp32s3]
extends = env:esp32s3dev_16MB_opi
build_flags = ${env:esp32s3dev_16MB_opi.build_flags}
-DTOUCH_CS=9 -D WLED_USE_SD_SPI ;; help a few usermods that require special flags to compile
-D WLED_DEBUG ;; try to catch broken DEBUG_PRINT statements
custom_usermods = ${usermods.custom_usermods}
board_build.partitions = ${esp32.extreme_partitions} ; We're gonna need a bigger boat
+1 -1
View File
@@ -716,7 +716,7 @@ void WLED::initConnection()
WiFi.setHostname(hostname);
#endif
if (multiWiFi[selectedWiFi].staticIP != 0U && multiWiFi[selectedWiFi].staticGW != 0U) {
if (uint32_t(multiWiFi[selectedWiFi].staticIP) != 0U && uint32_t(multiWiFi[selectedWiFi].staticGW) != 0U) { // explicit cast to uint32_t ensures we check the IPv4 adress, not IPv6
WiFi.config(multiWiFi[selectedWiFi].staticIP, multiWiFi[selectedWiFi].staticGW, multiWiFi[selectedWiFi].staticSN, dnsAddress);
} else {
WiFi.config(IPAddress((uint32_t)0), IPAddress((uint32_t)0), IPAddress((uint32_t)0));
+1 -1
View File
@@ -7,7 +7,7 @@
*/
// version code in format yymmddb (b = daily build)
#define VERSION 2605010
#define VERSION 2606301
//uncomment this if you have a "my_config.h" file you'd like to use
//#define WLED_USE_MY_CONFIG