This commit is contained in:
Tomasz Duda 2024-10-16 20:04:47 +02:00
parent 969f1abbb4
commit a0d7f03dc4
2 changed files with 2 additions and 3 deletions

View file

@ -37,7 +37,6 @@ from esphome.const import (
PLATFORM_BK72XX,
PLATFORM_ESP32,
PLATFORM_ESP8266,
PLATFORM_NRF52,
PLATFORM_RP2040,
PLATFORM_RTL87XX,
)
@ -179,6 +178,7 @@ LoggerMessageTrigger = logger_ns.class_(
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"
CONFIG_SCHEMA = cv.All(
cv.Schema(

View file

@ -14,7 +14,6 @@ from esphome.const import (
KEY_CORE,
KEY_TARGET_FRAMEWORK,
KEY_TARGET_PLATFORM,
PLATFORM_NRF52,
)
from esphome.core import CORE, coroutine_with_priority
@ -26,7 +25,7 @@ from .gpio import nrf52_pin_to_code # noqa
CODEOWNERS = ["@tomaszduda23"]
AUTO_LOAD = ["zephyr"]
PLATFORM_NRF52 = 'nrf52'
def set_core_data(config):
zephyr_set_core_data(config)