mirror of
https://github.com/esphome/esphome.git
synced 2024-12-29 08:51:43 +01:00
fix
This commit is contained in:
parent
969f1abbb4
commit
a0d7f03dc4
2 changed files with 2 additions and 3 deletions
|
@ -37,7 +37,6 @@ from esphome.const import (
|
||||||
PLATFORM_BK72XX,
|
PLATFORM_BK72XX,
|
||||||
PLATFORM_ESP32,
|
PLATFORM_ESP32,
|
||||||
PLATFORM_ESP8266,
|
PLATFORM_ESP8266,
|
||||||
PLATFORM_NRF52,
|
|
||||||
PLATFORM_RP2040,
|
PLATFORM_RP2040,
|
||||||
PLATFORM_RTL87XX,
|
PLATFORM_RTL87XX,
|
||||||
)
|
)
|
||||||
|
@ -179,6 +178,7 @@ LoggerMessageTrigger = logger_ns.class_(
|
||||||
automation.Trigger.template(cg.int_, cg.const_char_ptr, cg.const_char_ptr),
|
automation.Trigger.template(cg.int_, cg.const_char_ptr, cg.const_char_ptr),
|
||||||
)
|
)
|
||||||
|
|
||||||
|
PLATFORM_NRF52 = 'nrf52'
|
||||||
CONF_ESP8266_STORE_LOG_STRINGS_IN_FLASH = "esp8266_store_log_strings_in_flash"
|
CONF_ESP8266_STORE_LOG_STRINGS_IN_FLASH = "esp8266_store_log_strings_in_flash"
|
||||||
CONFIG_SCHEMA = cv.All(
|
CONFIG_SCHEMA = cv.All(
|
||||||
cv.Schema(
|
cv.Schema(
|
||||||
|
|
|
@ -14,7 +14,6 @@ from esphome.const import (
|
||||||
KEY_CORE,
|
KEY_CORE,
|
||||||
KEY_TARGET_FRAMEWORK,
|
KEY_TARGET_FRAMEWORK,
|
||||||
KEY_TARGET_PLATFORM,
|
KEY_TARGET_PLATFORM,
|
||||||
PLATFORM_NRF52,
|
|
||||||
)
|
)
|
||||||
from esphome.core import CORE, coroutine_with_priority
|
from esphome.core import CORE, coroutine_with_priority
|
||||||
|
|
||||||
|
@ -26,7 +25,7 @@ from .gpio import nrf52_pin_to_code # noqa
|
||||||
|
|
||||||
CODEOWNERS = ["@tomaszduda23"]
|
CODEOWNERS = ["@tomaszduda23"]
|
||||||
AUTO_LOAD = ["zephyr"]
|
AUTO_LOAD = ["zephyr"]
|
||||||
|
PLATFORM_NRF52 = 'nrf52'
|
||||||
|
|
||||||
def set_core_data(config):
|
def set_core_data(config):
|
||||||
zephyr_set_core_data(config)
|
zephyr_set_core_data(config)
|
||||||
|
|
Loading…
Reference in a new issue