Merge pull request #719 from zewelor/use_new_platformio_ldscript_syntax

Use new platformio ldscript syntax
This commit is contained in:
Aircoookie 2020-02-25 09:00:09 +01:00 committed by GitHub
commit 5473b3e42e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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