Commit Graph

3963 Commits

Author SHA1 Message Date
Frank
cac975c046 additional board def for 16MB ethernet
the main difference is that "esp32-poe" is used as variant, instead of "esp32dev". Seems that this is needed to define a few special purpose pins on ethernet boards.

Might help to fix https://github.com/MoonModules/WLED/issues/23
2023-03-11 21:01:03 +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
Ewoud
c82cb18045 GEQ <16bands and smooth fixes + smooth colors 2023-03-11 14:40:51 +01:00
Ewoud
9f282f831e GEQ: even distribution of bands and small changes
FX.cpp: GEQ: even distribution of bands
FX_fcn: tiny change
wled.cpp: setupMatrix also if loadedledmap != 0
ws.cpp: replace getLengthTotal by width * height (for ledmaps)
2023-03-11 13:59:23 +01:00
Frank
6ea77954bf four-line-display: semaphores to avoid crashes
* some typos fixed
* Added semaphores around display calls; should fix https://github.com/Aircoookie/WLED/issues/3074
-- changes still need some cleanup to improve readability...
2023-03-10 22:44:25 +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
a0a0f99c3e Add esp32_16MB_M_eth
Test needed if NetDebug works on esp32_16MB_M_eth
2023-03-10 15:41:22 +01:00
Frank
437284d380 4-line-display: font update, setup bugfix
* Improve clock mode for 128x64 OLED, using 2x3 font
* setup() bugfix: install display handler before activating logo
2023-03-09 21:44:27 +01:00
Ewoud
c16532126a Ledmap refactors
Refactor ledmap in index.js and FX_fcn.cpp (remove physical)

WS2812FX::setPixelColor and gPC: check index after ledmap applied
2023-03-09 15:08:26 +01:00
Frank
3a294d0852 four-line-display ALT: nicer font
use a nicer, less blocky font on 128x64 OLED displays (ESP32 only)
2023-03-08 20:44:30 +01:00
Frank
062eb75d06 usermod bugfixes
fixing some "missed corner cases" in popular usermods.
* acessing unitialized arrays
* trying to draw on a non-initialized display
2023-03-08 20:37:27 +01:00
Frank
9d60425d2e attempt to fix issue #21
set.cpp: introduce "-2" => "no value" in addition to "-1" => disable
4LD_ALT:  do not copy "global" pins into UM specific setting; just use them directly.
2023-03-08 19:39:41 +01:00
Ewoud
63d8104974 esp32_4MB_PSRAM_M disable Infrared to stay < 100% 2023-03-08 14:18:41 +01:00
Ewoud
3fe96a99ad typo 2023-03-08 14:02:11 +01:00
Ewoud
1aa3ba9fad Netdebug default enabled in _M and _XL bins and also works without Debug 2023-03-08 13:56:20 +01:00
Ewoud
7f7da1c52c Bugfix 2023-03-07 14:02:01 +01:00
Ewoud
10c5d8f20f Refactor setUpMatrix, deserializeMap for ledmaps 2023-03-07 13:56:18 +01:00
Frank
92c97e33b1 GEQ: option to simulate higher resolution
New GEQ checkbox "Smooth bars", that removes staircases by interpolating missing FFT channels.
Looks nice on a Matrix with >16 columns :-)
2023-03-07 02:06:41 +01:00
Frank
dca25b51d1 Merge remote-tracking branch 'upstream/main' into mdev 2023-03-06 16:38:45 +01:00
Frank
7ad13f933a chores
npm run build + small update for wled.cpp
2023-03-05 23:54:43 +01:00
Frank
8d8fdfe77e info page: add ESP restart reason
this is another "restart reason" - sometimes provides clearer information, especially in case of crash or watchdog reset.
2023-03-05 23:48:14 +01:00
Frank
ea30f456e5 info page updates
- merge "used head" and "total heap" into one line
- add used heap percentage
- rearrange order of some items for better readability
2023-03-05 23:17:22 +01:00
Frank
2713573b9b Delete wled00.ino.cpp
accident
2023-03-05 22:38:36 +01:00
Frank
cf2e8bbc0b update build nr
and npm run build
2023-03-05 22:35:59 +01:00
Frank
bc56c1a0e1 bugfixes
* xml.cpp: correct type for checkbox global led buffer" (was not shown correctly)
* fx.cpp: 2D floating blobs - correct swapped x/y coordinates (did not render correctly on non-square matrix)
2023-03-05 22:30:08 +01:00
Ewoud
f7e297160f ledmap file properties: width, length, physical and segment resize 2023-03-01 17:00:49 +01:00
Ewoud
6b659ab52e Add physical ledmap support + tiny changes
index.js, FX_fcn.cpp
- add physical ledmaps (lmPxyz.json)
2023-02-28 17:17:22 +01:00
Ewoud
fbc9f9143e pio.ini, fix 16MB boards 2023-02-27 20:14:50 +01:00
Ewoud
56342d7881 pio.ini esp32_16MB_V4_M 2023-02-27 19:50:42 +01:00
Ewoud
ecc69245ee segment views, scale better 2023-02-27 19:39:27 +01:00
Ewoud
f62de8e590 Segment views >v 2023-02-27 17:31:31 +01:00
Ewoud
298c1e6c09 pio.ini: optimizations (25 lines less)
pio.ini: 
- [Debug_Flags]
- Board_ESP32_16MB in extends instead of board
2023-02-27 15:29:17 +01:00
Ewoud
26f7c52279 Segment and peek visualization (dis)appear
Segment and peek visualization: click to dissappear, click segment to re-appear
2023-02-26 15:38:11 +01:00
Ewoud
ebd1e61e78 NetDebug: store enabled in cfg.json 2023-02-24 22:32:04 +01:00
Ewoud
f00558c5f4 DEBUGOUT improvements 2023-02-24 19:03:52 +01:00
Ewoud
88ba127910 Initial steps allow NetDebug while WLED_DEBUG is off + on/off persistent
Both WIP!
2023-02-24 18:15:02 +01:00
Frank
68b730d7e8 add core debug output to esp32_4MB_M_debug 2023-02-24 16:08:40 +01:00
Ewoud
bb6662ee35 NetDebug: switch between serial/netdebug, store ip and port in settings
pio.ini: enable WLED_DEBUG_HOST in esp32_4MB_M_debug and esp32_16MB_M_debug

