Skip to content

Commit

Permalink
Different PIO settings
Browse files Browse the repository at this point in the history
  • Loading branch information
Aircoookie committed Feb 24, 2020
1 parent 3922771 commit 5d7e892
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 14 deletions.
22 changes: 12 additions & 10 deletions platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ default_envs = nodemcuv2
; default_envs = esp8285_4CH_MagicHome
; default_envs = esp8285_4CH_H801
; default_envs = esp8285_5CH_H801
# Release binaries follow
; default_envs = nodemcuv2, esp01, esp01_1m, esp32dev,



[common]
framework = arduino
Expand Down Expand Up @@ -82,30 +86,28 @@ arduino_core_stage = https://github.com/platformio/platform-espressif8266.git#fe
platform = ${common:esp8266.arduino_core_2_6_3}
build_flags =
-D ESP8266
-D PIO_FRAMEWORK_ARDUINO_LWIP2_HIGHER_BANDWIDTH
-D PIO_FRAMEWORK_ARDUINO_LWIP_HIGHER_BANDWIDTH
-Wl,-Teagle.flash.4m1m.ld ;;;; Required for core > v2.5.0 or staging version 4MB Flash 3MB SPIFFs
lib_ignore = AsyncTCP

[common:esp8266_1M]
platform = [email protected]
platform = ${common:esp8266.arduino_core_2_6_3}
build_flags =
-D PIO_FRAMEWORK_ARDUINO_LWIP2_HIGHER_BANDWIDTH_LOW_FLASH
-Wl,-Teagle.flash.1m0.ld ;;;; Compile with no SPIFFS to leave space for OTA
; -D WLED_DISABLE_MOBILE_UI
-D PIO_FRAMEWORK_ARDUINO_LWIP_HIGHER_BANDWIDTH
-Wl,-Teagle.flash.1m.ld ;;;; Compile with no SPIFFS to leave space for OTA
; -D WLED_DISABLE_OTA
; -D WLED_DISABLE_ALEXA
-D WLED_DISABLE_BLYNK
-D WLED_DISABLE_CRONIXIE
; -D WLED_DISABLE_HUESYNC
; -D WLED_DISABLE_INFRARED
-D WLED_DISABLE_INFRARED
lib_ignore = ${common:esp8266.lib_ignore}

[common:esp8266_512k]
platform = [email protected]
platform = ${common:esp8266.arduino_core_2_6_3}
build_flags =
-D PIO_FRAMEWORK_ARDUINO_LWIP2_HIGHER_BANDWIDTH_LOW_FLASH
-Wl,-Teagle.flash.512k0.ld ;;;; Compile with no SPIFFS
; -D WLED_DISABLE_MOBILE_UI
-D PIO_FRAMEWORK_ARDUINO_LWIP_HIGHER_BANDWIDTH
-Wl,-Teagle.flash.512k.ld ;;;; Compile with no SPIFFS
-D WLED_DISABLE_OTA
; -D WLED_DISABLE_ALEXA
-D WLED_DISABLE_BLYNK
Expand Down
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
A fast and feature-rich implementation of an ESP8266/ESP32 webserver to control NeoPixel (WS2812B, WS2811, SK6812, APA102) LEDs!

### Features:
- WS2812FX library integrated for almost 100 special effects
- WS2812FX library integrated for over 100 special effects
- FastLED noise effects and palettes
- Modern UI with color, effect and segment controls
- Segments to set different effects and colors to parts of the LEDs
Expand Down
4 changes: 2 additions & 2 deletions wled00/wled00.ino
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
//#define WLED_DISABLE_BLYNK //saves 6kb
//#define WLED_DISABLE_CRONIXIE //saves 3kb
//#define WLED_DISABLE_HUESYNC //saves 4kb
//#define WLED_DISABLE_INFRARED //there is no pin left for this on ESP8266-01, saves 25kb (!)
//#define WLED_DISABLE_INFRARED //there is no pin left for this on ESP8266-01, saves 12kb
#define WLED_ENABLE_MQTT //saves 12kb
#define WLED_ENABLE_ADALIGHT //saves 500b only

Expand Down Expand Up @@ -106,7 +106,7 @@
#endif

//version code in format yymmddb (b = daily build)
#define VERSION 2002192
#define VERSION 2002222

char versionString[] = "0.9.1";

Expand Down
1 change: 0 additions & 1 deletion wled00/wled19_json.ino
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,6 @@ void serializeInfo(JsonObject root)

root["brand"] = "WLED";
root["product"] = "DIY light";
root["btype"] = "src";
root["mac"] = escapedMac;
}

Expand Down

0 comments on commit 5d7e892

Please sign in to comment.