netmindz
ee23827fdb
Merge pull request #16 from netmindz/audio-palette-updates
...
Audio palette updates
2023-04-14 18:38:06 +01:00
Will Tatam
cc25a21bcb
Merge branch 'mdev' into audio-palette-updates
2023-04-14 18:28:43 +01:00
Frank
05c3e569f1
optional: warn about functions with high stack usage
2023-04-14 19:08:41 +02:00
Frank
3e2a6848f9
arti setup(): attempt to fix memory leak
...
- check that programName is not too long (fileNameLength-7 is the limit)
- try to fix a memory leak, as programText must be free'd in case of error.
@ewoudwijma please review my changes, I'm not 100% sure I did it right.
2023-04-14 18:40:25 +02:00
Frank
10ca7c83ca
enumerateLedmaps: prevent buffer overflow
...
make sure that bounds of char fileName[33] are not exceeded by sprintf.
2023-04-14 18:33:07 +02:00
Blaz Kristan
8c9656b799
Cleanup. Return after upload.
2023-04-14 18:33:03 +02:00
Blaz Kristan
396ea3d0ee
Add webserver cpal support
2023-04-14 17:21:07 +02:00
Blaz Kristan
3efee4a855
Merge branch 'main' into cpal
2023-04-14 17:16:20 +02:00
Blaz Kristan
ece6759fa7
UI update.
2023-04-14 17:15:02 +02:00
Frank
5f4dd53be4
V4 target: enable warning for variable shadoing
...
* pio.ini: add "-Wshadow=compatible-local" for V4 targets
* pio.ini: fix alignment for 8266 build_flags
* fix one (harmless) case of shadowed vars in MM specific code
2023-04-14 14:20:55 +02:00
Frank
246d945f39
another "inner var shadows outer var"
...
Seems this is not causing bugs, however its still bad style to re-define existing vars in an inner loop. Solved to improve code readability.
2023-04-14 14:13:45 +02:00
Frank
4a3bc486d0
two more "shadowed locals"
...
In these case, there seem to be no bug, but simply renaming the "inner" variables improves code readability.
2023-04-14 13:09:25 +02:00
Frank
996d041581
bugfix for art-net transmit
...
art-net transmit was not sending out LEDs, but only transmitted headers repeatedly (thanks @troyhacks for noticing).
Actually such problems can be found by newer compilers, so i've added the warning option to [esp32_idf_V4].
wled00/udp.cpp: In function 'uint8_t realtimeBroadcast(uint8_t, IPAddress, uint16_t, uint8_t*, uint8_t, bool)':
wled00/udp.cpp:824:40: warning: declaration of 'byte buffer [12]' shadows a parameter [-Wshadow=compatible-local]
byte buffer[ART_NET_HEADER_SIZE];
^
wled00/udp.cpp:720:85: note: shadowed declaration is here
uint8_t realtimeBroadcast(uint8_t type, IPAddress client, uint16_t length, uint8_t *buffer, uint8_t bri, bool isRGBW) {
2023-04-14 11:39:12 +02:00
Frank
db62153e34
fix for a potential array overrun
...
unguarded sprintf / strcpy are always a risk.
2023-04-13 23:20:57 +02:00
Frank
122f54a274
prevent heat-up on tiny -C3 boards
...
* reduce LED default brightness
* unset "disable wifi sleep" when WLEDMM_WIFI_POWERON_HACK
2023-04-13 23:00:51 +02:00
Frank
94a7f5623d
handling of Serial on CDC USB board
...
... like the typical -C3
* Replaced a few direct Serial.printf with macros
* Always check if Serial is connected before printing (CDC sometimes hangs when trying to send/receive without connection)
2023-04-13 22:59:09 +02:00
Frank
0081122f13
buildenv improvement for -C3
...
* IRremoteESP8266 @ ~2.8.2
* -D WLED_DISABLE_ADALIGHT (as most devices don't have a serial-to-USB chip)
2023-04-13 22:55:04 +02:00
Frank
a193aabd67
Merge pull request #34 from troyhacks/2023-04-12-Art-Net_Transmit_Repair_Bad_Optimization
...
"Unfixing" an optimization to the Art-Net header.
The local "buffer" was shadowing the LED buffer (function parameter), so art-net would only send out headers but no LEDs.
2023-04-13 22:11:48 +02:00
Frank
2e0d1046f8
some cleanups and updates for -C3
...
* remove duplicate env.lib_deps
* use NeoPixelBus @ 2.7.3
* added board_build.flash_mode
2023-04-13 19:29:41 +02:00
Frank
0afad59458
MM style buildenv for seeedxiao -C3
2023-04-13 16:14:56 +02:00
Frank
40e614cbfa
ups
...
double platform_packages line removed
2023-04-13 14:35:36 +02:00
Frank
e971990025
pio: added esp32.platformV4_new = espressif32 @ ~5.2.0
2023-04-13 13:26:30 +02:00
Frank
0ae004ffa3
buildenv fix: avoid NeoPixelBus 2.7.4
...
it seems that NPB 2.7.4 introduces new incompatibilities with WLED, that break gh action builds.
2023-04-13 12:26:14 +02:00
Frank
d48e4adcd4
CI build fix
...
seems that NPB 2.7.4 introduces new incompatibilities that break our gh build action.
2023-04-13 12:16:32 +02:00
TroyHacks
deb09c288a
Unmessing an optimization to the header - which caused the header to be sent over and over.
2023-04-12 18:00:35 -04:00
Blaz Kristan
7f84b7ab83
Merge branch 'main' into seg-groups
2023-04-12 15:37:56 +02:00
Blaz Kristan
3e26bd6a17
Quick compile fix.
...
- ESP32 DMA HSPI method in NeoPixelBus requires IDF 4.4.1
2023-04-12 15:35:27 +02:00
Henrik
e964c62907
Fixes
2023-04-12 09:15:38 +02:00
Frank
04fa3995da
soundsim bugfix
...
FFT_MajorPeak simulated value was too small.
2023-04-11 23:00:06 +02:00
Blaz Kristan
fbb4965263
Merge branch 'main' into seg-groups
2023-04-11 21:40:29 +02:00
Blaz Kristan
88139d95a7
Build bump.
2023-04-11 21:35:44 +02:00
Blaz Kristan
5875b1988b
Change log update
2023-04-11 21:34:43 +02:00
Blaž Kristan
2a2091595b
Merge pull request #3153 from Aircoookie/ipad-pcmode
...
iPad/tablet with 1024 pixel UI PC mode.
2023-04-11 21:11:19 +02:00
Blaz Kristan
d77883dd7a
Merge branch 'main' into ipad-pcmode
2023-04-11 21:03:09 +02:00
Frank
a1bdb47c30
trying to make sound pressure less boring for line-in
...
"sound pressure" for line-in was always close to max - which is expected, because the ADC chip utilize the full 24/16bit sample range.
The new calculation leads to some more "movement".
2023-04-10 23:57:44 +02:00
Frank
25122f982c
temporary disable DMX input on -C3 and -S2
2023-04-10 22:39:42 +02:00
Frank
8ba43b63ec
Sound pressure: modified correction factors for PDM and analog
2023-04-10 03:29:59 +02:00
Frank
61949cfdc8
Sound Pressure - some optimizations
...
- slightly extend input range
- add correction factors for some sound sources
- gravimeter: tweaking
2023-04-10 02:04:53 +02:00
Blaz Kristan
adea7dadec
Bugfix.
...
- top buttons not working on mobile
2023-04-09 23:58:24 +02:00
Blaz Kristan
cf4ce2dc08
Revert float none.
2023-04-09 23:55:53 +02:00
Henrik
e74dfb2ba6
Small adjustments to UI mainly
2023-04-09 16:49:41 +02:00
Henrik
aaea9ff018
Added info on usage of IDs
2023-04-09 14:18:22 +02:00
Blaz Kristan
206b88eba2
Bugfix.
...
- top buttons not working on mobile
2023-04-09 11:06:42 +02:00
Henrik
8f5373f034
Custom Palette Creator
2023-04-08 20:02:49 +02:00
Soeren Willrodt
8f364ec638
Change library for ArtiFX
...
Change the library to a fork , so the /edit page can show .wled and .log files
2023-04-08 16:10:32 +02:00
Ewoud
822fcf272b
ARTI-FX change .wled.log to .log
2023-04-08 15:32:58 +02:00
Will Tatam
79c67122dd
Enable WLED_ENABLE_DMX_INPUT again, now we reference a preditacble tag not branch
2023-04-08 13:50:23 +01:00
Will Tatam
eb3ad99b76
Use taged version of esp_dmx
2023-04-08 13:45:08 +01:00
Will Tatam
343252f6c9
Use taged version of esp_dmx
2023-04-08 13:45:08 +01:00
Ewoud
876b08e3e4
Temporary disable WLED_ENABLE_DMX_INPUT in esp32_4MB_V4_S_base
2023-04-08 14:42:14 +02:00