Allow platformio ini overrides

This commit is contained in:
zewelor 2020-02-24 16:42:24 +01:00
parent 7360b882ac
commit 0455c09e4c
3 changed files with 20 additions and 0 deletions

1
.gitignore vendored
View File

@ -5,3 +5,4 @@
!.vscode/extensions.json
/wled00/Release
/wled00/extLibs
/platformio_override.ini

View File

@ -6,6 +6,7 @@ src_dir = ./wled00
data_dir = ./wled00/data
;lib_extra_dirs = ./wled00/src
lib_dir = ./wled00/src
extra_configs = platformio_override.ini
; Please uncomment one of the 5 lines below to select your board
default_envs = nodemcuv2
; default_envs = esp01

View File

@ -0,0 +1,18 @@
; Example PlatformIO Project Configuration Override
; ------------------------------------------------------------------------------
; Copy to platformio_override.ini to activate overrides
; ------------------------------------------------------------------------------
; Please visit documentation: https://docs.platformio.org/page/projectconf.html
[env:esp8266_1m_custom]
platform = ${common:esp8266.arduino_core_2_6_3}
build_flags =
-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
lib_ignore = ${common:esp8266.lib_ignore}