Commit Graph

4718 Commits

Author SHA1 Message Date
Frank
f09fd7b50e Update CONTRIBUTING.md
small update for coding style
2023-08-24 17:56:37 +02:00
Frank
9e4f040d41 esp8266 build envs
new: esp8266_2MB_S
updated: esp8266_4MB_S
2023-08-24 14:21:47 +02:00
netmindz
1b3ae20e6d Merge pull request #60 from MoonModules/ESP8266-Sync
Audio sync receive only - EPS8266
2023-08-23 18:59:45 +01:00
Frank
ecc6f1aa62 bugfix
seems I was too fast with removing _P from strncmp_P
2023-08-23 15:39:32 +02:00
Frank
1306cc0412 show kernel debug messages in debug builds 2023-08-23 14:42:07 +02:00
Frank
023279c702 8266: minor buildenv updates
* -Wno-register not needed any more (solved in FastLED 3.6.0)
* ARDUINOJSON_DEBUG added to debug_flags
* use WLEDMM_PROTECT_SERVICE on 8266, too
2023-08-23 14:42:07 +02:00
Frank
3255530ee3 basic debug support on 8266 2023-08-23 14:40:47 +02:00
Frank
82f9080609 show kernel debug messages in debug builds 2023-08-23 13:19:48 +02:00
Frank
087de86127 8266: minor buildenv updates
* -Wno-register not needed any more (solved in FastLED 3.6.0)
* ARDUINOJSON_DEBUG added to debug_flags
* use WLEDMM_PROTECT_SERVICE on 8266, too
2023-08-23 13:18:48 +02:00
Frank
d221745e3f some improvements
* remove some internal variables (soundAgc, multAgc, ....)
* prototype for autoResetPeak(void)
* changed `#ifndef ESP8266` to `#ifdef ARDUINO_ARCH_ESP32`
* replacement code for computing max sample
* Info Page: "audio source" added (idle/receiving/not connected/Off)
2023-08-23 12:37:30 +02:00
Frank
2cc6925f17 agcSensitivity (to align um_data with esp32)
all elements of um_data must be filled, otherwise some effects will crash.
This adds a dummy " agcSensitivity" value that stays at 128.
2023-08-22 23:42:03 +02:00
Frank
f689d5115b 8266 hotfix: solving connectivity problems
* it seems that `WiFiUDP.flsuh()` does something completely different from 8266, and  its actually causing WLED to stall on UI calls. So not usable on 8266.
* fixing a few compiler warnings about "comparing signed and unsigned"

NB: its a hotfix, we have to check if there are other problems on 8266. Also its definitely ugly, but it helps as a band aid.
2023-08-22 23:17:57 +02:00
Frank
1c7d5d766d minor fix for 8266
small typo, resulting in "A0" listed twice in the pin info.
2023-08-22 23:16:31 +02:00
Frank
92e64b797a 8266 hotfix: solving connectivity problems
* it seems that `WiFiUDP.flsuh()` does something completely different from 8266, and  its actually causing WLED to stall on UI calls. So not usable on 8266.
* fixing a few compiler warnings about "comparing signed and unsigned"

