Use new platformio ldscript syntax

This commit is contained in:
zewelor 2020-02-25 08:42:28 +01:00
parent 755448f9f5
commit 143179cac9

View File

@ -88,33 +88,33 @@ platform = ${common:esp8266.arduino_core_2_6_3}
build_flags =
-D ESP8266
-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
board_build.ldscript = eagle.flash.4m1m.ld ;;;; Required for core > v2.5.0 or staging version 4MB Flash 3MB SPIFFs
lib_ignore = AsyncTCP
[common:esp8266_1M]
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
board_build.ldscript = eagle.flash.1m.ld ;;;; Compile with no SPIFFS to leave space for OTA
lib_ignore = ${common:esp8266.lib_ignore}
[common:esp8266_512k]
platform = ${common:esp8266.arduino_core_2_6_3}
build_flags =
-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
-D WLED_DISABLE_CRONIXIE
-D WLED_DISABLE_HUESYNC
-D WLED_DISABLE_INFRARED
board_build.ldscript = eagle.flash.512k.ld ;;;; Compile with no SPIFFS
lib_ignore = ${common:esp8266.lib_ignore}
[common:esp32]
@ -136,6 +136,7 @@ framework = ${common.framework}
build_flags =
${common.build_flags}
${common:esp8266.build_flags}
board_build.ldscript = ${common:esp8266.board_build.ldscript}
lib_deps =
${common.lib_deps_external}
lib_compat_mode = strict
@ -150,6 +151,7 @@ framework = ${common.framework}
build_flags =
${common.build_flags}
${common:esp8266.build_flags}
board_build.ldscript = ${common:esp8266.board_build.ldscript}
lib_deps =
${common.lib_deps_external}
lib_compat_mode = strict
@ -166,6 +168,7 @@ build_flags =
${common:esp8266_1M.build_flags}
# disable IR because there is no pin for it
-D WLED_DISABLE_INFRARED
board_build.ldscript = ${common:esp8266_1M.board_build.ldscript}
lib_deps =
${common.lib_deps_external}
lib_compat_mode = strict
@ -180,6 +183,7 @@ framework = ${common.framework}
build_flags =
${common.build_flags}
${common:esp8266_512k.build_flags}
board_build.ldscript = ${common:esp8266_512k.board_build.ldscript}
lib_deps =
${common.lib_deps_external}
lib_compat_mode = strict
@ -194,6 +198,7 @@ framework = ${common.framework}
build_flags =
${common.build_flags}
${common:esp8266.build_flags}
board_build.ldscript = ${common:esp8266.board_build.ldscript}
lib_deps =
${common.lib_deps_external}
lib_compat_mode = strict
@ -225,6 +230,7 @@ build_flags =
${common:esp8266_1M.build_flags}
-D WLED_DISABLE_HUESYNC
-D WLED_USE_ANALOG_LEDS
board_build.ldscript = ${common:esp8266_1M.board_build.ldscript}
lib_deps =
${common.lib_deps_external}
lib_compat_mode = strict
@ -242,6 +248,7 @@ build_flags =
-D WLED_DISABLE_HUESYNC
-D WLED_USE_ANALOG_LEDS
-D WLED_USE_H801
board_build.ldscript = ${common:esp8266_1M.board_build.ldscript}
lib_deps =
${common.lib_deps_external}
lib_compat_mode = strict
@ -260,6 +267,7 @@ build_flags =
-D WLED_USE_ANALOG_LEDS
-D WLED_USE_H801
-D WLED_ENABLE_5CH_LEDS
board_build.ldscript = ${common:esp8266_1M.board_build.ldscript}
lib_deps =
${common.lib_deps_external}
lib_compat_mode = strict