Commit Graph

6196 Commits

Author SHA1 Message Date
Frank
e4e3565cd6 Update CONTRIBUTING.md with AI usage guidelines
Added guidelines for contributions involving AI assistance.
2025-12-03 15:24:57 +01:00
Frank
f69c0717de Revert "ledmap not needed, part 2: always delete ledmap if it does not change pixel order"
This reverts commit e9082d6da2.
2025-12-03 14:00:16 +01:00
Frank
e9082d6da2 ledmap not needed, part 2: always delete ledmap if it does not change pixel order 2025-12-02 23:08:45 +01:00
Frank
2ef623eeaa always do the "no ledmap needed" test & optimization 2025-12-02 22:33:06 +01:00
Frank
3b160b90e2 platformio.ini: short hashes => long hashes
short hashes can cause spurious build errors, and will not be supported any more in future platform version.
2025-12-01 21:21:17 +01:00
Frank
1b1128b699 remove inconsistent error code text printing to serial
error codes "translations" were incomplete and outdated, so lets save a few 100 bytes of flash
2025-12-01 03:16:15 +01:00
Frank
12d7c085b2 better handling of low-brightness colors
reduce default gamma from 2.8 to 2.6
2025-12-01 03:12:44 +01:00
Frank
3452994709 8266: gif player needs too much RAM -> remove
Avoid bloating the 8266 firmware with features that 8266 cannot use.

