Commit Graph

3035 Commits

Author SHA1 Message Date
Frank
af2d8aab98 ESP32-S3 has different GPIO - allow using them in UI
This is a dirty hack, but I don't know enough about JS to make a clean solution.

- xml.cpp: -S3 has different "forbidden GPIO".
- LED settings & UM settings: temporarily disabled some "sorry PINS cannot be used" alerts. Changed maximum GPIO number to 48.
2022-09-03 18:36:00 +02:00
Frank
78d79be5a4 fix for repeating debug message 2022-09-03 18:21:37 +02:00
Frank
2436a1c52c Hardware Info in debug output
Adds these to lines to the serial USB debug output (at startup):
````
CPU:   ESP32-S3 rev. 0, 2 core(s), 240MHz.
FLASH: 8MB, Mode 2 (DIO), speed 80MHz.
PSRAM not used.````
2022-09-03 16:55:30 +02:00
Frank
b13f13c2e4 typo 2022-09-03 14:31:18 +02:00
Frank
e70d2e7f0d this is how far we get on the -S2
was curious how much of the AR usemod would compile for the -S2 platform.
2022-09-03 14:26:27 +02:00
Frank
a2808bee29 compilation for ESP32-C3
this allows to compile for -C3  including audioreactive usermod.
** warning ** completely untested and premature. It compiles, that's all.
2022-09-03 13:16:12 +02:00
Frank
159c370bf0 ESP32-S3: different GPIO mapping
- change pins 1/3 to RX and TX as defined by the framework
- adjusted 'isPinOk" method
2022-09-02 23:54:58 +02:00
Frank
a67f9d86f7 ESP32-S3: different number of RMT and PWM channels
ESP32-S3: 8 RMT channels (not sure if all 8 are usable by NeopixelBus), 8 LED-PWM channels
2022-09-02 22:30:56 +02:00
Frank
4162d8fdfa compilation support for IDF4.4.3, plus compiling for ESP32-S3
- Updated ESP32 targets to use IDF 4.4.3 (thanks tasmota!)
- Fixed a compilation problem in ARTI (WLED_FS instead of LITTLEFS)

- Initial compilation support for ESP32-S3. Warning: there are still many problems to be solved before -S3 becomes usable!
- audioreactive: added #ifdef for features not yet supported on ESP32-S3
2022-09-02 21:29:05 +02:00
Frank
66d3802f0f updates for mdev PIO config
- updated mdev config, to use latest arduinoFFT, plus threadsafe LittleFS, plus default to 80Mhz flash speed.
- re-introducing the preset saving fix from SR WLED. Still I don't believe that upstream got that corrected properly.
2022-09-02 19:15:03 +02:00
Ewowi
fc55ff7b6f Merge branch 'usermod-setttings' into mdev 2022-09-02 16:50:48 +02:00
Ewowi
834aaa1695 Usermod config up: code cleaning, config not found not if um is null 2022-09-02 16:46:46 +02:00
Ewowi
0827849df4 Merge branch 'usermod-setttings' into mdev 2022-09-01 22:38:33 +02:00
Ewowi
42ec2725f8 Usermod config level up, step 2: Working!
- remove settings_um2
- remove addToConfigMenu
- settings.htm: add isO and ldS (inspired by settings_um.htm): add usermod buttons to urows
settings_um.htm: check url um var and if set show only this usermod. Only show globalGPIOs if no usermod
2022-09-01 22:37:52 +02:00
Ewowi
7bb50da4b8 Merge branch 'dev' into usermod-setttings 2022-09-01 21:16:32 +02:00
Ewowi
24bdfd2869 Merge branch 'dev' into mdev 2022-09-01 21:13:01 +02:00
Ewowi
b13d4594ac Usermod config level up, step1 2022-08-31 22:17:59 +02:00
Blaz Kristan
38bd0d6bbb Bugfixes 2022-08-31 21:21:53 +02:00
Ewowi
5b8ad8d714 Merge branch 'custom-effects' into mdev 2022-08-31 20:58:44 +02:00
Ewowi
4b39e7a855 CustomEffects: show only editor if fx is Custom Effect 2022-08-31 20:55:28 +02:00
Ewowi
d95e27e8e8 Merge branch 'dev' into mdev 2022-08-31 20:41:34 +02:00
Blaž Kristan
da0da4c75e Remove NONUNITY
Expand soundSim
Tetrix optimisation
2022-08-31 14:24:02 +02:00
Ewowi
06c0c0edfb CustomEffects as usermod: step 4: modify wledv123.json, add drawLine/Arc
General (for CE, but also used by M12_pArc)
- add drawArc

