ESP32-S3: different number of RMT and PWM channels

ESP32-S3: 8 RMT channels (not sure if all 8 are usable by NeopixelBus), 8 LED-PWM channels
This commit is contained in:
Frank
2022-09-02 22:30:56 +02:00
parent 4162d8fdfa
commit a67f9d86f7
4 changed files with 21 additions and 8 deletions

View File

@@ -25,10 +25,14 @@
#ifdef ESP8266
#define WLED_MAX_BUSSES 3
#else
#ifdef CONFIG_IDF_TARGET_ESP32S2
#if defined(CONFIG_IDF_TARGET_ESP32S2) || defined(CONFIG_IDF_TARGET_ESP32C3)
#define WLED_MAX_BUSSES 5
#else
#define WLED_MAX_BUSSES 10
#if defined(CONFIG_IDF_TARGET_ESP32S3)
#define WLED_MAX_BUSSES 8
#else
#define WLED_MAX_BUSSES 10
#endif
#endif
#endif
#endif