Skip to content

Commit 30ed694

Browse files
committed
ESU8285 flash size corrected
1 parent 6e88bd1 commit 30ed694

File tree

2 files changed

+15
-15
lines changed

2 files changed

+15
-15
lines changed

platformio.ini

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,8 @@ build_flags =
7575
; -D WLED_DISABLE_ALEXA
7676
-D WLED_DISABLE_BLYNK
7777
-D WLED_DISABLE_CRONIXIE
78-
; -D WLED_DISABLE_HUESYNC
79-
-D WLED_DISABLE_INFRARED
78+
-D WLED_DISABLE_HUESYNC
79+
; -D WLED_DISABLE_INFRARED
8080

8181
[common:esp8266_512k]
8282
@@ -126,13 +126,13 @@ lib_deps =
126126

127127
[env:esp8285]
128128
board = esp8285
129-
platform = ${common:esp8266.platform}
129+
130130
monitor_speed = ${common.monitor_speed}
131131
upload_speed = ${common.upload_speed}
132132
framework = ${common.framework}
133133
build_flags =
134-
${common.build_flags}
135-
${common:esp8266.build_flags}
134+
-D PIO_FRAMEWORK_ARDUINO_LWIP2_HIGHER_BANDWIDTH_LOW_FLASH
135+
-Wl,-Teagle.flash.1m256.ld ;;;; Compile with no SPIFFS to leave space for OTA
136136
-D WLED_DISABLE_BLYNK
137137
-D WLED_DISABLE_CRONIXIE
138138
-D WLED_DISABLE_HUESYNC

wled00/NpbWrapper.h

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
//PIN CONFIGURATION
66
#define LEDPIN 2 //strip pin. Any for ESP32, gpio2 or 3 is recommended for ESP8266 (gpio2/3 are labeled D4/RX on NodeMCU and Wemos)
77
//#define USE_APA102 // Uncomment for using APA102 LEDs.
8-
#define BTNPIN 0 //button pin. Needs to have pullup (gpio0 recommended)
9-
#define IR_PIN 3 //infrared pin (-1 to disable) MagicHome: 4, H801 Wifi: 3
8+
#define BTNPIN -1 //button pin. Needs to have pullup (gpio0 recommended)
9+
#define IR_PIN 0 //infrared pin (-1 to disable) MagicHome: 4, H801 Wifi: 0
1010
#define RLYPIN -1 //pin for relay, will be set HIGH if LEDs are on (-1 to disable). Also usable for standby leds, triggers,...
1111
#define AUXPIN -1 //debug auxiliary output pin (-1 to disable)
1212

@@ -21,18 +21,18 @@
2121
#endif
2222

2323
#ifndef WLED_DISABLE_ANALOG_LEDS
24-
/*PWM pins - PINs 5,12,13,15 are used with Magic Home LED Controller
25-
#define RPIN 5 //R pin for analog LED strip
26-
#define GPIN 12 //G pin for analog LED strip
27-
#define BPIN 13 //B pin for analog LED strip
28-
#define WPIN 15 //W pin for analog LED strip
29-
*/
30-
//PWM pins - PINs 15,13,12,14 are used with H801 Wifi LED Controller
24+
//PWM pins - PINs 15,13,12,14 (W2 = 04)are used with H801 Wifi LED Controller
3125
#define RPIN 15 //R pin for analog LED strip
3226
#define GPIN 13 //G pin for analog LED strip
3327
#define BPIN 12 //B pin for analog LED strip
34-
#define WPIN 14 //W pin for analog LED
28+
#define WPIN 14 //W pin for analog LED strip (W1: 14, W2: 04)
3529
//
30+
/*PWM pins - PINs 5,12,13,15 are used with Magic Home LED Controller
31+
#define RPIN 5 //R pin for analog LED strip
32+
#define GPIN 12 //G pin for analog LED strip
33+
#define BPIN 13 //B pin for analog LED strip
34+
#define WPIN 15 //W pin for analog LED strip (W1: 14, W2: 04)
35+
*/
3636
#endif
3737

3838
//automatically uses the right driver method for each platform

0 commit comments

Comments
 (0)