Commit Graph

470 Commits

Author SHA1 Message Date
Frank
f87783703b platformio.ini: WLED_DEBUG_HEAP for 16MB debug targets 2023-06-01 22:13:14 +02:00
Frank
63b03a4139 Merge branch 'mdev' into audio_fastpath 2023-06-01 21:58:34 +02:00
Frank
404fb566fa partly disable waitUntilIdle() as its still work-in-progress
This disables parts of the new feature that might lead to delays, so basicially there is some detection, but no protection any more.

further development needed --> audio_fastpath branch

compile with -D WLEDMM_PROTECT_SERVICE to enable full protection.
2023-06-01 21:55:46 +02:00
Frank
52fe8e28a3 Merge branch 'mdev' into audio_fastpath 2023-06-01 17:44:36 +02:00
Will Tatam
e99874159d Add USERMOD_ANIMARTRIX to XL builds 2023-06-01 15:15:46 +01:00
Ewoud
36c34b5db8 Merge branch 'mdev' into audio_fastpath 2023-05-31 21:35:24 +02:00
Frank
859adb3f7a Update platformio.ini: fastled version update
quick fix, until fastLED 3.6.0 packages become available.
2023-05-29 21:48:19 +02:00
Will Tatam
97449477fe Disable USERMOD_ANIMARTRIX due to lack of memory on esp32_4MB_XL 2023-05-29 17:19:44 +01:00
Will Tatam
3d909f69fa Disable USERMOD_ANIMARTRIX due to lack of memory on esp32_4MB_M_debug 2023-05-29 17:18:29 +01:00
Will Tatam
cfb9c60e2d Disable USERMOD_ANIMARTRIX due to lack of memory on esp32c3dev_4MB_M 2023-05-29 15:23:58 +01:00
Will Tatam
de9839a287 Add animartrix to lib_deps_V4_M 2023-05-29 15:13:42 +01:00
Will Tatam
990b5663ed Merge remote-tracking branch 'upstream/mdev' into animartrix-library 2023-05-29 15:09:11 +01:00
Will Tatam
cfd7d46170 Use animartrix library version without hard 32x32 limnit 2023-05-29 15:05:47 +01:00
Will Tatam
f0f38fbd93 Remove use of SEQMENT.leds and directly call SEGMENT.setPixelColor 2023-05-29 13:41:41 +01:00
Frank
49f2e26ab5 arduinoFFT hash update
to fix the gh build, following latest dev.
2023-05-27 00:00:59 +02:00
Frank
8c5e589020 arduinoFFT hash update
to fix the gh build, following latest dev.
2023-05-27 00:00:08 +02:00
Frank
e2eb3e8ab4 npm run build
npm run build
comment added in platformio.ini
2023-05-25 22:13:41 +02:00
Frank
71153ee832 small debug improvements
- don't set -DNDEBUG -> this flag is "not recommended"
- minor change in deserializeMap() WLED_DEBUG code
2023-05-25 21:50:44 +02:00
Frank
0a826f10ad small debug improvements
- don't set -DNDEBUG -> this flag is "not recommended"
- minor change in deserializeMap() WLED_DEBUG code
2023-05-25 21:38:08 +02:00
Will Tatam
250202ebdc Try and use SEGMENT.leds for Big_Caleido (Direct leds) 2023-05-23 19:31:19 +01:00
Will Tatam
db83a637bd Reference build with smaller polar_theta and distance 2023-05-23 17:28:22 +01:00
Will Tatam
a7c805a3c5 Add all current ANIMartRIX to list of modes 2023-05-23 15:08:28 +01:00
Ewoud
175375e30d Merge branch 'mdev' into audio_fastpath 2023-05-16 16:02:47 +02:00
Ewoud
7e7d1065e9 Rename usermod_fastled to usermod_animartrix and add in _m 2023-05-13 22:33:03 +02:00
Ewoud
fede3dd54c Merge remote-tracking branch 'upstream/main' into mdev 2023-05-11 17:39:12 +02:00
Ewoud
5935ea1726 Remove a bunch of bins from the default_envs 2023-05-11 14:13:26 +02:00
Frank
f147d7939a Merge branch 'mdev' into audio_fastpath 2023-05-11 13:35:17 +02:00
Frank
d79fa92e6c SHT usermod added to MM "XL" config
... but commented out (experimental)
2023-05-10 17:12:48 +02:00
Frank
c4664e530c Merge branch 'mdev' into audio_fastpath 2023-05-10 12:16:38 +02:00
Frank
fdf25d046a well-defined version (hash) for arduinoFFT 2023-05-10 12:12:36 +02:00
Frank
f050e60e15 well-defined fastled version
using the latest hash from master, so we get predictable builds.
2023-05-10 11:58:16 +02:00
Frank
bc90309dd6 fix error message in latest platformio
fix for "Error: Invalid environment name 'codm-controller-0.6-rev2'. The name can contain alphanumeric, underscore, and hyphen characters (a-z, 0-9, -, _)"
2023-05-09 17:34:30 +02:00
Frank
4810a85401 Merge branch 'mdev' into audio_fastpath 2023-05-09 15:33:04 +02:00
Frank
dc5400a9d4 platformio.ini: small update for -S3
added MSC_ON_BOOT=0 and DFU_ON_BOOT=0 to generic -S3 flags. These mode make no sense with WLED.