NB: its a hotfix, we have to check if there are other problems on 8266. Also its definitely ugly, but it helps as a band aid.
2023-08-22 22:55:05 +02:00
Frank
3bd0f70109 minor fix for 8266
small typo, resulting in "A0" listed twice in the pin info.
2023-08-22 22:49:01 +02:00
Blaz Kristan
7d45f826da Playlist saving bugfix.
Fixes #3324
2023-08-20 18:53:35 +02:00
Frank
28ca62a055 build number up
some minor updates from upstream
- JSON API : fix (de)allocations of pins for buttons/IR/RELAY
- JSON API: added sync groups
2023-08-16 10:03:14 +02:00
Blaž Kristan
23916268f5 Merge pull request #3317 from chroma-tech/group-masks-api
Add send and receive groups to json api
2023-08-16 09:58:30 +02:00
dependabot[bot]
f447bc6440 Bump certifi from 2022.12.7 to 2023.7.22 (#3301)
Bumps [certifi](https://github.com/certifi/python-certifi) from 2022.12.7 to 2023.7.22.
- [Commits](https://github.com/certifi/python-certifi/compare/2022.12.07...2023.07.22)

---
updated-dependencies:
- dependency-name: certifi
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-16 09:57:04 +02:00
cschwinne
492581b206 Deallocate relay, button and IR pins prior to reallocation in JSON config parser (#3294) 2023-08-16 09:50:32 +02:00
netmindz
a6f999d22e Merge pull request #65 from MoonModules/eth-builds
Add Ethernet build
2023-08-14 21:38:06 +01:00
Will Tatam
dbda447756 Swap naming format to match 16MB eth image 2023-08-14 21:07:48 +01:00
Will Tatam
2d0d742fb6 esp32_4MB_eth_M 2023-08-14 20:42:51 +01:00
Will Tatam
5293a45c7f Disable RLYPIN and BTNPIN as done with other ethernet build 2023-08-14 20:24:53 +01:00
Will Tatam
af3a8c0dc2 esp32_4MB_eth_M 2023-08-14 20:21:06 +01:00
Frank
1b5ef5c7c2 fix usermod pin conflicts for pico board 2023-08-14 13:25:20 +02:00
Frank
44b77ffdc2 slightly increase buffer for oappend()
in some situations, 10 bytes were missing for audioreactive settings.
2023-08-14 13:24:22 +02:00
Will Tatam
0672d1c59d Fix maxVol and binNum 2023-08-13 17:16:11 +01:00
Will Tatam
f0cc7f04ed Fix maxVol and binNum 2023-08-13 17:11:32 +01:00
Will Tatam
f4a1deba34 Expose dynamics - limiter, rise and fall as calc runs on receive too 2023-08-13 16:54:16 +01:00
Will Tatam
96c19b6c50 Revert placement of arduinoFFT.h include as per comments on PR:60 2023-08-13 16:40:43 +01:00
netmindz
36620a4efe Merge pull request #63 from MoonModules/revert-48-ES-I2C-usage
Revert "Remove I2C related code from ES8388 and ES7243 as blazoncek proposes …"
2023-08-11 21:02:59 +01:00
netmindz
0ccf2b9c2e Revert "Remove I2C related code from ES8388 and ES7243 as blazoncek proposes …" 2023-08-11 20:59:34 +01:00
Frank
eecb0e700b quickfix for effect "double startup" problem
temporary workaround until fixed in upstream.

--> Please disable "Crossfade" in LEDs settings.
2023-08-10 13:58:57 +02:00
Frank
f7cd08c767 small correction 2023-08-07 18:07:24 +02:00
Frank
3503ccd958 Use MM specific I2C related functions for ES8388 and ES7243
In contrast to upstream, MM follows a "no pin stealing" approach, so the Wire interfaces are only initialized when needed.
pinManager.joinWire() will take care of the details, and will return false if something went wrong.
2023-08-07 18:06:31 +02:00
netmindz
e19e464e13 Merge pull request #48 from netmindz/ES-I2C-usage
Remove I2C related code from ES8388 and ES7243 as blazoncek proposes …
2023-08-07 02:05:22 -07:00
Frank
1b308ed3d9 Version ++ 2023-08-06 23:11:11 +02:00
Blaz Kristan
2ce8b929ca Fix for #3204 2023-08-06 23:03:59 +02:00
Frank
7002420a0c effects bugfix: prevent crash when SEGLEN==1
* Blurz and a few other effects would crash (or behave unexpectedly) for single pixel segments
* replaced a few "MAX" by "max", because MAX will evaluate its arguments twice so its very inefficient.
2023-08-05 23:29:23 +02:00
Frank
f35f2c3a3a Default = preview gamma correction enabled. 2023-08-05 15:33:36 +02:00
Frank
8e678ffa5e allow gamma corrected preview without gamma corrected LEDs 2023-08-05 00:06:58 +02:00
Frank
f010adfe24 experimental: preview with gamma correction
.... actually we undo gamma adjustments, because screens (laptop, pad, etc) will apply their own gamma corrections.

Activate in LED settings: "Use Gamma correction for preview"

Colors in WLED are sometimes gamma corrected, sometimes not. This change tries to make the best out of the color mess, but its still not working properly in all configurations.
2023-08-04 22:03:53 +02:00
Frank
477cb11b36 disable ESP-NOW remotes in ethernet build (may crash)
ESP-NOW requires wifi. It will crash with ethernet connection.
2023-08-01 12:55:04 +02:00
Frank
30d2757db9 version of the day 2023-08-01 12:53:36 +02:00
Frank
c13b32e06a esp-now remote: fix crash with AP = Always
initialize ESPNOW only when Wifi (STA or AP) is running
2023-08-01 12:49:34 +02:00
Frank
05a600ef01 npm run build 2023-07-30 22:10:35 +02:00
Frank
e4338fcaf7 version bump 0.14.0-b26.30 2023-07-30 21:58:47 +02:00
Frank
54d04eca9b Merge branch 'preview_espnow_pr3237' into mdev 2023-07-30 21:50:19 +02:00
Frank
331089a8d9 esp-now remote: reduce number of exported functions
too many global variables and functions ... this makes stuff 'static' that can remain at file scope
2023-07-30 21:42:05 +02:00