Custom Effects
- add WLEDSR Custom Effects comment to places in WLED where it is hooked in
- move from wled.json to wledv123.json
- rename matrixWidth/Heigth to width/height and use virtualWidth/Height
- remove setPixels
- add drawLine / drawArc
2022-08-31 13:14:51 +02:00
Ewowi
6422bb5764 Merge branch 'weather-usermod' into mdev 2022-08-31 10:14:49 +02:00
Blaž Kristan
bfe16bb254 Merge branch '0_14' of https://github.com/Aircoookie/WLED into dev 2022-08-31 08:02:11 +02:00
Ewowi
717d755969 Merge branch 'small-changes' into custom-effects 2022-08-31 07:56:47 +02:00
Ewowi
7266f83332 Platformio.ini: add esp8266mdev and modify wemos_shield_esp32 2022-08-31 07:55:50 +02:00
cschwinne
2ada88a266 Small improvements to fx data extraction functions
- Un-F() most segment JSON keys, decreases JSON doc usage by 47 B (increases static RAM usage by 32 B),
makes `extractModeDefaults` work without strstr_P
- Removed String from serializeModeData and serializeModeNames
- Set 0.14 version name "Hoshi"
2022-08-31 04:31:56 +02:00
cschwinne
5b51ce9840 extractModeDefaults(): C strings instead of String 2022-08-31 02:26:26 +02:00
Ewowi
0c06d03788 Merge branch 'custom-effects' into mdev 2022-08-30 23:46:14 +02:00
Ewowi
08a610962c Merge remote-tracking branch 'origin/dev' into mdev 2022-08-30 23:42:50 +02:00
Ewowi
8626855953 Add CustomEffects as usermod: step 3: effects start working 2022-08-30 23:12:04 +02:00
Blaz Kristan
8719adef1e Tetrix vStrip 2D modification.
AA version of Bouncing balls
Better AA
2022-08-30 17:20:58 +02:00
Blaz Kristan
cd7bcb79e5 Tetrix vStrip 2D modification.
AA version of Bouncing balls
Better AA
2022-08-30 17:18:56 +02:00
Ewowi
ddeb5732c6 Merge branch 'small-changes' into custom-effects 2022-08-30 13:01:21 +02:00
Ewowi
85992da023 Create sr entry in platformio: esp32mdev 2022-08-30 13:00:10 +02:00
Ewowi
068089751d Add CustomEffects as usermod: step 2: ui works 2022-08-30 12:55:01 +02:00
Blaz Kristan
005419ab9a vStrip calculation
remove Segment copy constructor
2022-08-29 21:51:46 +02:00
Blaz Kristan
d28d2c57e4 Merge 'blazoncek/dev' into 0_14
1-click presets
Bugfix for 1D
virtual strips POC for 1D effects
global SPI MISO pin
2022-08-29 20:45:06 +02:00
Ewowi
9a87d2bd8e Add CustomEffects as usermod: step 1: c compiles
- Only C part, it only compiles
- UI to be done
- Needs to be tested
2022-08-29 13:56:46 +02:00
Ewowi
2b7884a068 Merge remote-tracking branch 'origin/audioreactive-prototype' into mdev 2022-08-29 10:13:23 +02:00
Frank
64970772c7 optimization, and moving peak detection into own function
- save 1K of RAM by optimizing out
 fftBin[].
- moved several copies of the peak reset code into a single function
- moved peak detection out of getSample().
 - call peak detection function as last step of FFTcode. More optimal, and we can be sure that fresh FFT result are available.

Peak detection/reset are now called from both tasks, so I had to move some peak-related vars out of AudioReactive class and make them global (static).
2022-08-28 16:26:34 +02:00
Frank
6019b7bda4 GEQ: use full frequency range
also when user wants less than 16 bands.
Previously when users selected fewer bands (like 4 instead of 16), only the lowest freq channels were displayed.
2022-08-28 13:33:48 +02:00
Frank
5c792eb869 some cleanup and re-grouping of variables
- put variables with same context next to each other.
- removed a few vars that are not needed any more.
- replaced "16" by a more descriptive constant
2022-08-28 13:13:25 +02:00
Blaz Kristan
c6126db2a2 Bugfix for 1D setPixelColor
Float vStrips.
Fix misspelled MISOSPI.
2022-08-27 18:25:54 +02:00
Blaz Kristan
030833f942 Global MISO pin.
Virtual strip expansion for 2D.
2022-08-25 21:57:43 +02:00
Blaz Kristan
daf67d9cf7 Whitespace cleanup.
Revert legacy effects to 1D and use mapping instead.
2022-08-24 23:04:51 +02:00
Blaz Kristan
301ed25019 1-Click preset. 2022-08-23 20:57:11 +02:00
Blaz Kristan
a7dbfc4954 Fix for segment on/off transitions.
Fix for missing return.
Slightly smoother Chunchun, added Speed parameter for Hiphotic.
2022-08-23 16:00:50 +02:00
Blaz Kristan
af5e38e5ee Fix for segment on/off transitions.
Fix for missing return.
Slightly smoother Chunchun, added Speed parameter for Hiphotic.
2022-08-23 15:57:05 +02:00