1
0
mirror of https://github.com/esphome/esphome.git synced 2025-06-15 06:46:59 +02:00

[inkplate] Remove arduino dependency (#9031)

This commit is contained in:
Jesse Hills 2025-06-11 12:01:11 +12:00 committed by GitHub
parent 63882c4a74
commit 84e57b8136
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 2 additions and 10 deletions

View File

@ -117,7 +117,6 @@ CONFIG_SCHEMA = cv.All(
.extend(cv.polling_component_schema("5s"))
.extend(i2c.i2c_device_schema(0x48)),
cv.has_at_most_one_key(CONF_PAGES, CONF_LAMBDA),
cv.only_with_arduino,
)

View File

@ -3,9 +3,7 @@
#include "esphome/core/helpers.h"
#include "esphome/core/log.h"
#ifdef USE_ESP32_FRAMEWORK_ARDUINO
#include <esp32-hal-gpio.h>
#include <hal/gpio_hal.h>
namespace esphome {
namespace inkplate6 {
@ -723,5 +721,3 @@ void Inkplate6::pins_as_outputs_() {
} // namespace inkplate6
} // namespace esphome
#endif // USE_ESP32_FRAMEWORK_ARDUINO

View File

@ -5,8 +5,6 @@
#include "esphome/core/component.h"
#include "esphome/core/hal.h"
#ifdef USE_ESP32_FRAMEWORK_ARDUINO
namespace esphome {
namespace inkplate6 {
@ -254,5 +252,3 @@ class Inkplate6 : public display::DisplayBuffer, public i2c::I2CDevice {
} // namespace inkplate6
} // namespace esphome
#endif // USE_ESP32_FRAMEWORK_ARDUINO

View File

@ -0,0 +1 @@
<<: !include common.yaml