audio_reactive, um6050, wled.h
- replace DEBUGOUT.print(x) by DEBUGOUT(x) etc

wled.h: switch between serial/netdebug

cfg.cpp, set.cpp, wled.cpp, xml.cpp
- store netDebugPrintIP and netDebugPrintPort in cfg.json

index.js: rename info tab on off to Net Debug

settings.sync: add netdebug

net_debug.h/cpp: use global netDebugPrintIP remove debugPrintHostIP
2023-02-24 15:40:16 +01:00
Frank
6651b412cb Inform user if AP creation failed
This should help to diagnose WiFi problems on -S2.
2023-02-24 15:24:58 +01:00
Frank
c294ea0e09 pio env:esp8266pro_16MB_M 2023-02-23 21:30:55 +01:00
Frank
6f4eeea7dc buildenv corrections for -S3/-S2/-C3
* avoid mixing ESP32 "V4" and S3/S2/C3 specific build flags
* added missing flags in generic S3/S2/C3 sections
2023-02-23 20:28:44 +01:00
Ewoud
bdd8fd2faa pio.ini: _min, _max, _all -> _S, _M, _XL 2023-02-23 16:14:21 +01:00
Ewoud
86af341c6a setUpMatrix bug fix 2023-02-23 15:58:02 +01:00
Ewoud
6fbce9b326 Cleanup and small issues
pio.ini: cleanup debug directives (build_flags_min move to _debug), remove blynks

index.htm/js: 
- visualization in div to turn of if 1D
- scale visualizations if height>width

json.cpp, util.cpp: USER/DEBUG_PRINT changes
2023-02-23 15:23:35 +01:00
Frank
1ce3d2fa08 Delete wled00.ino.cpp
Accident
2023-02-22 19:59:04 +01:00
Frank
62b1422111 enable core debug messages in 16MB_max_debug configs 2023-02-22 18:06:34 +01:00
Frank
f160831d73 esp32_16MB_V4_max_debug 2023-02-22 17:32:19 +01:00
Frank
f38196f4c9 PICO board updates + fix for array overflow
platformio.ini: buildenv updates for PICO board (reduced upload speed, added "V4" environment)
wled.h: allow wifi sleep for PICO board (to reduce heat output)
xml.cpp: increase buffer arrays to avoid array bounds violations (PM_NO_PIN = 255 i.e. 4 bytes per element needed)
2023-02-22 17:22:44 +01:00
Ewoud
ea9f62c57a Update version info: 0.14.0-b2.19 2023-02-22 16:51:27 +01:00
Ewoud
4a5cbc9879 Merge remote-tracking branch 'upstream/main' into mdev
Some additions:

pio.ini: add debug entries
cfg.cpp, set.cpp, xml/cpp: keep storing basic 2D setup

index.js: use ledmapFileNames

settings_2D.htm: keep using basic and advanced

FX_2Dfcn.cpp: use gaptable and also MM ledmaps

FX_fcn.cpp: extend enumerateledmaps with AC ledmapNames (but not used in UI)
2023-02-22 16:09:27 +01:00