Skip to content

Commit

Permalink
Add core version 2.5.2
Browse files Browse the repository at this point in the history
  • Loading branch information
OttoWinter committed May 26, 2019
1 parent d8963ea commit 510e53d
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion esphome/components/pulse_width/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

CONFIG_SCHEMA = sensor.sensor_schema(UNIT_SECOND, ICON_TIMER, 3).extend({
cv.GenerateID(): cv.declare_id(PulseWidthSensor),
cv.Required(CONF_PIN): cv.All(pins.internal_gpio_input_pullup_pin_schema,
cv.Required(CONF_PIN): cv.All(pins.internal_gpio_input_pin_schema,
pins.validate_has_interrupt),
}).extend(cv.polling_component_schema('60s'))

Expand Down
1 change: 1 addition & 0 deletions esphome/components/status/status_binary_sensor.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#include "status_binary_sensor.h"
#include "esphome/core/log.h"
#include "esphome/core/util.h"
#include "esphome/core/defines.h"

#ifdef USE_MQTT
#include "esphome/components/mqtt/mqtt_client.h"
Expand Down
1 change: 1 addition & 0 deletions esphome/const.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'}
Expand Down
5 changes: 3 additions & 2 deletions esphome/core_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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]',
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit 510e53d

Please sign in to comment.