Commit Graph

88 Commits

Author SHA1 Message Date
Frank
eeb4973a2e support common.js (future support for VideoLab tool) 2025-12-19 00:51:39 +01:00
Frank
45b97e8028 PixelForge adaptations for version 14.x
* different call for listing images
* different call for deleting images
* minor cleanups
2025-12-18 23:51:48 +01:00
Damian Schneider
0f5c1d5a0f "WLEDPixelForge": new image & scrolling text interface (#4982)
replaces the pixel magic tool with a much more feature-rich tool for handling gif images. Also adds a scrolling text interface and the possibility to add more tools with a single button click like the classic pixel magic tool and the pixel-painter tool.
2025-12-18 23:44:01 +01:00
Frank
114bdb416f upgrade HTML data build system - use same tools as in upstream WLED
align with tools/cdata.js from upstream WLED

--> prerequisite for pixelforge tool !
2025-12-18 23:40:23 +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
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
202eb76dd6 webserver integration, and fallback for WLEDMM_SAVE_FLASH 2025-11-23 21:00:51 +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
086ae216c8 partitions file for boards with 32MB flash, buildenv for WROOM-2 32MB 2025-11-23 01:09:52 +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
d98ef84d40 additional matrixportal buildenv using original adafruit bootloader
you should

first) perform the "bootloader repair" as described in https://learn.adafruit.com/adafruit-matrixportal-s3/factory-reset#factory-reset-and-bootloader-repair-3107941

second) upload partitions.bin and firmware.bin created by the _tinyUF2 build
2024-12-19 12:53:40 +01:00
Frank
22b16ab542 Align all licensing statements with EUPL-1.2 2024-10-14 21:52:52 +02:00
Frank
15199dc711 protect unconnected USB-CDC from being used
found a few more places where Serial was used without first checking if its connected.

Arduino docs: `if (Serial)` indicates whether or not the USB CDC serial connection is open. For all non-USB CDC ports, this will always return true
2024-05-29 15:43:24 +02:00
Frank
d61d57d608 additional partitions file with 512KB filesystem
just enough program space to use S3 mini/zero boards with "optimize for speed"
2024-04-29 13:04:47 +02:00
Frank
7ca4fc070b Merge pull request #3902 from Aircoookie/arduino_2_0_9
update esp32 platform to arduino-esp32 v2.0.9
2024-04-23 16:11:44 +02:00
Frank
0f53353177 Update ESP32-Chip_info.hpp
minor update
- align with latest chip_info.ino
- remove duplicate info
- string optimizations to reduce flash size
2024-02-08 00:17:00 +01:00
Frank
16c8810c96 alternative partitions file for 8MB, with more program space
3.2MB program, 1.5MB LittleFS filesystem.
2024-02-06 19:24:33 +01:00
Frank
f43df42468 Delete WLED_ESP32-wrover_4MB.csv
deleting the duplicate / obsolete "wrover" file. Its exactly the same as the normal "1MB FS" layout.
2024-02-06 19:23:32 +01:00
Frank
8905992a89 code spell checking - part4 (MM specific) 2023-12-15 00:14:57 +01:00
Frank
e6513fef88 (WIP) align platformio build env with upstream
*  espressif32@5.2.0 --> espressif32@5.3.0
* pxmagic.htm added in cdata.js
* minor updates in style.css
* align some constants and definitions (wled.h, const.h)
* npm run build
2023-11-15 22:51:03 +01:00
Frank
5707d85ed5 coredump partition update
arduino-esp32 v2.0.6 finally supports coredumps in flash.
2023-07-21 14:46:05 +02:00
Ewoud
4197f98afe package.json and cdata.js: set urls to MoonModules
index.js: add logging (temp) and improve segment view redrawing
wled00.ini: add lps (temp)
wledserver.cpp: show client request done after its done
ws.cpp: show websocket events (temp?)
2023-05-25 21:50:43 +02:00
Ewoud
fede3dd54c Merge remote-tracking branch 'upstream/main' into mdev 2023-05-11 17:39:12 +02:00
Henrik
8f5373f034 Custom Palette Creator 2023-04-08 20:02:49 +02:00
Frank
54eb42d658 build env for -C3 with only 2MB flash
based on proposal from  in PR #2951 by @andyshinn.
2MB does not allow to have an OTA partition, so this feature is disabled.
2023-03-30 00:20:01 +02:00
Frank
33f7653338 adafruit -S2 update
... turns out that the partition file name has to end in "tinyuf2.csv" - its a special flag for internal build scripts.

espressif, I sometimes hate you .-/
2023-03-22 12:05:47 +01:00
Frank
d9535f1440 optional partition layout for 2MB boards
useful for small -C3 boards with 2MB flash memory only. Based on suggestions  from https://github.com/Aircoookie/WLED/pull/2951 .

Needs `-D WLED_DISABLE_OTA` as OTA is not possible with 2MB.

RAM:   [==        ]  22.5% (used 73724 bytes from 327680 bytes)
Flash: [========= ]  94.9% (used 1492020 bytes from 1572864 bytes)
2023-03-12 15:05:18 +01:00
Frank
c9f364de76 optional 4MB partition file with almost 2MB program space
optional 4MB partition layout: 1.8MB firmware (+400KB), 256KB LittleFS (-800KB); based on  "min_spiffs.csv" from arduino-esp32, but increased filesystem partition from 128KB to 256KB.
2023-03-11 20:40:12 +01:00
Frank
d6c8f44dfa optional 16MB partition file with 3MB program space
* This is basically "app3M_fat9M_16MB.csv" from arduino-esp32 2.0.7 - just changing the filesystem type from FAT to spiffs.
* deleted the older, broken "Soundreactive 16MB" partition file.

