-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update Core 2.5.0 to build chain 2.0.4
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
Showing
1 changed file
with
5 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
@@ -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 | ||
|