forked from esphome/esphome
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d8963ea
commit 510e53d
Showing
4 changed files
with
6 additions
and
3 deletions.
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
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
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 |
---|---|---|
|
@@ -19,6 +19,7 @@ | |
'/stage' | ||
ARDUINO_VERSION_ESP8266_2_5_0 = '[email protected]' | ||
ARDUINO_VERSION_ESP8266_2_5_1 = '[email protected]' | ||
ARDUINO_VERSION_ESP8266_2_5_2 = '[email protected]' | ||
ARDUINO_VERSION_ESP8266_2_3_0 = '[email protected]' | ||
SOURCE_FILE_EXTENSIONS = {'.cpp', '.hpp', '.h', '.c', '.tcc', '.ino'} | ||
HEADER_FILE_EXTENSIONS = {'.h', '.hpp', '.tcc'} | ||
|
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 |
---|---|---|
|
@@ -11,7 +11,7 @@ | |
CONF_NAME, CONF_ON_BOOT, CONF_ON_LOOP, CONF_ON_SHUTDOWN, CONF_PLATFORM, \ | ||
CONF_PLATFORMIO_OPTIONS, CONF_PRIORITY, CONF_TRIGGER_ID, \ | ||
CONF_ESP8266_RESTORE_FROM_FLASH, __version__, ARDUINO_VERSION_ESP8266_2_3_0, \ | ||
ARDUINO_VERSION_ESP8266_2_5_0, ARDUINO_VERSION_ESP8266_2_5_1 | ||
ARDUINO_VERSION_ESP8266_2_5_0, ARDUINO_VERSION_ESP8266_2_5_1, ARDUINO_VERSION_ESP8266_2_5_2 | ||
from esphome.core import CORE, coroutine_with_priority | ||
from esphome.pins import ESP8266_FLASH_SIZES, ESP8266_LD_SCRIPTS | ||
|
||
|
@@ -44,6 +44,7 @@ def validate_board(value): | |
validate_platform = cv.one_of('ESP32', 'ESP8266', upper=True) | ||
|
||
PLATFORMIO_ESP8266_LUT = { | ||
'2.5.2': '[email protected]', | ||
'2.5.1': '[email protected]', | ||
'2.5.0': '[email protected]', | ||
'2.4.2': '[email protected]', | ||
|
@@ -193,7 +194,7 @@ def to_code(config): | |
'[email protected]'): | ||
ld_script = ld_scripts[0] | ||
elif CORE.arduino_version in (ARDUINO_VERSION_ESP8266_DEV, ARDUINO_VERSION_ESP8266_2_5_0, | ||
ARDUINO_VERSION_ESP8266_2_5_1): | ||
ARDUINO_VERSION_ESP8266_2_5_1, ARDUINO_VERSION_ESP8266_2_5_2): | ||
ld_script = ld_scripts[1] | ||
|
||
if ld_script is not None: | ||
|