Skip to content

Commit

Permalink
Merge pull request #547 from MartinMueller2003/main
Browse files Browse the repository at this point in the history
Workaround for ESP8266 UI not connecting
  • Loading branch information
forkineye authored Jul 5, 2022
2 parents 110525c + 89cdc5c commit 6189645
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion ESPixelStick/src/output/OutputMgr.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion ESPixelStick/src/output/OutputServoPCA9685.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ c_OutputServoPCA9685::c_OutputServoPCA9685 (c_OutputMgr::e_OutputChannelIds Outp
uint32_t id = 0;
for (ServoPCA9685Channel_t &currentServoPCA9685Channel : 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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6189645

Please sign in to comment.