Commit Graph

6151 Commits

Author SHA1 Message Date
Frank
c765b48694 align buildenv with upstream 0.15.2
* some buildenv cleanup, aligned buildenv names with upstream
* 4MB boards without PSRAM: ${esp32.default_partitions}
* 4MB boards with PSRAM: ${esp32.extended_partitions}
* ESP32-S3 with 4MB: ${esp32.extended_partitions}
* 16 MB boards: ${esp32.extreme_partitions}
2025-11-25 12:42:02 +01:00
Frank
c1e2c1c2cd make esp32_4MB_M_eth compile
was over flash size limits
2025-11-25 00:19:38 +01:00
Frank
21f04370e5 revive old V3 buildenv for esp32 (optional)
Allow users to build with the old "V3" framework if they want. All release builds are still using V4.
* fixed wrong references in some legacy envs
* added ${esp32_legacy.build_unflags}
* changed esp32_4MB_S_base and esp32_4MB_M_base to use old V3 framework
2025-11-25 00:05:21 +01:00
Frank
19c85a7430 esp32-S3 with >4MB flash -> back to standard platform
these boards have enough flash to use the "full" standard framework. No need to take any extra risks. Plus, I want my debug assertions back ;-)
2025-11-24 22:25:17 +01:00
Frank
8461c4584a esp32 MoonModules builds: back to standard arduino-esp32 2.0.9
I just tried to OTA update an esp32 to a "tasmota" arduino build, and the results were very bad. == back to previous, even when flash size is a problem.
2025-11-24 22:05:37 +01:00
Frank
829d90a7c8 include audioreactive for _compat builds 2025-11-24 18:55:45 +01:00
Frank
926c3a14fa esp32 platformio cleanup and improvements
* backported "legacy V3" environments for esp32
* added esp32_compat (OTA compatibility with upstream 0.14 and 0.15)
* cleanup of default environments
* commented out some dangerous default environments (avoids confusion)
2025-11-24 18:42:09 +01:00
Frank
00dcb32fb7 fix build errors for -S3 without PSRAM
tasmota platform seems to have problems when there is no PSRAM (sdkconfig.h file not found)
2025-11-24 16:47:15 +01:00
Frank
bfb26bee12 fix build error 2025-11-24 16:26:13 +01:00
Frank
ae81c165ed fix broken MoonModules build system (esp32 "V4" and esp32-S3)
* use tasmota platform for all "V4" esp32 builds
* re-enable ParticleFX when possible
2025-11-24 16:13:26 +01:00
Frank
384cbec86e desperate attempt for 8266 survival
* bring back UREAL_MATH (inaccuate, but smaller flash)
* typing to tune feature sets so they fit into small 8266 models
2025-11-24 15:50:04 +01:00
Frank
eba5c2f8a1 use fastled 3.7.1
version 3.6.0. leads to compilation errors when using newer framework versions.
2025-11-24 14:14:12 +01:00
Frank
e43fe6cd52 move all C3 and S2 builds to tasmota platform
* solved a few platformio.ini problems that lead to an unhealthy mix-up of espressif and tasmota platforms
* re-enabled "full font" support for -C3
* re-enabled full ParticleFX support for -C3
2025-11-24 14:01:48 +01:00
Frank
fd0e35fa6c updates for C3 builds
* updated flash size statistics
* add missing platform_packages lines (critical)
* Some "disable" flags to keep C3 builds below 100% flash limit
2025-11-24 12:59:16 +01:00
Frank
36d7b569bd Update Help URL in LED preferences
... another outdated link
2025-11-24 00:55:14 +01:00
Frank
8c87e3ba77 Update license link in README 2025-11-24 00:40:12 +01:00
Frank
5664a0a973 Comment out WLED upstream URL replacement
Commented out the line replacing the WLED upstream URL to prevent breaking credits.
2025-11-24 00:38:52 +01:00
Frank
0d2556405e bugfix: Disable specific URL replacements in cdata.js
Comment out unnecessary URL replacements for WLED-MM.
-> solves double replacement bug that creates WLED-MM-MM
2025-11-24 00:31:22 +01:00
Frank
61ecefa8bd Merge pull request #289 from MoonModules/404_mystery
The 404 mystery page (implements #288)
2025-11-23 21:40:46 +01:00
Frank
ffdd186dfd bugfix 2025-11-23 21:24:39 +01:00
Frank
77f44555f0 finishing touches 2025-11-23 21:17:19 +01:00
Frank
202eb76dd6 webserver integration, and fallback for WLEDMM_SAVE_FLASH 2025-11-23 21:00:51 +01:00
Frank
ce596038e3 visual restyling for better readability 2025-11-23 20:59:41 +01:00
Frank
01cecb237a the page that exists in the place where no page should exist 2025-11-23 18:15:30 +01:00
Frank
d74a2af0c7 404 => 404mini 2025-11-23 17:36:30 +01:00
Frank
efa7aa1d66 Update WLED-App link in README 2025-11-23 17:25:06 +01:00
Frank
511c8fe293 Update links in readme.md for WLED-MM 2025-11-23 17:23:12 +01:00
Frank
e0c7d254bb fix outdated URLs
Aircoookie Wiki => mm.kno.wled.ge
MoonModules/WLED => MoonModules/WLED-MM
Aircoookie/WLED => wled/WLED
2024 => 2025
2025-11-23 17:18:10 +01:00
Frank
424416d51a hotfix: Disable deviceId retrieval to avoid crashes
Temporarily disable deviceID retrieval to prevent crashes on some ESP32 boards. This prevents the DeviceID from being added to /json/info, until we find a solution that does not crash my esp32.
2025-11-23 02:28:47 +01:00
Frank
086ae216c8 partitions file for boards with 32MB flash, buildenv for WROOM-2 32MB 2025-11-23 01:09:52 +01:00
Frank
f4d890c584 adding "-D SR_DMTYPE=254" to classic esp32 builds with HUB75 support
on classic esp32, the HUB75 driver uses the I2S unit. Set AR default to "receive only", to prevent driver conflicts.
2025-11-23 00:53:38 +01:00
Frank
d8e07d1609 partition files for use with ADAFRUIT boards
these partition files preserve the special "UF2" bootloader that is necessary for adafruit -S2 and -S3 boards.
2025-11-22 18:06:43 +01:00
Frank
ec97f4903f don't include any font when building with WLED_DISABLE_2D
saves up to 12Kb program space in flash
2025-11-22 16:30:16 +01:00
Will Tatam
2c0510b5b9 Merge pull request #284 from netmindz/deviceId-MM
Add deviceId
2025-11-22 12:31:16 +00:00
Frank
cf999286a8 Merge pull request #282 from MoonModules/high_ascii (implements #281)
* Compile with -D WLED_ENABLE_FULL_FONTS to use all character defined in the font files (including EU spechial cars, line art, and some symbols and icons) -> increases flash size by ~8KBytes
* Unicode support added for scrolling text - allows to use all characters of the font
* Conversion from UTF-8 to "codepage 437" - can be extended to other codepages if you have a font that needs another codepage
* Support added for WLED_MAX_SEGNAME_LEN (default:48) - needs more testing
* Segment names > WLED_MAX_SEGNAME_LEN will be truncated, instead of silently deleting
* Preparations for future additions like user-defined font files and font width > 8 pixels
2025-11-21 17:45:00 +01:00
Frank
e38c2b32c8 finishing touches
* replace strlen with strnlen
* avoid static variable in getFontInfo
* remove legacy code in drawCharacter (new code works well)

it works for me, let's ship it ;-)
2025-11-21 17:26:04 +01:00
Frank
e6676372d8 refactor / cleanup font selection logic
* centralize font selection logic into  getFontInfo()
* removed unneeded parameter "numberOfChars" from drawText()
* new file: wled_fonts.hpp to centralize font management logic (inline)
* only compile wchar16ToCodepage437 when WLED_ENABLE_FULL_FONTS
* minor cleanup
2025-11-21 17:04:08 +01:00
Frank
213cd185b5 explanations for CP437 translations, some cleanups, bugfix for drawString
* explanation for CP437 glyph groups
* translation for MonnModules symbol
* "smiley" replacement for 4-bytes and overlong unicode codes
* always compile unicodetool.cpp (codepage translation still depends on WLED_ENABLE_UNICODE)
* bugfix: DrawString now skips over glyphs that would be rejected by DrawCharacter
* minor cleanup
2025-11-21 13:48:38 +01:00
Will Tatam
d047ee0984 Add deviceId 2025-11-21 08:39:50 +00:00
Frank
527acefdea improvement for UTF-8 safe string trucation of segment name
did I mention already that this is complicated stuff? oh yes, it is.
2025-11-21 02:52:01 +01:00
Frank
aea83a352f bugfix: incomplete time/date in full font mode
maxLen = numberOfChars
2025-11-21 00:55:03 +01:00
Frank
053551d61d scrolling text blur moved to where it should be
accidentally put it into the "full font" ifdef
2025-11-21 00:36:09 +01:00
Frank
c36e493b47 Fix strlcpy destination size parameters 2025-11-21 00:16:25 +01:00
Frank
415aadc6e0 removing dead code 2025-11-21 00:10:33 +01:00
Frank
7ef94bc6c7 use strlcpy instead of strcpy 2025-11-21 00:08:15 +01:00
Frank
c3dce1353c fix font shadow code
stupid mistake ... it must still be "i>0" because its about the scanline, not the character code
2025-11-21 00:01:13 +01:00
Frank
e63dc7e71e longer segment names
* introducing WLED_MAX_SEGNAME_LEN from upstream
* default: max name length = 48
* hopefully found all places where the segment name length was hardcoded (32, 33, 34)
* some comments still refer to "32" but wtf
2025-11-20 23:49:26 +01:00
Frank
dcdc05b592 unicode-related robustness improvements
* enable ARDUINOJSON_DECODE_UNICODE (otherwise unicode needs 6(!) bytes for encoding)
* robustness: increase a few tiny string buffers for some extra margin
* Web UI: allow entering up to 64 chars as segment name
2025-11-20 22:36:46 +01:00
Frank
2f48f03e44 truncate long segment name, instead of discarding
UX improvement: when segment names are too long (esp. with unicode), truncate it instead of deleting the name completely
2025-11-20 22:33:42 +01:00
Frank
2c3592c3f3 fix off-by-one array violation, debug message wghen segment name is too long
* fix possible off-by-one array overflow in drawText
* debug message when too-long segment name was dropped
2025-11-20 18:43:15 +01:00