(same as upstream)
2023-05-09 15:31:13 +02:00
Frank
d8bd451ceb Merge branch 'mdev' into audio_fastpath 2023-05-08 17:53:49 +02:00
Ewoud
e9a1c1e74f Small changes 2023-05-08 16:47:53 +02:00
netmindz
7f2c5832ab Update platformio.ini
Use monitor_filters = esp32_exception_decoder for all image build targets
2023-05-07 21:16:29 +01:00
Frank
04b55a5f2a back to NeoPixelBus @ 2.7.1
due to build errors on some esp32 envs.

Build Environments (esp32_16MB_M_eth)
In file included from wled00/bus_manager.cpp:9:0:
wled00/bus_wrapper.h: In static member function 'static void PolyBus::begin(void*, uint8_t, uint8_t*)':
wled00/bus_wrapper.h:187:61: error: 'DotStarEsp32DmaHspi5MhzMethod' was not declared in this scope
 #define B_HS_DOT_3 NeoPixelBrightnessBus<DotStarBgrFeature, DotStarEsp32DmaHspi5MhzMethod> //hardware HSPI with DMA (ESP32 only)
                                                             ^
wled00/bus_wrapper.h:300:37: note: in expansion of macro 'B_HS_DOT_3'
       case I_HS_DOT_3: (static_cast<B_HS_DOT_3*>(busPtr))->Begin(pins[1], -1, pins[0], -1); break;
                                     ^
wled00/bus_wrapper.h:187:90: error: template argument 2 is invalid
 #define B_HS_DOT_3 NeoPixelBrightnessBus<DotStarBgrFeature, DotStarEsp32DmaHspi5MhzMethod> //hardware HSPI with DMA (ESP32 only)
                                                                                          In file included from wled00/bus_manager.cpp:9:0:
wled00/bus_wrapper.h: In static member function 'static void PolyBus::begin(void*, uint8_t, uint8_t*)':
wled00/bus_wrapper.h:187:61: error: 'DotStarEsp32DmaHspi5MhzMethod' was not declared in this scope
 #define B_HS_DOT_3 NeoPixelBrightnessBus<DotStarBgrFeature, DotStarEsp32DmaHspi5MhzMethod> //hardware HSPI with DMA (ESP32 only)
                                                             ^
wled00/bus_wrapper.h:300:37: note: in expansion of macro 'B_HS_DOT_3'
       case I_HS_DOT_3: (static_cast<B_HS_DOT_3*>(busPtr))->Begin(pins[1], -1, pins[0], -1); break;
                                     ^
