Frank
d7bc6b1be7
AR: optimization for small MCUs, part2
...
Only run FFT when the result will be used.
Please note that this also means that `FFTTime` shown in Info is only meaningful when there is sound input and not silence.
--> To get exact FFT times, the optimization can be disabled by compiling with `-D SR_DEBUG`
2022-09-19 14:09:45 +02:00
Frank
79776ae8bc
AR: optimization for smaller MCUs
...
- this reduces "lagging behind" of I2S sampling on smaller MCU's. The maximum time for FFT is now ~20 millis.
- small improvement for SR_DEBUG
2022-09-19 13:38:52 +02:00
Frank
90b3f009af
AR: small improvement for ADC analog mics
...
ensure that ADC parameters are properly configured.
2022-09-19 13:30:13 +02:00
Frank
6f8deb83e3
some relaxations for S2 and C3
...
- AR: changed "error" into warning.
- reducing max_busses (for AR) not needed on S2
2022-09-17 22:00:33 +02:00
Frank
da02a68e60
allocatePin() debug message when Pin is not OK.
...
This debug message should help to understand GPIO config problems.
2022-09-17 20:42:34 +02:00
Frank
85fc8710dd
mics that need MCLK should work
2022-09-17 20:39:23 +02:00
Frank
a01f3e4efd
presets: disable "crude hack" on single core
...
This code in handlepresets() does not make much sense.
Especially it does not make any sense on single core MCU's.
2022-09-17 13:41:27 +02:00
Blaz Kristan
cce54f3bb7
Loading cfg.json without wsec.json
...
Bugfix for BudOnOff.
2022-09-16 23:19:53 +02:00
Blaz Kristan
92037a480d
Bugfix for BusOnOff
2022-09-16 23:12:57 +02:00
Blaz Kristan
cf6005ce2f
Fix for loading config without wsec.json
2022-09-16 22:00:26 +02:00
Frank
a766ddbebc
make I2S microphones work with buggy IDF4.4.x
...
I2S microphones were not working any more in with the newest framework - only delivers silence.
Ther reason is stupid bug in espressif I2S "compatibility" driver: RIGHT and LEFT channel are swapped, so when only asking for LEFT, we get silence from RIGHT.
Workaround: simply change LEFT to RIGHT, until the problem is fixed in ESP-IDF --> Fix tested on "classic ESP32", but still need to check behavior on -S3.
Code compiles also on -S3, -S2, and -C3.
smaller changes:
- a few changes to use new APIs (MCLK, rouing and sample resolution)
- a few additional debug messages
- put correct value into _pinConfig.mck_io_num
2022-09-16 16:58:04 +02:00
Frank
01acb08c83
minor fix (typo)
2022-09-16 16:38:24 +02:00
Frank
023c259034
show version of arduino-esp32 in WLED_DEBUG
2022-09-16 16:37:07 +02:00
Blaz Kristan
dfe4d70198
Merge branch 'audioreactive-prototype' into esp32-s2
2022-09-16 15:38:44 +02:00
Blaz Kristan
4d939cb778
Merge branch '0_14' of https://github.com/aircoookie/WLED into dev
2022-09-16 15:34:17 +02:00
Blaž Kristan
660a809ec8
Missing isActive()
2022-09-16 14:07:44 +02:00
Blaž Kristan
26825ed60f
Missing isActive()
2022-09-16 14:07:04 +02:00
Soren Singh Dary
8bd8975e0a
Fixed the dependency ( #2782 )
2022-09-14 23:29:35 +02:00
Blaz Kristan
799d4f9465
Playlist load bugfix.
...
serializeConfig() in loop() (prevent crash/hang in web server callback)
2022-09-14 22:28:06 +02:00
Blaz Kristan
47797bcf4a
Playlist loading bugfix.
2022-09-14 20:13:03 +02:00
Soren Singh Dary
2847921e5a
Fixed a type in the file name ( #2781 )
2022-09-14 13:56:16 +02:00
Blaz Kristan
8402de601f
More fixes for GPIOs.
...
UI fixes.
2022-09-13 21:41:51 +02:00
Blaz Kristan
4dec75c589
Remove constraints when saving interface pins.
2022-09-13 20:26:45 +02:00
Blaz Kristan
ac15b227da
isPinOk() for S2 & C3
2022-09-13 19:50:13 +02:00
Blaz Kristan
a1dc7a52e9
Merge branch '0_14' of https://github.com/aircoookie/WLED into dev
2022-09-12 22:39:00 +02:00
Blaz Kristan
6ba3e25d33
Meteor palette bugfix.
...
Fire2012 cooling adjustment.
Akemi optimisation.
2022-09-12 22:33:30 +02:00
Blaz Kristan
51a2fa47c9
Meteor palette fix.
...
Akemi optimisation.
Fire2012 remove cooling adjustment.
2022-09-12 22:31:55 +02:00
Blaz Kristan
09bd6dba84
ESP32 GPIO 37 & 38 removed from reserved list.
2022-09-12 21:15:19 +02:00
Frank
925bc3b3dd
AR: get rid of annoying "type conversion" warning
2022-09-11 14:32:00 +02:00
Frank
382bf1e94c
reserved Pins for S3
...
- adding USB-OTG to reserved GPIO
- no read-only GPI
- if PSRAM found, add pins for "octal" PSRAM to unusable list (octal PSRAM seems to common on S3)
- ESP32: 37 and 38 are read-only
2022-09-11 13:17:08 +02:00
Frank
575a7531c5
another "TX"
...
changed in hardwareTX
2022-09-11 01:01:27 +02:00
Frank
dce0c0b47e
npm run build
...
regenerate html files
2022-09-11 00:24:35 +02:00
Frank
dc8230bf2e
arch = ESP.getChipModel()
...
rely on ESP.getChipModel() for new MCUs-
2022-09-11 00:19:32 +02:00
Frank
17428d58d9
extend input ranges to 48 pins
...
this only extends the range of possible inputs. Sanity check will be performed regardless of the max value.
2022-09-11 00:18:33 +02:00
Frank
6771bd84c6
introduce hardwareTX / hardwareRX
...
RX/TX is not defined on all boards.
Fall-back to previous behavior on "classic" ESP32 and 8266.
2022-09-11 00:16:48 +02:00
Frank
ac10b3a5c7
compilation support for audioreactive
...
putting all parts that will not compile between #ifdef .... #endif
Tested on S3, cannot say what will happen on other MCUs
2022-09-11 00:12:51 +02:00
Frank
56f2513aba
Basic support for -S3
...
- bus_wrapper: currently no support for I2S methods
- pin_manager: different number of PWM channels, different isPinOk()
2022-09-11 00:09:59 +02:00
Blaz Kristan
9858a009da
Max GPIO fos I2C/SPI pins.
2022-09-10 21:58:51 +02:00
Blaz Kristan
73b818cf78
Fix for S3 pins.
2022-09-10 20:19:13 +02:00
Blaz Kristan
4f8ffaee5b
S2, S3 & C3 support for settings.
2022-09-10 19:27:00 +02:00
Blaz Kristan
2cd40c7552
ESP32-S2 support.
2022-09-09 23:21:47 +02:00
Blaz Kristan
c9fd69ceb7
Preset loading tuning.
...
Multi-relay toggle support.
Fire2012 tuning.
2D functions tuning.
Global SPI comments & tuning.
Bugfix in 4LD usermod.
2022-09-09 17:21:13 +02:00
Blaz Kristan
e4fbf70568
Preset loading tuning.
...
Multi-relay toggle support.
Fire2012 tuning.
2D functions tuning.
Global SPI comments & tuning.
Bugfix in 4LD usermod.
On & bri support fix.
2022-09-09 17:16:52 +02:00
Frank
cf93d6bb65
more precision for debug info (FFT timing)
...
keep more detailed timing info for FFT and I2S (WLED_DEBUG)
2022-09-08 22:45:32 +02:00
Frank
228890aa19
Merge remote-tracking branch 'origin/dev' into audioreactive-prototype
2022-09-08 20:47:49 +02:00
Frank
ad8512e246
Revert "Compiling AR usermod on ESP32-S3 (future support)"
...
This reverts commit 7894389f1d
.
2022-09-08 20:41:33 +02:00
Blaz Kristan
4480abc646
Better palette blends.
2022-09-06 21:47:50 +02:00
Blaz Kristan
94243ac605
Better palette blending.
2022-09-06 21:44:11 +02:00
Blaz Kristan
e8942c2968
fix for repeating debug message
2022-09-06 15:52:09 +02:00
Blaz Kristan
8e03395b53
New segment bugfix.
2022-09-06 15:47:41 +02:00