* minor fixes for pio.ini
* adding wled.ini.cpp to .gitignore (was overdue ...)
2023-03-10 16:16:28 +01:00
Ewoud
6e187dd5aa Peek in segment tab
Move peek 2D functionality to peek.js

FX_fcn.cpp: always erase customMappingTable if non existent ledmap

wled_server.cpp: add peek.js

index.js:
- add canvasPeek
- change resize of canvas
2023-02-15 12:41:15 +01:00
Ewoud
9894ae725b Merge remote-tracking branch 'upstream/main' into mdev 2023-01-24 20:57:08 +01:00
Henrik
d2310fc2ea Revert changes 2023-01-22 21:12:03 +01:00
Henrik
3fe0ccd934 Added ability 2 output minified htm file 4 testing 2023-01-22 20:28:23 +01:00
Blaž Kristan
86d8b49113 Pixelart
- full implementation
2023-01-20 14:40:45 +01:00
Frank
f9b9716fdd Improvements for -S2
- new partition table for boards with UF2 boot (Adafruit qt py S2)
- better treatment of debug out using "USBCDC" native port
- workarounds for watchdog crashes on -S2
- Add missing but mandatory build flags for -S2 and -C3
2022-12-21 17:25:41 +01:00
Ewoud
2af9fc3755 Add mm.kno.wled.ge
Change https://kno.wled.ge to https://mm.kno.wled.ge
Change help to ?  button in usermods
Change WeatherUserMod to Weather
2022-12-21 12:30:40 +01:00
Frank
72851b5725 small changes to info page
- added "max used PSRAM" info
- moved all mem infos into one part
- only check PSRAM if BOARD_HAS_PSRAM
- oappend: debug message in case that stack buffer is too small.
2022-10-17 15:40:56 +02:00
Frank
b64981692c small update of ChipInfo tool 2022-10-13 19:32:07 +02:00
Frank
742f752af7 bringing back the Soundreactive 16M partition table
from classic SR WLED
2022-10-13 19:30:06 +02:00
Frank
7196b177aa ESP32 chip info tool for WLED_DEBUG
This is a nice little chip info tool that I've created some time ago.
When building with `-D WLED_DEBUG`, it reports some interesting information about your ESP32 on serial monitor.

````
====================================
Chip info for ESP32-D0WDQ5
SDK:          v4.4.1-472-gc9140caf8c
------------------------------------

 XTAL FREQ: 40   MHz
 APB FREQ:  80.0 MHz
 CPU FREQ:  240  MHz

ESP32 DEVICE:    ESP32-D0WD-V3 rev.3, 2 core(s), 240MHz.

Chip feature flags: 0b110010
  * 0b0000010 Chip has 2.4GHz WiFi
  * 0b0001000 Chip has Bluetooth LE
  * 0b0010000 Chip has Bluetooth Classic

FLASH CHIP FREQ (magic): 80.0 MHz
FLASH SIZE (magic byte): 4.00 MB
FLASH MODE (magic byte): 2 ;  0=QIO, 1=QOUT, 2=DIO, 3=DOUT or other

FLASH CHIP ID:   0x16405E
FLASH CHIP FREQ: 80.0 MHz
FLASH REAL SIZE: 4.00 MB
FLASH REAL MODE: DIO

------------------------------------
RAM HEAP SIZE:  261.79 KB
 FREE RAM:      232.57 KB
 MAX RAM alloc: 107.99 KB

ESP32 PSRAM: found.
* SPI RAM Chip availeable: 64MBits = 8MBytes
  total PSRAM:    4094 KB
  FREE PSRAM:     4093.89 KB
  MAX PSRAM alloc:4031.99 KB
  used PSRAM:     0 Bytes

* PSRAM free after malloc / ps_malloc : 2833.85 KB
* Can allocate big memory with ps_malloc()
* Can allocate big memory with malloc()

CPU #0 - last reset reason = 1  POWERON_RESET	 => Vbat power on reset
CPU #1 - last reset reason = 14 EXT_CPU_RESET	 => APP CPU reset by PRO CPU
====================================
````
2022-10-10 20:20:46 +02:00
ewowi
863212915c Revert "Merge branch 'segment-api' into origin/mapping12soundsim"
This reverts commit 8ef82ebdd7.
2022-07-26 11:23:51 +02:00
Blaž Kristan
59cb9ba344 Revert 2D peek 2022-07-25 11:47:19 +02:00
ewowi
e3499e5a70 Add 2D liveview (Peek 2D) - Beta version 2022-07-24 17:10:29 +02:00
Blaz Kristan
6c6849d8d7 Vectors & dynamic loadJS.
- Segments
- Modes

NOTE: crashes ESP if effect is running while deleting segment.
2022-07-17 15:58:41 +02:00
Blaz Kristan
f0d36fd769 WLED 2D matrix support.
- Added 2 sample effects to UI.
- 2D segment details.
- 1D effect upscaling to 2D.
- 2D setPixelColorXY() and other utility functions
- Arbitrary panel position & oritentation.
- 2D settings with physical to logical mapping.
- Bump version.
2022-05-08 10:50:48 +02:00
Blaz Kristan
9667365d9e Optional HSV sliders instead of color wheel.
PIN code optimizations & fixes.
2022-04-27 12:31:47 +02:00
Blaz Kristan
b339f426f2 Added:
- generic settings.js handler
- update info
- numeric (not really) hidden PIN
2022-03-02 15:41:31 +01:00
Blaz Kristan
9fd26fa574 Settings PIN protection. 2022-03-01 23:37:28 +01:00
Blaz Kristan
026a53f3ff Bugfix for expanding timed presets.
Removed AsyncWebServer callbacks (string replace).
2022-01-28 16:31:28 +01:00