Commit Graph

379 Commits

Author SHA1 Message Date
MoonModules
7ffe25d55c Merge branch 'mdev' into DMX-Input-esp_dmx 2023-04-06 20:51:20 +02:00
Frank
292c4e25ba small updates
* colors.cpp: disable gamma calculation if CIE table mode is active (WLED_USE_CIE_BRIGHTNESS_TABLE)
* fx.cpp: small improvement to FreqMap, and bugfix for effects that modify binNum / maxVol
* pio: update for Line-In shield pins (final hardware version)
2023-04-01 22:13:46 +02:00
Frank
4e8974a69b pio: generic build env for ESP32-S2, and some cleanup 2023-03-30 23:59:38 +02:00
netmindz
d64cbc9059 Merge branch 'MoonModules:mdev' into DMX-Input-esp_dmx 2023-03-30 19:05:19 +01:00
Frank
e8d3712d4f esp32_4MB_PSRAM changed from "M" to "S"
to provide some more space for future additions in the code.
2023-03-30 18:48:39 +02:00
Ewoud
82dc456fd7 Rename Custom Effects to ARTI-FX 2023-03-30 10:02:08 +02:00
Will Tatam
4f11efb417 WLED_ENABLE_DMX_INPUT enable for now on all _V4 builds 2023-03-24 10:25:06 +00:00
Will Tatam
ed54d102ff Only supported with newer platforms 2023-03-24 09:55:25 +00:00
netmindz
bda95faafd Merge branch 'MoonModules:mdev' into DMX-Input-esp_dmx 2023-03-23 21:40:14 +00: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
Ewoud
c24adc5413 AWMC: Squelch and gain 2023-03-21 16:14:28 +01:00
Ewoud
c0da45d1a2 typo 2023-03-21 16:07:57 +01:00
Ewoud
6487a5effe Athom WLED Music Controller: 4LD Mod 2023-03-21 16:02:28 +01:00
Ewoud
01cd2ce775 Set Athom mic default to PDM legacy mode 2023-03-21 13:55:11 +01:00
Ewoud
b271168f81 Full support for Athom WLED Music Controller
- athom_music_esp32_4MB_M bin
- show flashsize in info tab and /getflash
- support of their ir-remote (24-key music)

Not supported yet
- mac addres in AP name (need to experiment with WLED_AP_SSID_UNIQUE)
2023-03-21 12:51:29 +01:00
Ewoud
8485be27f2 Merge remote-tracking branch 'upstream/main' into mdev 2023-03-21 11:39:30 +01:00
Aiden
3120b49dba Add some Athom devices (#3114)
Add some compile configurations for Athom's devices
2023-03-20 23:44:12 +01:00
Frank
d80e5cd063 Disable use of serial RX pin on some boards 2023-03-19 15:28: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
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
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
Ewoud
63d8104974 esp32_4MB_PSRAM_M disable Infrared to stay < 100% 2023-03-08 14:18:41 +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
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
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
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
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
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
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
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
Christian Schwinne
220718cb58 Remove Blynk support (#3102)
Change default palette for Railway to Colors 1 and 2
2023-02-21 17:07:32 +01:00
Will Tatam
5b76df903f Inital code swapping DMX input over to use esp_dmx 2023-02-18 16:05:42 +00:00
Ewoud
515c872770 Fix WLED_DISABLE_2D compile error 2023-02-15 10:59:14 +01:00
Ewoud
f62f94270d Add esp01_1MB_min 2023-02-14 19:26:56 +01:00
Ewoud
c9966c9d8f pio.ini: align non MM part with upstream 2023-02-14 18:40:02 +01:00
Ewoud
04deea9b39 PlatformIO: move MM envs to bottom 2023-02-14 18:29:38 +01:00
Ewoud
40e82166bc Ledmap persistent/consistent and showing in segment graph +small changes
pio.ini: remove ping pong clock from _all
ce.js: change on error handling
liveviewws2D: add colorAdjust
json.cpp: ledmaps will be stored in json/info 
settings_2D: fieldChange at loadJS

FX_(2D)fcn.cpp:
- loadedLedmap default 0 (default)
- loadedLedmap active then only use if index <size

index.js:
- global ledmap set to active value
- draw to drawSegments
- gradient colored leds
- add ledmaps to graphics
- add fetchAndExecute (from custom effects), used by drawSegments to get ledmap contents
- graphics bigger in non pc mode
2023-02-10 16:26:35 +01:00
Ewoud
1b3952c889 Merge remote-tracking branch 'upstream/main' into mdev 2023-01-24 21:40:55 +01:00
Ewoud
1f921bf0c9 Bugfix for ESP8266, ESP01
UM PIR: pin default -1
xml.cpp: no D1-8 for esp01
2023-01-20 12:34:11 +01:00
Frank
8918271620 new build flag WLEDMM_WIFI_POWERON_HACK
This ensures that WiFi gets powered ON (useful for boards with small "RainSun" crystal Wi-Fi antenna)
2023-01-19 17:50:10 +01:00
Frank
72168d28b1 new build flag SR_ENABLE_DEFAULT
for boards with builtin microphone (like PICO)
2023-01-18 23:09:37 +01:00
Ewoud
ceab107602 Optimizing / clean up of d.max_gpio, d.um_p, d.rsvd, d.ro_pins 2023-01-18 13:43:33 +01:00