Commit Graph

3201 Commits

Author SHA1 Message Date
Ewowi
fea487c950 Merge branch 'games-usermod' into mdev 2022-09-27 15:31:11 +02:00
Ewowi
9414f531dd IMO support in usermod games, add 3D IMO cube effect
- platformio: add USERMOD_MPU6050_IMU and ElectronicCats/MPU6050 @ 0.6.0 to esp32mdevums
- USERMOD_MPU6050_IMU: update readme.md and usermod_mpu650_imu.h
- usermod_v2_games: support for  USERMOD_MPU6050_IMU, add mode_IMUTest and class Frame3D and mode_3DIMUCube, remove old gyro handling
- usermods_list.cpp: add USERMOD_MPU6050_IMU
2022-09-27 15:19:58 +02:00
Ewowi
cd3fa2464a Merge remote-tracking branch 'origin/dev' into mdev 2022-09-27 14:59:57 +02:00
Frank
859dbd5b23 small fix for compiling with IDF v4.4.x
LITTLEFS -> WLED_FS
2022-09-27 12:54:24 +02:00
Blaz Kristan
dc700c41fb Invalid FX bugfix. 2022-09-26 21:26:00 +02:00
Frank
fd33d56c67 Merge remote-tracking branch 'origin/small-changes' into mdev 2022-09-26 16:28:49 +02:00
Frank
6acd3c765f bugfix and explainations of compile flags
- bug:  -D UWLED_USE_MY_CONFIG was an 'accident' - should be either '-D  WLED_USE_MY_CONFIG' or '-U  WLED_USE_MY_CONFIG'
2022-09-26 16:28:00 +02:00
Frank
b5d7a985d4 Merge remote-tracking branch 'origin/small-changes' into mdev 2022-09-26 15:56:24 +02:00
Frank
5c482afded small fix for compiling with framework V4.4.x
don't re-define ARDUINO_RUNNING_CORE if already defined by the framework.
2022-09-26 15:55:44 +02:00
Frank
31d022f26b Merge remote-tracking branch 'origin/mdev_new-FrameWork4' into mdev 2022-09-26 15:06:33 +02:00
Frank
2e634c20fa update
- ESPAsyncWebServer 2.0.6 (fixes crashes)
- added platformV4 and platformV4_packages
- all new MCUs use same platform
2022-09-26 14:50:31 +02:00
Blaz Kristan
6306cfff96 Remove Octal SPI pins.
Whitespace.
2022-09-24 12:16:53 +02:00
Ewowi
e19f3a0d30 Merge branch 'weather-usermod' into mdev 2022-09-23 17:41:20 +02:00
Ewowi
af3e250f76 Weather usermod: wait on connection, check location, apikey, json filter
- add isConnected
- checks on location and apiKey
- add arduinoJson filter to reduce size
2022-09-23 17:40:41 +02:00
Blaz Kristan
d86d88c7b7 New isPinOk() 2022-09-23 14:35:17 +02:00
Ewowi
47b6ccf1a7 Merge branch 'small-changes' into mdev 2022-09-23 13:03:14 +02:00
Ewowi
af557a864e Merge branch 'games-usermod' into mdev 2022-09-23 13:03:07 +02:00
Ewowi
ab3c07a2a8 Merge branch 'dev' into mdev 2022-09-23 13:02:51 +02:00
Ewowi
0ed6f52c8c platformio.ini: update esp32mdevums
- use https://github.com/softhack007/LITTLEFS-threadsafe.git#master
- refactor esp32mdevums: add comments (to be augmented as still questions)
2022-09-23 13:00:45 +02:00
Ewowi
471ccf946b Games usermod: MPU-6050 working on esp32-s2 branch
- allocateMultiplePins
- isUpdating: be nice, but not too nice (to do: should be used in all usermods! => new function isUpdatingBeNice)
2022-09-23 12:50:11 +02:00
Ewowi
e9a74a0889 Merge remote-tracking branch 'origin/dev' into games-usermod 2022-09-22 16:22:34 +02:00
Blaz Kristan
222b92807e Percent FX use % as index in palette.
FX Checkmark bugfix.
2022-09-21 21:09:52 +02:00
Frank
9f65b625a6 typo 2022-09-21 18:45:54 +02:00
Ewowi
1f775d98c3 Merge branch 'games-usermod' into mdev 2022-09-21 18:26:47 +02:00
Ewowi
37ee28fa0a Merge remote-tracking branch 'origin/dev' into mdev 2022-09-21 18:26:20 +02:00
Ewowi
c94228ae3c Games usermod: MPU-6050 gyro/accelero working 2022-09-21 18:09:13 +02:00
Frank
d5dcc644f4 added mdev PIO env for V4 Framwork
- ESP32 with PSRAM
- ESP32-S3
2022-09-21 17:18:52 +02:00
Frank
004dc51f7c basic PIO environment for ESP32-S3 and -S2
from AC WLED 0_14 branch
2022-09-21 14:31:15 +02:00
Blaz Kristan
fc0dc4472b Merge branch 'esp32-s2' into dev 2022-09-20 21:52:40 +02:00
Blaz Kristan
7824f9ee63 Remove sync preset loading (ugly core check)
WS buffer check for ESP32-S2
Delay for Serial init on CDC USB
2022-09-20 21:17:44 +02:00
Frank
fb00bef05f AR - necessary constants for 166Khz sampling rate
16kHz might be a good compromise on small MCU's:
- GEQ will show frequencies up to ~6Khz
- FFT process may use up to 32millis (-> 100% CPU load). Try to stay below <60% so FreeRTOS can schedule all tasks properly.

- more CPU time is left for other WLED, so it maintains LED FPS and stays responsive on web UI.
2022-09-20 18:29:27 +02:00
Ewowi
475a7379ee Merge branch 'json-mapping' into mdev 2022-09-20 11:21:58 +02:00
Ewowi
29079ee2fe Merge branch 'weather-usermod' into mdev 2022-09-20 11:21:42 +02:00
Ewowi
7944a5696c Merge branch 'custom-effects' into mdev 2022-09-20 11:21:32 +02:00
Ewowi
96fc330b26 Merge branch 'small-changes' into mdev 2022-09-20 11:21:09 +02:00
Ewowi
e10f8c8681 Move from DynamicJsonDocument to PSRAMDynamicJsonDocument 2022-09-20 11:18:20 +02:00
Ewowi
937d628d0a Move from DynamicJsonDocument to PSRAMDynamicJsonDocument 2022-09-20 11:11:59 +02:00
Ewowi
6e45515527 Move from DynamicJsonDocument to PSRAMDynamicJsonDocument 2022-09-20 11:07:55 +02:00
Ewowi
3455da98c4 Merge remote-tracking branch 'origin/dev' into custom-effects 2022-09-20 11:02:59 +02:00
Ewowi
5aa7b34b05 Add total heap and total psram into Info tab 2022-09-20 10:58:59 +02:00
Ewowi
4342cad1cd Merge remote-tracking branch 'origin/dev' into small-changes 2022-09-20 10:53:51 +02:00
Ewowi
9dd8a59572 Merge remote-tracking branch 'origin/dev' into mdev 2022-09-19 22:55:35 +02:00
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