From 1a1d57f05475167c9b1bd8649e8520116a9d64d6 Mon Sep 17 00:00:00 2001 From: Martin Mueller Date: Mon, 4 Jul 2022 16:52:12 -0400 Subject: [PATCH 1/4] Fixed a typo in initial data value. --- ESPixelStick/src/output/OutputServoPCA9685.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ESPixelStick/src/output/OutputServoPCA9685.cpp b/ESPixelStick/src/output/OutputServoPCA9685.cpp index 50c118971..3e1ecdf33 100644 --- a/ESPixelStick/src/output/OutputServoPCA9685.cpp +++ b/ESPixelStick/src/output/OutputServoPCA9685.cpp @@ -34,7 +34,7 @@ c_OutputServoPCA9685::c_OutputServoPCA9685 (c_OutputMgr::e_OutputChannelIds Outp uint32_t id = 0; for (ServoPCA9685Channel_t ¤tServoPCA9685Channel : OutputList) { - currentServoPCA9685Channel.Id - id++; + currentServoPCA9685Channel.Id = id++; currentServoPCA9685Channel.Enabled = false; currentServoPCA9685Channel.MinLevel = SERVO_PCA9685_OUTPUT_MIN_PULSE_WIDTH; currentServoPCA9685Channel.MaxLevel = SERVO_PCA9685_OUTPUT_MAX_PULSE_WIDTH; From 51cd803c18d57ec034de8e4b6e4c936813aeafce Mon Sep 17 00:00:00 2001 From: Martin Mueller Date: Mon, 4 Jul 2022 16:56:46 -0400 Subject: [PATCH 2/4] Reduced the size of the max config file for ESP8266 - --- ESPixelStick/src/output/OutputMgr.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ESPixelStick/src/output/OutputMgr.hpp b/ESPixelStick/src/output/OutputMgr.hpp index 7f5ac104a..8403be4cf 100644 --- a/ESPixelStick/src/output/OutputMgr.hpp +++ b/ESPixelStick/src/output/OutputMgr.hpp @@ -167,7 +167,7 @@ class c_OutputMgr #ifdef ARDUINO_ARCH_ESP8266 # define OM_MAX_NUM_CHANNELS (1200 * 3) -# define OM_MAX_CONFIG_SIZE ((size_t)(5 * 1024)) +# define OM_MAX_CONFIG_SIZE ((size_t)(3 * 1024)) #else // ARDUINO_ARCH_ESP32 # ifdef BOARD_HAS_PSRAM # define OM_MAX_NUM_CHANNELS (7000 * 3) From 700e872789e61b493d61ed49fee64a5fbe774b75 Mon Sep 17 00:00:00 2001 From: Martin Mueller Date: Mon, 4 Jul 2022 17:00:20 -0400 Subject: [PATCH 3/4] Fixed a typo in a comment --- platformio.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platformio.ini b/platformio.ini index 1983824cf..c2b247425 100644 --- a/platformio.ini +++ b/platformio.ini @@ -43,7 +43,7 @@ extra_scripts = ; https://docs.platformio.org/en/latest/platforms/espressif8266.html ; ;~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~; [esp8266] -platform = espressif8266 @ 3.2.0 ; Arduino Core 3.0.2 +platform = espressif8266 @ 3.2.0 ; Arduino Core board_build.f_cpu = 160000000L board_build.filesystem = littlefs board_build.ldscript = eagle.flash.4m2m.ld From 771e6e33a4e63b0d3b193b416452323129b6dda9 Mon Sep 17 00:00:00 2001 From: Martin Mueller Date: Mon, 4 Jul 2022 17:11:51 -0400 Subject: [PATCH 4/4] Reduced the number of pixel protocols supported concurrently on the ESP8266 to one (1) --- .../platformDefinitions/GPIO_Defs_ESP8266_ESP01S.hpp | 12 ++++++------ .../GPIO_Defs_ESP8266_ESPS_V3.hpp | 8 ++++---- .../GPIO_Defs_ESP8266_Generic.hpp | 8 ++++---- 3 files changed, 14 insertions(+), 14 deletions(-) diff --git a/ESPixelStick/src/platformDefinitions/GPIO_Defs_ESP8266_ESP01S.hpp b/ESPixelStick/src/platformDefinitions/GPIO_Defs_ESP8266_ESP01S.hpp index d5889ff7e..191d4c6fc 100644 --- a/ESPixelStick/src/platformDefinitions/GPIO_Defs_ESP8266_ESP01S.hpp +++ b/ESPixelStick/src/platformDefinitions/GPIO_Defs_ESP8266_ESP01S.hpp @@ -35,13 +35,13 @@ // #define SUPPORT_OutputType_APA102 // SPI #define SUPPORT_OutputType_DMX // UART / RMT #define SUPPORT_OutputType_GECE // UART -#define SUPPORT_OutputType_GS8208 // UART / RMT +// #define SUPPORT_OutputType_GS8208 // UART / RMT #define SUPPORT_OutputType_Renard // UART / RMT #define SUPPORT_OutputType_Serial // UART / RMT -#define SUPPORT_OutputType_TM1814 // UART / RMT -#define SUPPORT_OutputType_UCS1903 // UART / RMT -#define SUPPORT_OutputType_UCS8903 // UART / RMT +// #define SUPPORT_OutputType_TM1814 // UART / RMT +// #define SUPPORT_OutputType_UCS1903 // UART / RMT +// #define SUPPORT_OutputType_UCS8903 // UART / RMT // #define SUPPORT_OutputType_WS2801 // SPI #define SUPPORT_OutputType_WS2811 // UART / RMT -// #define SUPPORT_OutputType_Relay // GPIO -// #define SUPPORT_OutputType_Servo_PCA9685 // I2C (default pins) +#define SUPPORT_OutputType_Relay // GPIO +#define SUPPORT_OutputType_Servo_PCA9685 // I2C (default pins) diff --git a/ESPixelStick/src/platformDefinitions/GPIO_Defs_ESP8266_ESPS_V3.hpp b/ESPixelStick/src/platformDefinitions/GPIO_Defs_ESP8266_ESPS_V3.hpp index f0a19670c..3536ad784 100644 --- a/ESPixelStick/src/platformDefinitions/GPIO_Defs_ESP8266_ESPS_V3.hpp +++ b/ESPixelStick/src/platformDefinitions/GPIO_Defs_ESP8266_ESPS_V3.hpp @@ -35,12 +35,12 @@ // #define SUPPORT_OutputType_APA102 // SPI #define SUPPORT_OutputType_DMX // UART / RMT #define SUPPORT_OutputType_GECE // UART -#define SUPPORT_OutputType_GS8208 // UART / RMT +// #define SUPPORT_OutputType_GS8208 // UART / RMT #define SUPPORT_OutputType_Renard // UART / RMT #define SUPPORT_OutputType_Serial // UART / RMT -#define SUPPORT_OutputType_TM1814 // UART / RMT -#define SUPPORT_OutputType_UCS1903 // UART / RMT -#define SUPPORT_OutputType_UCS8903 // UART / RMT +// #define SUPPORT_OutputType_TM1814 // UART / RMT +// #define SUPPORT_OutputType_UCS1903 // UART / RMT +// #define SUPPORT_OutputType_UCS8903 // UART / RMT // #define SUPPORT_OutputType_WS2801 // SPI #define SUPPORT_OutputType_WS2811 // UART / RMT // #define SUPPORT_OutputType_Relay // GPIO diff --git a/ESPixelStick/src/platformDefinitions/GPIO_Defs_ESP8266_Generic.hpp b/ESPixelStick/src/platformDefinitions/GPIO_Defs_ESP8266_Generic.hpp index 0cc569a32..b58beff93 100644 --- a/ESPixelStick/src/platformDefinitions/GPIO_Defs_ESP8266_Generic.hpp +++ b/ESPixelStick/src/platformDefinitions/GPIO_Defs_ESP8266_Generic.hpp @@ -35,12 +35,12 @@ // #define SUPPORT_OutputType_APA102 // SPI #define SUPPORT_OutputType_DMX // UART / RMT #define SUPPORT_OutputType_GECE // UART -#define SUPPORT_OutputType_GS8208 // UART / RMT +// #define SUPPORT_OutputType_GS8208 // UART / RMT #define SUPPORT_OutputType_Renard // UART / RMT #define SUPPORT_OutputType_Serial // UART / RMT -#define SUPPORT_OutputType_TM1814 // UART / RMT -#define SUPPORT_OutputType_UCS1903 // UART / RMT -#define SUPPORT_OutputType_UCS8903 // UART / RMT +// #define SUPPORT_OutputType_TM1814 // UART / RMT +// #define SUPPORT_OutputType_UCS1903 // UART / RMT +// #define SUPPORT_OutputType_UCS8903 // UART / RMT // #define SUPPORT_OutputType_WS2801 // SPI #define SUPPORT_OutputType_WS2811 // UART / RMT #define SUPPORT_OutputType_Relay // GPIO