mirror of
https://github.com/esphome/esphome.git
synced 2025-10-31 23:21:54 +00:00
idf only
This commit is contained in:
@@ -71,6 +71,7 @@ CONFIG_SCHEMA = cv.All(
|
||||
}
|
||||
).extend(cv.polling_component_schema("60s")),
|
||||
cv.has_at_most_one_key(CONF_PAGES, CONF_LAMBDA),
|
||||
cv.only_with_esp_idf, # When trying to add library via platformio it breaks, using as an idf component works fine
|
||||
)
|
||||
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
#include "esphome/core/application.h"
|
||||
|
||||
#ifdef USE_ESP32
|
||||
#ifdef USE_ESP_IDF
|
||||
|
||||
#include "esphome/core/log.h"
|
||||
|
||||
@@ -73,4 +73,4 @@ void HOT EPDiyDisplay::draw_pixel_at(int x, int y, Color color) {
|
||||
|
||||
} // namespace esphome::epdiy
|
||||
|
||||
#endif // USE_ESP32
|
||||
#endif // USE_ESP_IDF
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#pragma once
|
||||
|
||||
#ifdef USE_ESP32
|
||||
#ifdef USE_ESP_IDF
|
||||
|
||||
#include "esphome/core/component.h"
|
||||
|
||||
@@ -60,4 +60,4 @@ class EPDiyDisplay : public display::Display {
|
||||
|
||||
} // namespace esphome::epdiy
|
||||
|
||||
#endif // USE_ESP32
|
||||
#endif // USE_ESP_IDF
|
||||
|
||||
Reference in New Issue
Block a user