Commit Graph
13 Commits
Author SHA1 Message Date
TD-er 3c77d996ca [ESP32-S3] Fix max. 63 addressable LEDs on ESP32-S3 with OPI PSRAM 2025-02-14 13:42:29 +01:00
TD-er 6e3861505a [NeoPixel] Fix issue running addressable LEDs on ESP32S3 with OPI PSRAM
Fixes: #5253

For builds with "OPI PSRAM", the entire sketch is uploaded from flash to PSRAM at boot as PSRAM is way faster than flash. (about 3x faster)
This is also why the reported PSRAM size is about 5 MB while you have 8 MB PSRAM.

Another side-effect is that there is another threshold for allocating memory to internal or PSRAM based on size.
So starting from 64 LEDs, the malloc switches to use PSRAM instead of internal RAM.

Problem is that we can't use DMA from PSRAM while we have read- and write-access to it.
So the change in this test build is to force allocating memory on internal RAM and use a flag to make sure it is DMA accessible.

Timeout is set  to 100 msec, which is  enough for not really blocking the ESP, but should still not happen anyway as it allows for roughly 2000 LEDs to be updated in that period.
2025-02-13 23:43:52 +01:00
TD-er 470c66f6ec [ESP-IDF5.1] Fix freeing RMT assigned channel + tweak ESP32-classic 2023-11-05 21:10:25 +01:00
TD-er 4ece6168ac [ESP-IDF5.1] Tweak NeoPixel support on ESP32-C3 2023-11-05 19:49:20 +01:00
TD-er d37a51a7d1 [ESP-IDF5.1] Improve NeoPixel on ESP32 + add LittleFS ESP32-S2 Neo Build 2023-11-05 15:46:52 +01:00
TD-er 006baec646 [ESP-IDF5.1] Fix NeoPixel Matrix stability on ESP32-S3 (use DMA) 2023-11-05 13:52:08 +01:00
TD-er 65666f8fe0 [ESP-IDF5.1] Fix build issue on older IDF based builds 2023-10-23 13:29:34 +02:00
TD-er 732ca6d8d5 [ESP-IDF5.1] Update NeoPixelBus with Tasmota's patches for ESP-IDF5.1 2023-10-23 12:46:33 +02:00
TD-er 8e7f4be212 [ESP_IDF 5.1] Add support for ESP_IDF 5.1 (SP32 Arduino SDK 3.x) 2023-10-06 11:09:11 +02:00
Ton Huisman 9ced69236f [Lib] Update NeoPixelBus to current latest 2023-08-09 16:48:56 +02:00
TD-er 82926bdd6b [NeoPixelBus] Work-around to compile on older compilers (ESP8266 2.7.4) 2023-05-04 00:37:37 +02:00
TD-er 1c542f2368 [NeoPixelBus] Update NeoPixelBus library to 2.7.5 2023-05-03 00:17:41 +02:00
TD-er 24cd5a2d74 [PIO] Add all used libraries in lib folder
[PIO] Update lib/default folder in Platformio.ini


[PIO] Update lib/default folder in Platformio.ini


[PIO] Add missing parts in library.properties files
2022-11-07 16:01:28 +01:00