Skip to content

Commit

Permalink
Update Core 2.5.0 to build chain 2.0.4
Browse files Browse the repository at this point in the history
Update Core 2.5.0 to build chain 2.0.4
Set Compiler Option -O2 for Core 2.5.0 and Core Stage (Faster code) See esp8266/Arduino#5790 (comment)
  • Loading branch information
Jason2866 authored Mar 26, 2019
1 parent bf8845c commit f709ecf
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,11 @@ build_flags = ${esp82xx_defaults.build_flags}

[core_2_5_0]
; *** Esp8266 core for Arduino version 2.5.0
platform = [email protected].1
platform = espressif8266@~2.0.4
build_flags = ${esp82xx_defaults.build_flags}
-Wl,-Teagle.flash.1m.ld
; Code optimization see https://github.com/esp8266/Arduino/issues/5790#issuecomment-475672473
-O2
; lwIP 1.4 (Default)
; -DPIO_FRAMEWORK_ARDUINO_LWIP_HIGHER_BANDWIDTH
; lwIP 2 - Low Memory
Expand All @@ -89,6 +91,8 @@ build_flags = ${esp82xx_defaults.build_flags}
platform = https://github.com/platformio/platform-espressif8266.git#feature/stage
build_flags = ${esp82xx_defaults.build_flags}
-Wl,-Teagle.flash.1m.ld
; Code optimization see https://github.com/esp8266/Arduino/issues/5790#issuecomment-475672473
-O2
; nonos-sdk 22x
-DPIO_FRAMEWORK_ARDUINO_ESPRESSIF_SDK22x
; nonos-sdk-pre-v3
Expand Down

0 comments on commit f709ecf

Please sign in to comment.