GIF decoder needs 24KB ram just for decoding tables, and more RAM for scanline caches.
2025-11-30 22:01:01 +01:00
Frank
b68488a9ab 8266: revert to ESPAsyncWebServerWLED @ 2.2.1
preventive workaround related to upstream #5136
* all 8266 builds inherit lib_ignore form main 8266 env
2025-11-30 19:59:48 +01:00
Frank
9c659e19d5 hub75 example buildenv from upstream
these will *not* work as-is for WLED-MM
2025-11-30 16:00:26 +01:00
Damian Schneider
b13d90bec6 FIX for adafruit portal S3: remove extra flash section & use default WLED partitions (#5113)
* remove extra flash section, rename board file
* matrixportal: change partitions to standard 8MB

plus minor name adjustment (adding "for WLED")

Co-authored-by: Frank <91616163+softhack007@users.noreply.github.com>
2025-11-30 15:48:46 +01:00
Frank
496daee882 Merge pull request #286 from netmindz/add-report-version-feature-MM
* Upgrade reporting: One-time install/upgrade prompt with Report / Not Now / Never Ask and optional anonymous upgrade reporting.
* renamed the "tpram" item to "tpsram" (upstream future compatibility)
* Upgrade prompts with "WLED-MM" branding
*  etags cache-control feature backported from upstream. 
   Important: it might be necessary to clear your browser cache once after updating (press <ctrl>+<F5> in MS Edge). This should solve spurious JavaScript "object not found" errors.
2025-11-30 14:25:47 +01:00
Frank
47a1b62fce tiny optimization
small flash optimization by re-using string constants (string merging)
2025-11-30 14:10:33 +01:00
Frank
520bc8fcb5 Merge branch 'mdev' into pr/286 2025-11-30 01:38:44 +01:00
Frank
15451c16f9 reduce debug noise on serial
downgraded a few USER_PRINT to DEBUG_PRINT
2025-11-30 01:22:34 +01:00
Frank
e17e67f02d adding monitor_filters 2025-11-30 01:21:26 +01:00
Frank
963b4075b8 chip revision style: v<major>.<minor> 2025-11-30 01:09:51 +01:00
Frank
9a4e7a6049 bugfix for reboot loop affecting V3 "legacy" builds
* ``-DCONFIG_LITTLEFS_FOR_IDF_3_2 -DLFS_THREADSAFE`` caused a crash when mounting the filesystem
* added "extends = " to MM legacy buildenvs
* make sure that flash_mode is always well-defined
2025-11-29 23:26:19 +01:00
Frank
428d63dcc9 bugfix for reboot loop affecting V3 "legacy" builds
* ``-DCONFIG_LITTLEFS_FOR_IDF_3_2 -DLFS_THREADSAFE`` caused a crash when mounting the filesystem
* added "extends = " to MM legacy buildenvs
* make sure that flash_mode is always well-defined
2025-11-29 23:16:43 +01:00
Frank
aa8148e02a fix for athom music build 2025-11-29 22:12:56 +01:00
Will Tatam
49bd6300b8 fix loading version-info to use older edit api 2025-11-29 22:11:22 +01:00
Frank
0bcece32a3 fix wrong syntax in platformio.ini 2025-11-29 21:41:03 +01:00
Frank
0de55bde04 Merge branch 'mdev' into pr/286 2025-11-29 21:31:16 +01:00
Frank
fae6218e52 tiny fix
forgot to change "dev" to "mdev" in package-lock.json
2025-11-29 21:29:58 +01:00
Frank
de9c6aed48 remove anumartix and artifx from V3 legacy builds
flash size limits exceeded
2025-11-29 21:27:58 +01:00
Frank
aff7bbfefe tpram => tpsram
small update for code readability
2025-11-29 21:27:09 +01:00
Frank
23ce580a28 post-merge
* reduce memory footprint by removing all unneeded functions in ota_update.cpp
* don't compile ota_update.cpp when WLED_DISABLE_OTA is defined
2025-11-29 21:26:24 +01:00
Will Tatam
00e026ce08 Merge pull request #5126 from wled/copilot/backport-version-reporting-0-15-x
Backport version reporting (PR #5093 and #5111) to 0.15.x
2025-11-29 19:17:29 +01:00
Frank
f423710e78 Merge branch 'mdev' into pr/286 2025-11-29 00:48:07 +01:00
Frank
6ae4507531 avoid #define in generateDeviceFingerprint() 2025-11-29 00:47:45 +01:00
Copilot
260f26dadb Fix stale UI after firmware updates (#5120)
Add WEB_BUILD_TIME to html_ui.h and use it for ETag generation

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: DedeHai <6280424+DedeHai@users.noreply.github.com>
Co-authored-by: Aircoookie <21045690+Aircoookie@users.noreply.github.com>
2025-11-29 00:26:46 +01:00
Frank
1125a0003b build number 2511281 2025-11-28 23:10:56 +01:00
Frank
a9670435cf update message: report total PSRAM, instead of unused PSRAM space 2025-11-28 22:59:54 +01:00
Frank
23864c70fd update dialog: align data with upstream 2025-11-28 22:59:05 +01:00
Frank
d2dab32f10 WLED-MM branding for update message box 2025-11-28 22:58:15 +01:00
Frank
d473263661 Merge branch 'mdev' into pr/286 2025-11-28 22:16:05 +01:00
Frank
9097dff8f6 show full chip revision in info
shows "rev3.1" instead of "rev3" on V4 builds
2025-11-28 22:06:47 +01:00
Frank
b9ba15a61f older framework support - chip_info.full_revision
this field was added to chip_info in esp-idf 4.4.4 => use "revision" for older frameworks  versions
2025-11-27 20:57:53 +01:00
Frank
e75073c429 re-enable deviceId 2025-11-27 20:42:51 +01:00
Will Tatam
0ac6ca4285 Merge pull request #5111 from DedeHai/safe_UID_generation
Safe uid generation
2025-11-27 20:41:14 +01:00
Frank
1b3823510c update default AP channel to 6, possible fix for "AP does not show"
backport from upstream
2025-11-27 11:14:59 +01:00
Frank
04c466cd6f improved and very fast map()
added map0() that should be used when the input value range is starting at 0. fast and very accurate, much better than map() or map2().
2025-11-26 19:41:13 +01:00
Frank
d26c751281 Disable unicode support in ArduinoJson
Disabled unicode hex string support, to save flash memory.
2025-11-25 21:33:21 +01:00
Frank
bede8f89ea larger program partition for ETH builds 2025-11-25 13:07:15 +01:00
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