wled00/bus_wrapper.h:187:90: error: template argument 2 is invalid
 #define B_HS_DOT_3 NeoPixelBrightnessBus<DotStarBgrFeature, DotStarEsp32DmaHspi5MhzMethod> //hardware HSPI with DMA (ESP32 only)
2023-05-07 21:26:51 +02:00
Frank
50b3c9dc62 library updates
* FastLED 3.5.0 #master (up to 50% faster)
* All ESP32 env use NeoPixelBus 2.7.3 (slightly faster)
* Weather usermod: small update, as fastLED wants an explicit conversion from CRGB -> uint32_t
* weather usermod: avoid using palette color #0 = black
2023-05-07 21:15:31 +02:00
Frank
63ffc6e7a6 Update platformio.ini
small fix - wrong keyword
2023-05-04 23:16:21 +02:00
Frank
f57c39cd57 new pio environment for ESP32 rev3 with PSRAM (faster)
* disables PSRAM fixes that are not necessary any more on "revision 3" boards.
2023-05-04 20:33:02 +02:00
Frank
7d0e627e14 some effect optimizations
* getpixelcolor: attribute pure - it reads memory, but does not write
* some optimizations for SEGMENT.blur() and SEGMENT.fadeToBlackBy()

* FX.c:pp remove double calls to blur() and fade_out()
* FX.cpp: SEGMENT.setUpLeds() added to effects, to enable LED buffering (safe some time because getPixelColor does not need to access NeopixelBus)

* a few other optimizations to safe time and avoid "expensive" operations
* set I2C bus speed to 400kHz (default is 100Khz)

* a few other small optimizations and tweaks
* pio: esp32 V4 builds use "patch5" toolchain version, which contains a few bugfixes especially for memory management.
2023-05-03 20:33:23 +02:00
Frank
cd82a34392 fixing github CI builds for -S3/-S2/-C3
explicitly adding `toolchain-riscv32-esp @ 8.4.0+2021r2-patch5` seems to do the trick.

Suggested here:
* https://github.com/platformio/platform-espressif32/issues/1081#issuecomment-1518601054
2023-05-01 16:54:30 +02:00
Frank
fb03a37b08 fps help in LED settings
led settings: added hint on max leds per pin
fx.h: faster FRAMERATE_FIXED
2023-04-30 18:37:14 +02:00
Blaz Kristan
432c5837f0 Bugfix
- WiFi power for Lolin S2 & C3 (use -DLOLIN_WIFI_FIX)
- web response buffer size (corruption when websockets not used)
2023-04-30 17:30:36 +02:00
Frank
c0a0f66aa4 trying to revive github ci build for new MCUs (#38)
as suggested here:
* https://github.com/platformio/platform-espressif32/issues/1081#issuecomment-1518601054
2023-04-30 16:45:11 +02:00
Blaz Kristan
0aea75edb7 NeoPixelBus 2.7.5
UI bugfix
2023-04-28 16:52:48 +02:00
Blaž Kristan
e00116551c Add Ucs890x support and swaps NeoPixelBrightnessBus with NeoPixelBusLg (#3091)
* Add UCS890x support.

* Fixes

* Update NeoPixelBus to 2.7.3 for UCS8904 support.
Update ESP8266 core to 4.1.0

* ESP8266 compile fixes.
- use PlatformIO framework and toolchain
- add compiler warning suppression
- remove IRAM_ATTR to fit in IRAM

* Replace NeoPixelBrightnessBus with NeoPixelBusLg
Resolves #3087

* Update to NPB 2.7.4

* Internal NPB color conversions.

* Fix errors due to merge with SPI Hz methods

Regenerate settings page HTML

---------

Co-authored-by: Christian Schwinne <dev.aircoookie@gmail.com>
2023-04-28 01:28:57 +02:00
cschwinne
4d55e05b07 Fix CI properly
Small 2D Soap FX optimizations
2023-04-28 00:51:34 +02:00
Blaž Kristan
9ff3f85432 Allow SPI clock speed selection. (#3173)
* Allow SPI clock speed selection.

* Bump NPB to 2.7.4
2023-04-28 00:27:19 +02:00