my favourite HUB75 buildenv [env:esp32_4MB_V4_HUB75_forum]

This commit is contained in:
Frank
2024-08-15 20:35:16 +02:00
parent 9e65ab3be4
commit f7e3f35c0c
2 changed files with 66 additions and 0 deletions

View File

@@ -87,11 +87,13 @@ bool strip_uses_global_leds(void) __attribute__((pure)); // WLEDMM implemented
#ifndef MAX_NUM_SEGMENTS
#define MAX_NUM_SEGMENTS 32
#endif
#ifndef MAX_SEGMENT_DATA
#if defined(ARDUINO_ARCH_ESP32S2)
#define MAX_SEGMENT_DATA 24576
#else
#define MAX_SEGMENT_DATA 32767
#endif
#endif
#endif
/* How much data bytes each segment should max allocate to leave enough space for other segments,